<if condition="THIS_SCRIPT == 'index'">
On forum index page
</if>
The above code works great... but what if I need to know when a user is currently located on the "/index.php" page instead of the "/forum/index.php " page? Or maybe even the "/gallery/index.php" page? Basically pages that are not part of vBulletin but may use vBulletin navigation templates.
Also is it possible to print the output of THIS_SCRIPT to the browser? I tried $THIS_SCRIPT but that didn't seem to work.
Thanks for your time!
On forum index page
</if>
The above code works great... but what if I need to know when a user is currently located on the "/index.php" page instead of the "/forum/index.php " page? Or maybe even the "/gallery/index.php" page? Basically pages that are not part of vBulletin but may use vBulletin navigation templates.
Also is it possible to print the output of THIS_SCRIPT to the browser? I tried $THIS_SCRIPT but that didn't seem to work.
Thanks for your time!
Comment