The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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:
Code:
<if condition="$bbuserinfo[userid] == 2">To gain full access to the site you must make a Intro Thread here! </if> |
#2
|
||||
|
||||
![]()
That condition will only show stuff to userid 2 - so to one person. I think you want to use is_member_of:
HTML Code:
<if condition="is_member_of($bbuserinfo, 5, 6, 7)"> stuff </if> |
#3
|
|||
|
|||
![]()
Thanks but, it still shows for everyone, i've used this:
Code:
<if condition="is_member_of($bbuserinfo, 1, 2)"> To gain full access to the site you must make a Intro Thread here! </if> </if> |
#4
|
||||
|
||||
![]()
Where are you putting that code? And why do you have two </if> after it?
|
#5
|
|||
|
|||
![]()
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. |
#6
|
||||
|
||||
![]()
You mean the forum description box in the Forum Manager? You can't put conditions in there. It will only take valid html.
|
#7
|
|||
|
|||
![]()
Yea the forum description box, yea i thort you must not be able to put it there...
Thanks anyway. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|