![]() |
KK:
I found an error in the doreset subroutine. You have $DB_site->query("UPDATE banner SET views=0 AND guestclicks=0 AND userclicks=0 WHERE id='$bannerid'"); this only resets the views to 0 and the others do not get reset. I changed this to: $DB_site->query("UPDATE banner SET views=0,guestclicks=0,userclicks=0 WHERE id='$bannerid'"); and all get reset to zero as they should. Thanks, Parker |
thank you for this information,
maybe I'll rebuild this hack and present it with all fixed bugs in some days :) Regards. |
KK:
You are welcome. I would like to see this rewritten with all the bug fixes included. If you could make it so the banners can be put in a rotation and add groupids so you can group banners together by groupid. So if you have a banner with groupid=home then any banner with a groupid of home would get displayed in that group. Parker |
I have installed this hack and it works good.
I wanted to rotate my ads so I installed the rotate code to my global.php When I do this I have a problem. Different ads display but when a user clicks on them they are always taken to the highest number ad in the database. Lets says I have 6 ads in my database, I click on http://www.dbstalk.com/click.php?bannerid=2 which should take me to site #2 instead it takes me to site #6. If I remove the stuff from global.php and try going to http://www.dbstalk.com/click.php?bannerid=2 it takes me to site 2. Anyone have any ideas? |
This is a really nice hack and easy to install.
I like the tracking features and how easy it is to use. Please consider adding the ability to rotate ads, that would be very useful to me! |
I just tried to install the rotation hack, but hit a roadblock here:
> Open /global.php > Find: > if ($getforum['styleoverride']==1 or > $bbuserinfo['styleid']<2) { $codestyleid= I can't find that anywhere in my global.php file. Is this something another hack added? I'm using 2.2.8 and the original global.php file. |
Ok on my forums i have set the banner width to the size i want it but when i insert the getlinkcode or whatever its called it and the image shows up as a 60 X 10 pixel image?
Any ideas :( - miSt |
hm, I don't have this problem noticed anywhere.
Can you tell me the link to your forum? |
I'll PM it to you :)
*You have mail* - miSt |
waiting patiently for the new version with all the bugs fixed and rotation added. Is their a timeframe for when this might be finished? :cross-eyed:
|
All times are GMT. The time now is 02:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|