View Full Version : Add Template entries only guests can see
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.