The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
[SOLVED] help : if conditional - Syntax error when saveing template [SOLVED]
Got a registered var, i get and want to check with if statment
to weither to show report link or not.. Howewer when trying to save this, i get unexspected , or unclosed tag.. so if the statment is 3 then no link is shown, how ewer any other value will show the link. Code:
<vb:if condition="({vb:raw moderated}, 3)"> <vb:else /> <a class="botton" href="EIG.php?do=reportgallery&galid={vb:raw userid}"> Report offensive gallery(NEED PHRASE) </a> </vb:if> condition=({vb:raw moderated}, 3)> didnt save at all. EDIT + UPDATE : after re-reading this article -> https://vborg.vbsupport.ru/showthrea...ht=conditional I then tryed another cconditional Code:
<vb:if condition="{vb:raw moderated} == 3"> <vb:else /> <a class="botton" href="EIG.php?do=reportgallery&galid={vb:raw userid}"> Report offensive gallery </a> </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|