The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How can I build a PHP If/Then to determine the page it's looking at.
So basically... if the page is search.php then do some stuff. How would I build this if/then? Thanks! Would I do something like: if $_SERVER["PHP_SELF"] = "search.php" { ? or maybe it would be better to do a <if condition="search"> is that possible? |
|
#2
|
||||
|
||||
|
if (THIS_SCRIPT == 'search')
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|