The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
im trying to do an <if condition based on user group but im a bit unsure as to the coding im new at this
anyways this is what im thinking <if condition="$usergroup['5'] OR ['6'] OR ['7'] OR ['18']"> i want those usergroups to have permission to do something |
|
#2
|
||||
|
||||
|
Code:
<if condition="is_member_of($vbulletin->userinfo, 5, 6, 7, 18)"> |
|
#3
|
||||
|
||||
|
thanks, another question, whats the code to pull up someones username, i tried this but it instead gives me their ID number
u=$post[userid] nevermind i got it |
|
#4
|
|||
|
|||
|
Quote:
Quote:
It doesn`t work, what I am doing wrong? |
|
#5
|
||||
|
||||
|
perhaps this part needs a look.. maybe the url.
images/icons/crew.gif |
|
#6
|
|||
|
|||
|
Nevermind my conditional was wrong. It works for me.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|