The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
an if condition
Alright I am working on this navbar issue I seem to be having. I have vbpages that I really do not what my navbar links to show because some of them just don't make sense having on every page IMO. So I wanted to create an If statement that if they are viewing the forum get see this one navbar and if they are viewing another part of the site they will see another navbar..
anyone have any ideas? |
#2
|
||||
|
||||
you'll need to define the pages i suggest
PHP Code:
HTML Code:
<if conditon="WHAT_NAV == forums">normal nav<else />other nav</if> |
#3
|
||||
|
||||
just this:
<if condition="THIS_SCRIPT=='showthread' ">whatever</if> showthread means viewing showthread.php, same for the others e.g forumdisplay when view a list of threads, member when viewing public profile of a user... |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|