Mickie D
02-03-2013, 09:57 AM
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
<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>
Thank you very much
--------------- Added 1359891989 at 1359891989 ---------------
I worked this out :)
<vb:if condition="is_member_of($post,82)">
CODE HERE FOR WHATEVER
</vb:if>
This will do the trick :) in vb4
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
<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>
Thank you very much
--------------- Added 1359891989 at 1359891989 ---------------
I worked this out :)
<vb:if condition="is_member_of($post,82)">
CODE HERE FOR WHATEVER
</vb:if>
This will do the trick :) in vb4