2016-04-22, 03:26 AM
**Update - .m., your suggestion worked perfectly. Thank you!
I hate posting questions when I can usually find my answers using 'search', but I'm stumped on this one. I edited the plugin file, myadvertisements.php, using previous thread suggestions to remove ads from registration and user profiles by adding the following after every global at the start of each function.
{myadvertisements[zone_1]}
&
{myadvertisements[zone_2]}
I'm sure I am missing something simple here, but haven't figure it out. Any assistance would be appreciated. Thanks to the creator of this plugin as it works very well.
I hate posting questions when I can usually find my answers using 'search', but I'm stumped on this one. I edited the plugin file, myadvertisements.php, using previous thread suggestions to remove ads from registration and user profiles by adding the following after every global at the start of each function.
if(THIS_SCRIPT == 'member.php' || THIS_SCRIPT == 'usercp.php')
{
return;
}
The advertisements indeed to not show up for those pages, but are instead replaced with the zone text at the header and footer:{myadvertisements[zone_1]}
&
{myadvertisements[zone_2]}
I'm sure I am missing something simple here, but haven't figure it out. Any assistance would be appreciated. Thanks to the creator of this plugin as it works very well.