Quote:
04-24-03 at 12:31 PM papa said this in Post #452
Quick question for you guys.
my links are getting lots of hits and I have notices once they pass 99 hits they don't carry on in the top ten but move to the bottom of the list. back to 1 or 2. So how can I make it count past 99 and into a thousand?
Thanks in advance.
|
Quote:
05-31-03 at 12:32 PM brianstevz said this in Post #458
First off - great hack guys. I installed this one as soon as I saw it. One issue that came up however is that the top ten list. Once a site has 10 hits or more, it moves off the top 10 board. Is there any way to fix this?
Brian
|
Do you have direct access to you database? If so, do the following:
In the gportal_weblinkslink table, the field named 'hits' has the datatype set to 'text'. Change it to 'int'. I did it on my site, and it worked with no lost information in the hit counters. They all remained intact.
Otherwise, I could modify the install script that when it creates the tables for the database it has the change built it. You would end up having to uninstall the hack, upload the new modifed installer script, and run the new one instead. You would lose all your links this way and have to start over.