How do I do it?
This is a discussion on Adsense only visible for guests within the Ad Networks forums, part of the Monetizing category; How do I do it?...
How do I do it?
Wrap it in an if condition.
Be sure to put the usergroup ID that you want in where I've put USERGROUP ID HERE.HTML Code:<if condition="in_array($bbuserinfo[usergroupid], array(USERGROUP ID HERE))"> adsense code </if>
thanks for the code, helpful!
This would be a great way to give supporting members of a forum a nice thank you. Could you set it up so only certain membergroups don't see the code though.
It may be best to not listen to anything I say for advice. :spin:
yes, just put that groupid in the array and negate it with !=
so lets say if i want user group 3 and 4 to not see the ads I would put "!=4, !=5"
It may be best to not listen to anything I say for advice. :spin:
<if condition!="in_array($bbuserinfo[usergroupid], array(4,5))">
adsense code
</if>
Thank you!
It may be best to not listen to anything I say for advice. :spin: