The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
What's the proper IF code to not show the following...
A plugin installed a NAVbar link that shows up in the login page and I would just as soon wrap that in an "IF" code (or something) so it only shows once the user is logged in...
Or if it's not an IF code and something else, can someone help with that?... Again, I just need to edit the plugin's NAV template to not show to NON logged in users.... THNX ahead of time.... This place is great BTW and I am learning a lot!! |
#2
|
|||
|
|||
A guest has a userid of 0, so you should be able to do something like:
Code:
<if condition="$bbuserinfo['userid'] != 0"> link code here </if> |
#3
|
|||
|
|||
Code:
<if condition="$show['member']"> Code </if> |
#4
|
|||
|
|||
THNX guys... that's awesome!!! will come in handy for sure in other situations also I'm sure
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|