![]() |
if condition based on usergroup
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 |
Code:
<if condition="is_member_of($vbulletin->userinfo, 5, 6, 7, 18)"> |
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 |
Quote:
Quote:
It doesn`t work, what I am doing wrong? |
perhaps this part needs a look.. maybe the url.
images/icons/crew.gif |
Nevermind my conditional was wrong. It works for me.
|
All times are GMT. The time now is 09:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|