The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Else If in templates
I'm trying to show only banned rank when someone is banned, i don't know what the coding is for the templates, my friend told me is was XML but i'm not sure.
Code:
<if condition="is_member_of($post, 8)"> <img src="images/ranks/banned.gif" </else> $post[rank] <if condition="is_member_of($post, 10)"> <img src="images/ranks/secondrank.gif"> </if> </if> |
#2
|
||||
|
||||
Quote:
|
#3
|
|||
|
|||
yeh that's just a mistake, when i do this it just makes the rank field blank
|
#4
|
||||
|
||||
Quote:
|
#5
|
|||
|
|||
Postbit, were the ranks are.
I also have another problem, it some people are in a primary group that have a if statment for and it shows the rank image twice, how could i stop this? |
#6
|
||||
|
||||
I think the else tag should be <else /> not </else>
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|