The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
IF - the line of my life ;)
In a template do you know how to get an if that will do that:
if $totalchatters > 0 if i type that in it just says i have dodgy code in my template.... basically i need an if that activates when the value of $totalchatters is more than 0 Any Ideas? Regards, Nick. |
#2
|
||||
|
||||
Code:
<if condition="$totalchatters>0"> |
#3
|
|||
|
|||
hmm thats what i typed in first xD
|
#4
|
||||
|
||||
It only works if the variable is in scope for the template.
|
#5
|
|||
|
|||
which it is lol
|
#6
|
|||
|
|||
Have you tried using:
<if condition="$totalchatters != 0"> If so and it doesn't work either, try posting the information here for the coding and let's see what we can do about it . |
#7
|
|||
|
|||
no,no, i it works it's just i swear i typed that one in......
maybe i out a space in it.. |
#8
|
||||
|
||||
$totalchatters sounds familiar, working on a flashchat mod by any chance
|
#9
|
|||
|
|||
how did you guess
It just adds a box at the top if there are any people in the chatroom |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|