phpBB-TweakS
 
Advanced Search
   
 
Home Downloads FAQ Register FAQ Memberlist Usergroups Ranks
 
 

Please help us to develop!

 
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!
         

phpBB-TweakS Forum Index New Users On Index Users On Index mod problem
Display posts from previous:   
Half Thread Topic  Fully Thread Topic  Download Topic
      All times are GMT - 5 Hours  
Post new topic  Reply to topic

Fri Aug 26, 2005 9:17 pm
Author Message
Jayjay72
New TweakeR
New TweakeR


Joined: 26 Aug 2005
Posts: 9
Words Posted: 437
Average Post: 48.56


Post subject: Users On Index mod problem Reply with quote

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
      Back To Top  

Sat Aug 27, 2005 10:53 am
Author Message
Jayjay72
New TweakeR
New TweakeR


Joined: 26 Aug 2005
Posts: 9
Words Posted: 437
Average Post: 48.56


Post subject: Reply with quote

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
      Back To Top  

Sat Aug 27, 2005 9:40 pm
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

I'll give the codes a look when i get a few mins
Post #3
      Back To Top  

Sun Aug 28, 2005 12:30 pm
Author Message
Jayjay72
New TweakeR
New TweakeR


Joined: 26 Aug 2005
Posts: 9
Words Posted: 437
Average Post: 48.56


Post subject: Reply with quote

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
      Back To Top  

Sun Aug 28, 2005 6:44 pm
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

aUsTiN wrote:
I'll give the codes a look when i get a few mins
Post #5
      Back To Top  

Mon Aug 29, 2005 1:45 pm
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

Ok, i rewrote it, re-download it (now 1.0.1) and see how it is.
Post #6
      Back To Top  

Mon Aug 29, 2005 7:37 pm
Author Message
Jayjay72
New TweakeR
New TweakeR


Joined: 26 Aug 2005
Posts: 9
Words Posted: 437
Average Post: 48.56


Post subject: Reply with quote

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
      Back To Top  

Tue Aug 30, 2005 12:26 am
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

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
      Back To Top  

Tue Aug 30, 2005 10:47 pm
Author Message
Cool DragonMaster Cool
Site Supporter
Site Supporter


Joined: 11 Jan 2005
Posts: 373
Words Posted: 36,703
Average Post: 98.40

Location: USA

Post subject: Reply with quote

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
      Back To Top  

Tue Aug 30, 2005 10:51 pm
Author Message
jsr
Support Team
Support Team


Joined: 06 Jan 2005
Posts: 407
Words Posted: 50,471
Average Post: 124.01


Post subject: Reply with quote

There: http://phpbb-tweaks.com/down_db.html-page-get_file-id-395
Post #10
      Back To Top  

Wed Aug 31, 2005 12:27 am
Author Message
Cool DragonMaster Cool
Site Supporter
Site Supporter


Joined: 11 Jan 2005
Posts: 373
Words Posted: 36,703
Average Post: 98.40

Location: USA

Post subject: Reply with quote

Thanx
Post #11
      Back To Top  

Wed Aug 31, 2005 7:49 am
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

Error fixed.
Post #12
      Back To Top  

Thu Sep 01, 2005 8:12 pm
Author Message
Jayjay72
New TweakeR
New TweakeR


Joined: 26 Aug 2005
Posts: 9
Words Posted: 437
Average Post: 48.56


Post subject: Reply with quote

Works great now Austin, Thanks alot!!!!
Laughing Great mod! Thanks!!!
Post #13
      Back To Top  

Fri Sep 02, 2005 7:03 am
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

np, glad that fixed it.
Post #14
      Back To Top  

Sun Sep 04, 2005 12:36 pm
Author Message
Jayjay72
New TweakeR
New TweakeR


Joined: 26 Aug 2005
Posts: 9
Words Posted: 437
Average Post: 48.56


Post subject: Reply with quote

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
      Back To Top  

Sun Sep 04, 2005 4:02 pm
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

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
      Back To Top  

Mon Sep 05, 2005 10:27 am
Author Message
Jayjay72
New TweakeR
New TweakeR


Joined: 26 Aug 2005
Posts: 9
Words Posted: 437
Average Post: 48.56


Post subject: Reply with quote

Thanks Alot for perfecting this script Austin!

Im sure it will work, let you know next Sunday Wink

Jay
Post #17
      Back To Top  

Sun Sep 11, 2005 9:30 pm
Author Message
Jayjay72
New TweakeR
New TweakeR


Joined: 26 Aug 2005
Posts: 9
Words Posted: 437
Average Post: 48.56


Post subject: Reply with quote

Working just fine, Thanks alot!
Post #18
      Back To Top  

Sun Sep 11, 2005 10:56 pm
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

np
Post #19
      Back To Top  

 
         

Post new topic  Reply to topic

phpBB-TweakS Forum Index New Users On Index Users On Index mod problem
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


      Back To Top  

Page 1 of 1
Jump to:  
 
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. ::

The phpBB[Network]!
       
Powered by phpBB 2.0.* © 2001, 2002 phpBB Group
Avalanche style by What Is Real © 2004