SMF Ads Support Forum

Support => Ad Support => Topic started by: marinelife on July 12, 2006, 11:09:13 am

Title: Ad Reports
Post by: marinelife on July 12, 2006, 11:09:13 am
Is there a way to turn of Ad reports, it seems to make the site I run go slower. I have phpadsnew running so reports is not needed for me :paladin:
Title: Re: Ad Reports
Post by: bigguy on July 12, 2006, 11:23:08 am
No I don`t believe there is a way to turn it off from the admin panel. I`m sure Jerm would know what code to exclude in order to do this. There shouldn`t be any reason your forum is running slower than before because of this.
Title: Re: Ad Reports
Post by: jerm on July 12, 2006, 11:36:00 am
open up LoadAds.php and comment all cases you find that matches this:
Code: [Select]
updateAddHits($displayBoardAds[$adtemp]['id']);
Code: [Select]
updateAddHits($displayAds[$adtemp]['id']);
Title: Re: Ad Reports
Post by: marinelife on July 17, 2006, 03:34:52 pm
Thanks I will do that.

Should I comment out this that is after each one
//Return all information about the post
            return $displayAds[$adtemp];
Title: Re: Ad Reports
Post by: jerm on July 18, 2006, 11:11:13 am
no. if you do, your ads wont display lol