The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Can't use php echo $_GET in template. Need help
I need to add a code like
PHP Code:
And also when I put into search script to automatically write the word in the search form PHP Code:
Is there some vb function that strip this code? |
#2
|
||||
|
||||
You cannot add php to templates. You must put your php code into a plugin and then enter the results into the template. However, you should be able to just use the variable in the template. Try something like just {vb:raw $_GET['q']}
|
#3
|
||||
|
||||
Thanks, it works!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|