Author |
Message |
09/07/2005 11:23:20
|
akira
Beginner
Joined: 04/06/2005 04:53:41
Messages: 28
Offline
|
Yes, the offset is currently set as 0. Whenever I check the visitors.php log and it show the time correctly.
The problem is, at midnight it will changed to 1, then i uses another ip to visit the site and it suddently jump to 12 instead of 2. I am sure at that time there is no one else visited the by site.
Please advice and thanks for your help.
|
|
09/07/2005 12:01:30
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
The title of this thresad states that the counter is not resetting at midnight. This is not your problem hence my fix would not work for your prolem.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
09/07/2005 13:02:15
|
akira
Beginner
Joined: 04/06/2005 04:53:41
Messages: 28
Offline
|
Sorry, It should be "It would sometime changed to 1" but not all the time. But eventhough it change to 1, it will suddently jump to + 10.
Sorry for the typo
|
|
09/07/2005 18:19:39
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Ok so the problem is that it resets to 1and then jumpt to double figures after the next visitor?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
10/07/2005 03:42:52
|
akira
Beginner
Joined: 04/06/2005 04:53:41
Messages: 28
Offline
|
Yes
|
|
10/07/2005 10:40:07
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I'l download it again at some point and take another look.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
10/07/2005 10:44:18
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
open counter.class.php and replace
with
Then replace
with
Again not tested but try it.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
10/07/2005 10:54:39
|
akira
Beginner
Joined: 04/06/2005 04:53:41
Messages: 28
Offline
|
OK, will test it out at post back later.
Thank you very much for the help.
|
|
12/07/2005 01:09:51
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Did it work?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
12/07/2005 04:23:40
|
akira
Beginner
Joined: 04/06/2005 04:53:41
Messages: 28
Offline
|
After testing for 2 days, it seems to work.
It reset to 1 at midnight and the number no longer jump +10 or whatsover.
Thanks for the tips. Thank You.
|
|
14/07/2005 10:59:42
|
akira
Beginner
Joined: 04/06/2005 04:53:41
Messages: 28
Offline
|
It happen again on 4th day .
It change to one on next day, then it jumps to 12 when a 2nd visitor visited the site.
Maybe this is difficult to solve and I think I have to leave with it having + 10 from 2nd visitor onwards.
If anyone have a solution, I am happy to test it.
Thanks.
|
|
14/07/2005 14:50:56
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I'll peruse the code again. It sounds like it's putting the 2 onto the end of the 1 for some bizarre reason.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
14/07/2005 15:07:23
|
akira
Beginner
Joined: 04/06/2005 04:53:41
Messages: 28
Offline
|
Thank you very much.
I think those website with many visitors may not notice this problem. For mine, it's hardly reach 10 visitors per day.
If it is really take time, it's OK. I dont want to trouble you much on this minor defect. +10 is not big deal for me.
Thanks for all the help, Carbonize.
|
|
|