The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Hide links from other usergroups
Ok, so I've searched around for the whole day and can't seem to find anything.
Basically, I have a couple links in my forumhome, and I want to make it so that I can control who can see it based on their usergroup. Code:
<if condition="is_member_of($vbulletin->userinfo, 6)"> <li><a href="/forum/forumdisplay.php?f=23">Trading</a></li> </if> I also found another one that didnt work. Basically, I want a code that says (using PHP to give an example).. Code:
if ($usergroup == "1") { echo "LINK"; } Thanks. |
#2
|
||||
|
||||
Code:
<if condition="is_member_of($bbuserinfo, 1)">LINK</if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|