The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Simple If and Else functions, How do I do?
Hello, I am new in vbulletin community, so I have one small problem. I made something and I want that my forum guests when they enter one side see one thing and members and all other other thing.
Usuall in other script I use option if and else. But it seems that here that don't work. anybody have idea how i made this? So here is code for guests Code:
<if condition="$show['guest']"> <!-- guest welcome message --> GUEST OPTION <!-- / guest welcome message --> </if> Code:
<if condition="$show['loggedinusers']"> <!-- logged-in users --> OPTION MEMBERS <!-- end logged-in users --> </if> Thanx |
#2
|
||||
|
||||
Code:
<if condition="$show['guest']"> GUESTS STUFF <else /> MEMBERS STUFF </if> |
#3
|
|||
|
|||
Quote:
I will try that now. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|