Essentially, I'd like to prevent my IP address from tripping the hit counter whenever I turn a page whether I'm logged in as user, admin or just browsing anonymously.
I found a piece of code that will work for a static IP, but mine is dynamic and sometimes changes if my broadband connection gets cycled.
I guess what I'm looking for is a modification to the index.php that'll get my IP and insert it into the header.php. Is this viable one way or another?
That will take the class C part of the IP address. Depending on your ISP, you may have multiple ranges of IPs.
Another option is just not to count things when you're an admin. It does require that you remain logged in, but at least it isn't IP dependent anymore.
That will take the class C part of the IP address. Depending on your ISP, you may have multiple ranges of IPs.
So this would work but might also exclude other users of the same ISP?
evaders99 wrote:
Another option is just not to count things when you're an admin. It does require that you remain logged in, but at least it isn't IP dependent anymore.
Yes, Dirk over at Nukies suggested I stick with this method, but I'm not the only user of this box and wanted to minimize this risk of accidents by staying logged in. I'll just have to remember to log in before browsing too deeply.
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum