Log in

View Full Version : if user != in a template?


cashpath
05-02-2005, 12:19 AM
quick question

1. what would be the code to hide (not show) something in a template to a certain;

a. Userid
b. Usergroup
c. IP address?

Thank you in advance.

Zachery
05-02-2005, 12:38 AM
quick question

1. what would be the code to hide (not show) something in a template to a certain;

a. Userid
b. Usergroup
c. IP address?


Thank you in advance.
<if condition="$bbuserinfo[userid] != X">only the users who are not in X will see</if>
<if condition="$bbuserinfo[usergroupid] != X">Any user not in the group of X</if>

Not sure about IP address