![]() |
conditionals help
Hi,
How can I write an "if" statement with two conditions in vbulletin. Like this Quote:
Hope you understand :) Thanks for reading! |
What plugin location are you using? And are you talking about the user viewing the page or the users who's page you are viewing (or post you are looking at)?
|
I wanted to disable sidebars on the forum index only if you are a subscriber and have turned them off in your user cp, but I managed to figure out how to do it
Code:
<if condition="!is_member_of($vbulletin->userinfo,17) || $post['field34']"> |
I don't think $post[fieldx] is gonna work on the forum home page and $vbulletin->userinfo should only be used in php.. I think it needs to be:
HTML Code:
<if condition="!is_member_of($bbuserinfo,17) || $bbuserinfo |
I cant get it to work, when using that its enabled anyway
|
All times are GMT. The time now is 12:00 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:
|