![]() |
Having trouble with a conditional
I made a quick conditional for Currently Active Users so that only Admins and Supermods would be able to click on the words Currently Active Users to go to Who's Online. The thing is though, when I try to save it, its giving me a parse error saying unexpected < on line 29. Heres the conditional in question:
Code:
<if condition="is_member_of($vbulletin->userinfo,6) OR is_member_of($vbulletin->userinfo,5)><a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a><else />$vbphrase[currently_active_users]</if> EDIT: Well I feel stupid. I was missing a closing " on my conditional. :( |
seems like this would be more fitting
Code:
<if condition="$bbuserinfo[usergroupid] == 6" OR "$bbuserinfo[usergroupid] == 5" ......> |
Quote:
Code:
$bbuserinfo[usergroupid] |
cool.
i will use yours when making conditionals :D |
All times are GMT. The time now is 03:55 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:
|