Banners

You can INXY for banner rotation

Banners prioiry

If banners for item 1 was not found script tries to use item 2 rules, then item 3 and so on

  1. script takes banners suitable by size, paysite, stream, category (if set)
  2. script takes banners suitable by size, paysite, stream (category is ignored)
  3. script takes banners suiltable by size, stream, category (paysite is ignored)
  4. script takes banners suiltable by size, stream (paysite and category are ignored)
  5. script takes banners suiltable by sizes

since 1.08

Script takes banners that match category.

<?=Inxy::adv()->minSize(x,y)->maxSize(x,y)?>

This code work different for dirrefent site pages:

  • For first (best) page it takes any banner (category ignored)
  • For any other page (except tag, serhch and gallery) it takes banner of paysite with same category
  • For gallery page it takes banner with same category as gallery has/li>

How to insert banners

since 1.07

For gallery (use payesite)


<?=Inxy::adv()->minSize(x,y)->maxSize(x,y)->paysite($gal->paysite->domain)?>; // takes banner of gallery paysite
<?=Inxy::adv()->minSize(x,y)->maxSize(x,y)->paysite('example.com')?>; // takes banner of example.com

For any page w/o:

<?=Inxy::adv()->minSize(x,y)->maxSize(x,y)?>

minSize(x,y) - minimim size of banner maxSize(x,y) - maximum size of banner

You can add banners in INXY-Feeds user Banners tab in paysite edit form