The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
whats the code to show only 1 userid the moderator column? like <if condition="$show['member']"></if>
but i want it for admins? or just 1 userid? how would i code this? -_- |
|
#2
|
|||
|
|||
|
<if condition="$userinfo['userid'] == 1"></if>
1 would be userid 1 |
|
#3
|
|||
|
|||
|
alrighty just what i needed =) so, if i wanted to show more then one user id would it be
<if condition="$userinfo['userid'] == 1,2"></if> ? |
|
#4
|
||||
|
||||
|
Code:
<if condition="in_array($userinfo['userid'], array(1, 2))"> |
|
#5
|
|||
|
|||
|
thx dismounted =)
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|