The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
You can test this for yourself. Put the following code at the top of both your header template and your navbar template, and then log out:
Code:
<if condition="$show['member']">
<table border=1><tr><td><font color=red>LOGGED IN</table>
<else />
<table border=1><tr><td><font color=blue>LOGGED OUT</table>
</if>
|
|
#2
|
||||
|
||||
|
Try:
Code:
<if condition="$show['guest']">
<table border="1">
<tr>
<td><font color="blue">LOGGED OUT</td>
</tr>
</table>
<else />
<table border="1">
<tr>
<td><font color="red">LOGGED IN</td>
</tr>
</table>
</if>
|
|
#3
|
|||
|
|||
|
Thanks very much for this code example. It pointed me in the right direction to solve a menu problem I have been having.
Thanks a lot, mikesz |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|