[My Advertisement] How to add custom Zones - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Plugins (https://community.mybb.com/forum-73.html) +---- Forum: Plugin Support (https://community.mybb.com/forum-72.html) +---- Thread: [My Advertisement] How to add custom Zones (/thread-207815.html) |
[My Advertisement] How to add custom Zones - pg001 - 2017-01-28 I am trying to add a popup ad that will be shown to guests only. By putting the code in Headerinclude they are shown to every visitor. So, my solution was to use the My Advertisement plugin which has an exempt Groups option. How do I create custom zone that shows the popup only to guests? My header, postbit and footer is already under use. Edit: Fixed it. Downloaded the PHP in Templates Plugin and added Quote:<if $mybb->user['uid'] != X then> to headerinclude. |