Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Remonving ip of admin user from counter and a real counter
https://www.tinywebgallery.com/forum/viewtopic.php?f=3&t=539
Page 1 of 1

Author:  Merlin44 [ 2. Oct 2006, 11:17 ]
Post subject:  Remonving ip of admin user from counter and a real counter

My counter is crazy
google show me 15 visitors last day and maybe more than 40 in twg counter

Need Counter of real visitor and/or Counter of pics viewed by day

Author:  TinyWebGallery [ 2. Oct 2006, 11:55 ]
Post subject: 

if google (visitor counter of adsense I think) differs you should maybe use the same timeout ;) - TWG has 5 minutes google??? (maybe 30?)

$min=5; // new 1.3c - after how many minutes does a user count as a new user - 5 means that if he does not do anything for 5 minutes the counter is increased.

if you like a total views counter you have to implement one ;).
becasue of the ajax implementation on the image page this is not a 5 minutes job anymore ;).

and how do I know ip of the admin user - do you have a static ip?

/Michael

Author:  Merlin44 [ 2. Oct 2006, 12:01 ]
Post subject: 

TinyWebGallery wrote:
if you like a total views counter you have to implement one ;).
becasue of the ajax implementation on the image page this is not a 5 minutes job anymore ;).
/Michael

Too much work only for the counter ? not have really the time for now to do that lol


TinyWebGallery wrote:
and how do I know ip of the admin user - do you have a static ip?

/Michael

Yes i've. but some people use dyns.org service or like too

Author:  TinyWebGallery [ 2. Oct 2006, 12:34 ]
Post subject: 

or 98% get a different ip everytime they log in ;).

counter for html mode is easy - simply use -1 at the min - but for the ajax part you have to calculate every activity in the background too.

/Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/