MyBB Community Forums

Full Version: Search Query
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey,

im making a plugin which will enter the search query in the title and various other places on the page, but i have one problem:

I dont know how to get the entered query.

For example, in the results page, which variable contains the user input?

such as:
<title>Hello! - Searching for $variable</title>

Edit:
nevermind, i sent the query as a GET variable and got it that way