Log in

View Full Version : Add Template entries only guests can see


Mb81
06-28-2007, 04:07 PM
Well, how to add a entry in a template which only a non-logined User can see ? Thanks alot.

ssslippy
06-29-2007, 02:27 AM
You can use <if condition="is_member_of($bbuserinfo, X)"></if>
where X is equal the UserGroup ID of guests.

Dismounted
06-29-2007, 05:56 AM
<if condition="is_member_of($vbulletin->userinfo, 1)">CODE</if>
<if condition="$vbulletin->userinfo['userid'] == 0">CODE</if>
Both would work.