SMF Ads Support Forum

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

Title: Ad Reports
Post by: marinelife on July 12, 2006, 12:09:13 PM
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, 12:23:08 PM
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, 12:36:00 PM
open up LoadAds.php and comment all cases you find that matches this:
updateAddHits($displayBoardAds[$adtemp]['id']);
updateAddHits($displayAds[$adtemp]['id']);
Title: Re: Ad Reports
Post by: marinelife on July 17, 2006, 04: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, 12:11:13 PM
no. if you do, your ads wont display lol