Log in

View Full Version : Hide div's to certain usergroups


Kanustep
04-07-2008, 02:40 AM
Hello,

I would like help to do this: All registred members on my board don't see banner ads, except guest and non-activate users.

How do I do this?

Thank you for you help in advance.

MoT3rror
04-07-2008, 02:57 AM
You can use template conditions like this

<if condition="is_member_of($bbuserinfo, 2, 1)">
ad code goes here
</if>

Change the 2 and 1 to the usergroup ids that you want to see the ads.

Kanustep
04-07-2008, 03:07 AM
Thank you for you help, I was using the wrong variable.

BTW, how do you did your ajax slider? Is there any mod like that? Is very interesting, I'm looking for something similar to my board.

MoT3rror
04-07-2008, 08:49 PM
<a href="http://smoothgallery.jondesign.net/" target="_blank">http://smoothgallery.jondesign.net/</a>

I just coded this into the system, there is no mod for it. I think.

Kanustep
04-07-2008, 10:05 PM
Thank you MoT3error.

Let me know your answer to my pm. Regards.