Log in

View Full Version : Limiting View


Bradley_Wint
02-19-2008, 11:01 AM
Hi folks,
I was installing an advert code on my site but I want to make it so a certain group (say the group id was 9) would not see it. Is it possible to wrap the code around some kind of conditional code to turn it off when that particular group of members browse?

e.g.
if group=9
dont show adcode
<adcode>

I dont want to use the ad management mod btw.

wally
02-19-2008, 11:36 AM
<if condition="!is_member_of($vbulletin->userinfo, X)">
your adcode
</if>

X= usergroup id

Bradley_Wint
02-19-2008, 11:38 AM
<if condition="!is_member_of($vbulletin->userinfo, X)">
your adcode
</if>

X= usergroup id
thanks a lot mate. cheers.