The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with conditional
Hi all,
I am trying to get a conditional I used in VB3 to work on VB4, I think I have done it correctly? It does not show up on the forums?, for a member that is subscribed? Basically what this does is put a small image in users post letting people know they are a subscribed member based on the usergroup 82 (its a secondary usergroup - not sure if that makes a difference). Template is postbit_legacy Code:
<vb:if condition="$show['member']"> <vb:if condition="$post[usergroupid]==82"> <div align"center"><a href="http://www.digitalworldz.co.uk/payments.php" alt="Subscribed Member"><img src="http://www.digitalworldz.co.uk/subscribed.png" alt="Subscribed Member" /></a></div> </vb:if> </vb:if> --------------- Added [DATE]1359891989[/DATE] at [TIME]1359891989[/TIME] --------------- I worked this out Code:
<vb:if condition="is_member_of($post,82)"> CODE HERE FOR WHATEVER </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|