![]() |
IF conditional concatenation help
Hi all, i'm trying to write an if condition to show an item to all usergroups except one but onlly in certain foorums, is this how it's done?
HTML Code:
<if condition="!is_member_of($bbuserinfo, X)"AND if condition="in_array($forumid, array(X,Y,Z))"> |
Almost, try this:
Code:
<if condition="!is_member_of($bbuserinfo, X) AND in_array($forumid, array(X,Y,Z))"> |
Thanks for your reply, i tried that (and my version) and i still cannot get the link im trying to show in the postbit!
Here's what i have HTML Code:
<if condition="!is_member_of($bbuserinfo, 1) AND in_array($forumid, array(13,65,66,67,68,69,54,95))"> |
try $post[forumid] in place of $forumid
|
Thanks for that too
HTML Code:
<if condition="!is_member_of($bbuserinfo, 1) AND in_array($post[forumid], array(13,65,66,67,68,69,54,95))"> |
Ok try this (i have tested, its working fine)
PHP Code:
|
Yep that was it, thanks :)
|
All times are GMT. The time now is 03:56 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:
|