2008-09-18, 01:48 PM
I am trying to place adsense code in my sig (admin) for the first post only. I have done this on my VB board and I have also done it on mybb. The problem is that I only want it showing in my sig with out enabling html, so this is why I am adding it the postbit templates. Currently it shows for anyone that posts. The code I used on VB is:
The $bbuserinfo is the groups that see my sig. The usergroupid is the admin group that the sig is included in.
I am not sure what the code is for mybb. Any help would be appreciated.
Thanks.
<br /><if condition="$post[postcount] == 1 AND is_member_of($bbuserinfo, 0,1,2,3,4,5,6) AND $post[usergroupid] == 6">
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
</if>
The $bbuserinfo is the groups that see my sig. The usergroupid is the admin group that the sig is included in.
I am not sure what the code is for mybb. Any help would be appreciated.
Thanks.