Quote:
Originally Posted by diligent
All you really need to do is edit the template files, add the banners/links or whatever ad code you want to put in there.
|
Lets NOT do that.
joker.nyc - go into your admin control panel - left column - Styles & Templates - search in templates - and do a search for ad.
Pick the template you want to put the ads in and scroll down until you see:
ad_footer_end
ad_footer_start
ad_forumdisplay_afterthreads
and there will be about a dozen more templates listed. This is were you put the code of the banners. Starting with VB 3.7 there are built in Ad locations. All you have to do is insert the code into the ad_adlocation template and that is it. Do
NOT edit the code VBulletin files.
To show the banners to only certain user groups, use this code
<if condition="is_member_of($bbuserinfo,array(1,2,15)) ">
<div align="center">
CODE GOES HERE
<br>
</div>
</if>
<br>
The numbers - 1, 2 and 15 are the usergroup ID. Only members of that group will see that ad.
The div align makes the banner centered on the page.
See this thread on the VBulletin support forums for more detailed information -
http://www.vbulletin.com/forum/showthread.php?t=252641 That thread even has some pictures posted in it.