The code would go into a few template depending on where you want the ads to show...
FORUMDISPLAY for a forum/ area
SHOWTHREAD for the thread
SHOWPOST for a single post view
postbit or postbit_legacy for post contents
--------------- Added [DATE]1234728769[/DATE] at [TIME]1234728769[/TIME] ---------------
To change ads by usergroup you would use the code:
Code:
<if condition="is_member_of($bbuserinfo, 5,10,20)>
ads for groupds 5,10 and 20
<else />
<if condition="is_member_of($bbuserinfo, 40)>
ads for 40
</if>
</if>