pftq.com
Welcome! Please Login or Register!
November 22, 2024, 12:46:40 AM
Home Login Register
pftq Forums  |  Software and Scripts  |  Other Scripts and Tools  |  Problem with stats counter... 0 Members and 1 Guest are viewing this topic. « previous next »
Latest News!Lunar Trigger(Aug 27, 2023)
Pages: [1] Print
Author Topic: Problem with stats counter...  (Read 5795 times)
marcushjortsberg
Member
*****
Offline Offline

Posts: 6

« on: August 25, 2009, 03:55:01 AM »

I have my files in templates/new_bl_09_c/counter2

 

the template that i include the <?php include ("counter2/counter.php"); ?> in is index.php and that file is in templates/new_bl_09_c.

 

When i put the codes in that file it shows

 

on Jan-01-1970, 1:00 AM
on Jan-01-1970, 1:00 AM


on Jan-01-1970


on January 1970
90.230.159.47

 

 

If i make a file called countertest.php and put it in templates/new_bl_09_c/ and i put the <?php include ("counter2/counter.php"); ?> in the top of that file and then put the codes in it it showes everything....

(If I include the countertest.php into my index.php (my template index) it shows the same as the first example...)

HuhHuh?
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #1 on: August 25, 2009, 01:41:41 PM »

Hi, I've replied back to the email you sent me.  Please check.
Logged
marcushjortsberg
Member
*****
Offline Offline

Posts: 6

« Reply #2 on: August 25, 2009, 07:58:11 PM »

Yes, thank you for your help!

But the Current VISITORS Online does not work...IP does not either...

And one other thing, can I somehow change the total visitors number?? I want my old visitornumber to show...

Thanx again!
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #3 on: August 25, 2009, 08:05:42 PM »

Hi, I'm looking at your site and the number of visitors online is showing up.  I also remember seeing varip working when I was editing it earlier.  Can you elaborate?

As for changing the number, you can easily do this by editing your mysql table (go to PHP MyAdmin on your server).
Logged
marcushjortsberg
Member
*****
Offline Offline

Posts: 6

« Reply #4 on: August 25, 2009, 08:18:27 PM »

Yes, I found the number in the mysql.
And the total visitors number, I am using a secondary counter to show that at the moment...feel free to test more with my site if want, I sertanly want to fix it.

Thanx!
Logged
marcushjortsberg
Member
*****
Offline Offline

Posts: 6

« Reply #5 on: August 25, 2009, 08:27:46 PM »

One more thing!

The visitors today, is it reset by midnight?
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #6 on: August 26, 2009, 06:55:31 AM »

Yes it is.
Logged
marcushjortsberg
Member
*****
Offline Offline

Posts: 6

« Reply #7 on: August 26, 2009, 12:30:49 PM »

Ok, next question.

I have the time offset to 2*60*60 since according to GMT my timezone is CET+2 until october 25, after that it's CET+1 due to the day time savings...

My counter did reset the todays visitor when my clock struck 22:00 (10 pm)...

Should I set the time offset to zero???

And what happens october 25 if I do that?
Logged
marcushjortsberg
Member
*****
Offline Offline

Posts: 6

« Reply #8 on: August 26, 2009, 12:50:01 PM »

Hello again.... Shocked

I know I'm an anoying bastard that asks to many questions:/

What's the differense between

seconds before IP Address is counted as making another visit

and

seconds before IP Address is counted as a new visitor again

Huh
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #9 on: August 26, 2009, 01:28:38 PM »

Seconds before IP counted as another visit goes toward the daily # visits count.

Seconds before the IP is counted as a new visitor goes toward the total visitors count.

A way to think of it is that a visitor can make more than one visit to your site.
Logged
Pages: [1] Print 
pftq Forums  |  Software and Scripts  |  Other Scripts and Tools  |  Problem with stats counter... « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines | RSS Feed Valid XHTML 1.0! Valid CSS!
Page created in 0.114 seconds with 21 queries.