The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
hey .
i am a little bit new to this with php.. but i have a link in my navbar that goes to a newssite where i can add articles.. i only want thos link to be vissible to s administrators.. how should i doe to code to achive that.. i tried with <if condition"$show=['usergroupid6']"> but that didn´t work |
|
#2
|
||||
|
||||
|
Try enclosing your link code with this:
Code:
<if condition="is_member_of($bbuserinfo, 6)">###YOUR LINK CODE HERE ###</if> |
|
#3
|
|||
|
|||
|
thanks.. that made the trick..
|
|
#4
|
||||
|
||||
|
No worries, glad it worked
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|