The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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!
|
![]() |
|
|