Log in

View Full Version : How to hide images from guests.


Khan_
04-08-2010, 10:49 AM
hi ,

I have some flash banners/images on header template and i want to hide it from guests ..so that they dont see the banners/images untill they logged in to forum . is there any html code or something to hide it from guests viewing . those banners are for site upcoming events and i want it only to be visible to logged in users not to guests .

Thanks.

Kaasie
04-15-2010, 01:17 AM
<if condition="is_member_of($bbuserinfo, 1, 3, 4, 8)">

<else>

Your htmlcode here
</if>


this disallows unregistered, awaiting email, banned and under moderation to view anything that you put between <else> and </if>


good luck

Khan_
04-17-2010, 01:08 AM
<if condition="is_member_of($bbuserinfo, 1, 3, 4, 8)">

<else>

Your htmlcode here
</if>


this disallows unregistered, awaiting email, banned and under moderation to view anything that you put between <else> and </if>


good luck

Thanks kaasie i will try with the given code .