PDA

View Full Version : what would be the conditional.....


drives fast
07-02-2003, 06:56 PM
to display information in the userinfo area of the postbit by usergroup?

I tried this:
<if condition="$usergroup == 9">bla bla bla</if>
but it didn't display anything.

what did I do wrong?

I am trying to understand the conditionals

thanks for any help

Brad
07-02-2003, 10:09 PM
Use this:


<if condition="$bbuserinfo[usergroupid]==9">blah</if>

drives fast
07-03-2003, 04:23 AM
that worked but a strange thing.

if you are not in usergroup 9 you don't see the word blah

Myself as an admin do not see the text but if I login as a member in usergroup 9, I can see it.

is it possible to get it to display for everyone and not just the members in that usergroup?

drives fast
07-03-2003, 04:24 AM
ah-ha....if you make it
<if condition="$post[usergroupid]==9">blah</if>
it works correctly

thank you for your help