View Full Version : Display Text In Forum Description To Certain Groups
MalakaiGonzalez
09-25-2009, 04:55 PM
Is there a way to display text in the forum description only to a certain group. I've tried using a conditional, but it don't seem to work. This is what i tried:
<if condition="$bbuserinfo[userid] == 2">To gain full access to the site you must make a Intro Thread here!
</if>
Any ideas?
Lynne
09-25-2009, 04:59 PM
That condition will only show stuff to userid 2 - so to one person. I think you want to use is_member_of:
<if condition="is_member_of($bbuserinfo, 5, 6, 7)">
stuff
</if>
MalakaiGonzalez
09-25-2009, 05:25 PM
Thanks but, it still shows for everyone, i've used this:
<if condition="is_member_of($bbuserinfo, 1, 2)">
To gain full access to the site you must make a Intro Thread here!
</if>
</if>
To make it only show for, Unregistered / Not Logged In (userid 1), No Intro Group (userid 2).
Lynne
09-25-2009, 07:16 PM
Where are you putting that code? And why do you have two </if> after it?
MalakaiGonzalez
09-25-2009, 07:39 PM
I want to put it in the forum description, and that was just a typo, i only had 1 </if> in the box for the forum description.
It just still shows to everyone.
Lynne
09-25-2009, 09:04 PM
You mean the forum description box in the Forum Manager? You can't put conditions in there. It will only take valid html.
MalakaiGonzalez
09-25-2009, 10:12 PM
Yea the forum description box, yea i thort you must not be able to put it there...
Thanks anyway.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.