Banner Manager
Location - Plug-Ins
This Plug-In can be used to create ad rotations inside a site.
By default, zones have been added to the index, bonus, news, favorites, gallery,
Fields:
You can assign a banner to show up only in certain places by choosing which categories, sites or models to assign the banner. This will let you serve certain ads to a specific category page or only show certain ads on a specific model's bio and/or gallery page.
Banner PHP Templates:
To edit the look of ads, edit the following templates:
/template_sections/banner.tpl
Banner Smarty Templates:
To edit the look of ads, edit the following templates:
general/showbanner.tpl
general/showtextad.tpl
Adding Zones to PHP Templates:
For ads to show on a page, a zone tag needs to be put into the template.
Add the following tag where you want a banner ad to show: <div class="text_ad">
<?php LoadTemplate("template_sections/banner.tpl", ["zone" => "index_XXX", "allmodels" => 1, "allcats" => "1"]); ?>
</div>
!! Replace 'index_XXX' with the name of the zone you created in the banner admin.
Adding Zones to Smarty templates:
For ads to show on a page, a zone tag needs to be put into the template.
Add the following tag where you want a text ad to show:{include file="$spath/general/showtextad.tpl" zone="XXXXX"}
Add the following tag where you want a banner ad to show:{include file="$spath/general/showbanner.tpl" zone="XXXXX"}
!! Replace XXXXX with the name of the zone.
**If you are using the MegaPass/All Access plugin, please make sure to if you assign the banner to a subsite you must make sure the subsite/area's 'cmsinclude.ini.php' file has a subsite declaration.