|
|
It appears you are using a browser that is not based on Internet Explorer, this means you are not viewing the web as good as you should be. Other browsers might try to immitate Internet Explorer, but none can parse the web as it should like Internet Explorer can. So view the web as it was meant to be with Avant Browser!
|
| |
|
|
All times are GMT - 5 Hours
|
|
 |
Fri Aug 26, 2005 9:17 pm |
 |
Author |
Message |
Jayjay72 New TweakeR

Joined: 26 Aug 2005 Posts: 9 Words Posted: 437 Average Post: 48.56
|
| Post subject: Users On Index mod problem |
|
|
Hello, the Users On Index mod is
Not always accurate on my forum.
I had 9 joins yesterday and today
it say none for yesterday.
Also it resets at a weird time, can I change that?
Im sure its a problem on my end...
For one I use phpBB 2.0.13
Is this the problem?
Thanks
Jay! |
|
| Post #1 |
|
|
 |
Sat Aug 27, 2005 10:53 am |
 |
Author |
Message |
Jayjay72 New TweakeR

Joined: 26 Aug 2005 Posts: 9 Words Posted: 437 Average Post: 48.56
|
| Post subject: |
|
|
Wanted to mention its just the " 0 New Yesterday" part
that is not functioning...
Today and this week work fine...
Still would like to make it reset at midnight just as the forum does...
Thanks for any help, I like the mod!
J |
|
| Post #2 |
|
|
 |
Sat Aug 27, 2005 9:40 pm |
 |
 |
Sun Aug 28, 2005 12:30 pm |
 |
Author |
Message |
Jayjay72 New TweakeR

Joined: 26 Aug 2005 Posts: 9 Words Posted: 437 Average Post: 48.56
|
| Post subject: |
|
|
hmm I have noticed inaccurate results in all feilds.
2 New Today, 9 New Yesterday & 0 New This Week.
If there is 2 new today, then therefor there should be 2 new this week?
Jay |
|
| Post #4 |
|
|
 |
Sun Aug 28, 2005 6:44 pm |
 |
 |
Mon Aug 29, 2005 1:45 pm |
 |
 |
Mon Aug 29, 2005 7:37 pm |
 |
Author |
Message |
Jayjay72 New TweakeR

Joined: 26 Aug 2005 Posts: 9 Words Posted: 437 Average Post: 48.56
|
| Post subject: |
|
|
Great man! I have upgraded.
This is what it shows, adding last week is a nice touch!
1 Today, 3 This Week, 6 Yesterday, 32 Last Week
It needs time to correct itsself I assume...
Ill give it a few days and let you know!
Is there a way to change when it resets?
Seems to be 5pm for me rather then midnight..
Thanks!
Jay |
|
| Post #7 |
|
|
 |
Tue Aug 30, 2005 12:26 am |
 |
Author |
Message |
aUsTiN Webmaster


Joined: 05 Jan 2005 Posts: 3684 Words Posted: 144,671 Average Post: 39.27 Location: USA
|
| Post subject: |
|
|
its based on $board_config['board_timezone'] the sites timezone. It gets yesterdays date, then the unix timestamp & does the math for yesterday. Same as today, this week & last week.
It is also based on a Monday - Sunday week. |
|
| Post #8 |
|
|
 |
Tue Aug 30, 2005 10:47 pm |
 |
Author |
Message |
DragonMaster  Site Supporter

Joined: 11 Jan 2005 Posts: 373 Words Posted: 36,703 Average Post: 98.40 Location: USA
|
| Post subject: |
|
|
Where is this?
I can't seem to locate it.
Also the link in thepost to: phpBB-TweakS Download Database
is showing up as:
Warning: main(./blend_data/blend_common.php): failed to open stream: No such file or directory in /home/tweaking/public_html/downloads.php on line 61
Warning: main(): Failed opening './blend_data/blend_common.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tweaking/public_html/downloads.php on line 61
Warning: Cannot modify header information - headers already sent by (output started at /home/tweaking/public_html/downloads.php:61) in /home/tweaking/public_html/includes/functions.php on line 806 |
|
| Post #9 |
|
|
 |
Tue Aug 30, 2005 10:51 pm |
 |
 |
Wed Aug 31, 2005 12:27 am |
 |
 |
Wed Aug 31, 2005 7:49 am |
 |
 |
Thu Sep 01, 2005 8:12 pm |
 |
 |
Fri Sep 02, 2005 7:03 am |
 |
 |
Sun Sep 04, 2005 12:36 pm |
 |
Author |
Message |
Jayjay72 New TweakeR

Joined: 26 Aug 2005 Posts: 9 Words Posted: 437 Average Post: 48.56
|
| Post subject: |
|
|
Hey Austin I just wanted to point new knowledge...
On sunday I get this
2 Today, 0 This Week, 2 Yesterday, 26 Last Week.
Not the biggest deal since it works right on all other days,
But on Sunday It will say 0 new this week 2 new today..
It wont show any new for this week from new members today...
I wonder if they get included in the over all week count? Ill check...
So sunday appears to be slightly buggy?
Thanks, let me know if this makes sence...
Jay |
|
| Post #15 |
|
|
 |
Sun Sep 04, 2005 4:02 pm |
 |
Author |
Message |
aUsTiN Webmaster


Joined: 05 Jan 2005 Posts: 3684 Words Posted: 144,671 Average Post: 39.27 Location: USA
|
| Post subject: |
|
|
OPEN
functions.php
FIND
| Code: |
return sprintf($lang['new_members_key'], $today_count, $tweek_count, $yesterday_count, $lweek_count);
|
BEFORE, ADD
| Code: |
if (date('w') == 0)
$tweek_count = $today_count;
|
CLOSE & SAVE
Thatll fix the sunday bug. |
|
| Post #16 |
|
|
 |
Mon Sep 05, 2005 10:27 am |
 |
 |
Sun Sep 11, 2005 9:30 pm |
 |
 |
Sun Sep 11, 2005 10:56 pm |
 |
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
|
|
Protected by phpBB Security © phpBB-TweakS phpBB Security Has Blocked 3,237 Exploit Attempts.
· Archive · Sitemap: Index · Sitemap: Forums · Sitemap: Topics · Sitemap: Posts ·
:: [ Load Time: 2.8 Seconds ] :: [ 29 Queries ] :: [ 4,650 Page(s) Viewed Today ] :: :: [ Todays Queries: 139,749 ] :: [ Highest Load: 1,396,429 Queries On May. 08, 2007 ] :: :: [ SQL Load: 61% Time: 1.7 ] :: [ PHP Load: 39% Time: 1.1 ] :: [ Debug: On ] :: [ GZIP: Enabled ] :: :: The server last rebooted 81 days, 9 hours, 2 minutes, 31 seconds ago. ::
|
|
|