PDA

View Full Version : Hiding a link for a specific usergroup


Speedy2000
10-18-2007, 08:59 AM
I've made a link to Paid Subscriptions on my forum. Here's the code:
<a href="http://techlifeforums.com/payments.php">Upgrade</a>
But I want to hide this link for the usergroups 3, 4, 6 and 10. How can I do this?

Dismounted
10-18-2007, 10:18 AM
<if condition="!is_member_of($vbulletin->userinfo, 3, 4, 6, 10)"><a href="http://techlifeforums.com/payments.php">Upgrade</a></if>

Speedy2000
10-18-2007, 11:03 AM
Thanks, it works :)