SMF Ads Support Forum

Support => General Support => Topic started by: sawz on December 09, 2006, 11:49:50 AM

Title: ads in admin panel
Post by: sawz on December 09, 2006, 11:49:50 AM
i'd rather not have ads showing in the admin panel.
i installed the ads mod in version 1.1 and don't want them
showing in the admin area. is there something i can do about this?
Title: Re: ads in admin panel
Post by: jerm on December 09, 2006, 05:19:15 PM
I tried to minimize it as much as possible, but with the current way its set up, its pretty difficult.
I also didn't want to cluter up the code, but if you want to add it, open LoadAds.php
Look for this line:
if(isset($_REQUEST['action']) && ($_REQUEST['action'] == 'admod' || $_REQUEST['action'] == 'admin'))
Keep on adding || $_REQUEST['action'] == 'xxx' where xxx can equal packages, and all the other actions that are invovled with the admin center.
Title: Re: ads in admin panel
Post by: sawz on December 14, 2006, 07:26:30 PM
thanks jerm, that did the trick.
i do like this mod. i have had good success with it, either installing it or using it to display just about anything i want. nice work outa ya.