Log in

View Full Version : guests and members see different styles


SouthernTn
02-14-2006, 06:49 AM
im looking to make my members see less ads, but guests see more ads..

How can I set Guests and Registered Users on different style sets??

thanks

Hellcat
02-14-2006, 07:12 AM
If it doesn't have to be different styles and it's only about the ads, you can use conditionals in the templates of the spots where you want to show ads.

I use this on my own board.
The ads are not shown for members of certain usergroups.

This is what I put into my templates:
<if condition="!is_member_of($bbuserinfo, 6) AND !is_member_of($bbuserinfo, 5) AND !is_member_of($bbuserinfo, 7) AND !is_member_of($bbuserinfo, 10)">
(ads code here)
</if>
The above EXCLUDES (hides) the ads for the usergroups 6, 5, 7 and 10.

SouthernTn
02-14-2006, 07:14 AM
thanks, but I really need it to be on a different style.. The style will be switching around a bit, and a couple of tables added.. Can you still help with coding on that?

Much appreciated, ive been looking around for this, for a while now

Hellcat
02-14-2006, 07:23 AM
Maybe this (https://vborg.vbsupport.ru/showthread.php?t=107400) may help you....

SouthernTn
02-14-2006, 07:26 AM
should work.. just got to modify it a bit so that the Not Logged In usergroup see a certain style.. thanks