Coinbase

Author Topic: ads in admin panel  (Read 2330 times)

0 Members and 1 Guest are viewing this topic.

Offline sawz

  • Newbie
  • *
  • Posts: 6
ads in admin panel
« 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?

Offline jerm

  • Support
  • Elite Member
  • *
  • Posts: 726
Re: ads in admin panel
« Reply #1 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:
Code: [Select]
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.

Offline sawz

  • Newbie
  • *
  • Posts: 6
Re: ads in admin panel
« Reply #2 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.

SMF Ads Support Forum

Re: ads in admin panel
« Reply #2 on: December 14, 2006, 07:26:30 pm »
.