Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
24h Visitors' Statistics (members and guests) Details »
24h Visitors' Statistics (members and guests)
Mod Version: 1.00, by Olsufr (Member) Olsufr is offline
Developer Last Online: Mar 2005 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.6 Rating: (1 vote - 5.00 average) Installs: 28
Released: 13 Feb 2005 Last Update: Never Downloads: 30
Not Supported  

A very simple display of statistics of all visitors (members and guests) who have visited the forum last 24 hours.

It displays the statistics on Forum Home in the section of "Users online":

example: " Total users last 24h: 2692 (members : 741, guests : 1951) "

There is no additional SQL query.

----------------------------------

Installation (there is in attached file)

Step 1

In index.php

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And insert this code before it:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 2

In includes/cron/cleanup.php
and in includes/cron/cleanup2.php

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And replace with this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 3

Add new phrase

Phrase Type: GLOBAL
Varname: active_users_24h
Text:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 4

FORUMHOME template modification

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

END

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	24h_visitors_statistics_vb3.gif
Views:	970
Size:	4.9 KB
ID:	23936  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods Scare your members and visitors! ^^ NeutralizeR vBulletin 3.6 Template Modifications 58 21 Jan 2009 04:46
Adsense, different sizes for visitors to members MadKad vBulletin 3.6 Template Modifications 25 16 Jul 2008 21:20
Adsense, different sizes for visitors to members Ė under last post MadKad vBulletin 3.5 Template Modifications 55 23 Apr 2007 11:26

Comments
  #2  
Old 13 Feb 2005, 17:23
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Just so you know, i've already released one myself here http://www.vbulletin.org/forum/showt...threadid=72972
Reply With Quote
  #3  
Old 13 Feb 2005, 17:29
ALcorn ALcorn is offline
 
Join Date: Oct 2004
Originally Posted by ericgtr
Just so you know, i've already released one myself here http://www.vbulletin.org/forum/showt...threadid=72972
Your hack is about the number of newly registered users, not about the stats of registered users AND guests visited the forum in last 24 hours
Reply With Quote
  #4  
Old 13 Feb 2005, 17:30
Olsufr Olsufr is offline
 
Join Date: Feb 2003
ericgtr, my hack counts, shows members and guests statistics.
It is different.
Reply With Quote
  #5  
Old 13 Feb 2005, 17:31
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Originally Posted by ALcorn
Your hack is about the number of newly registered users, not about the stats of registered users AND guests visited the forum in last 24 hours
Right you are. I was checking this over and it's pretty slick, nice mod!
Reply With Quote
  #6  
Old 13 Feb 2005, 18:11
James T Brock James T Brock is offline
 
Join Date: Sep 2004
Nice mod. I have the other one installed but I like the ability for this one to count guess users as well.
Reply With Quote
  #7  
Old 14 Feb 2005, 17:06
Harley77 Harley77 is offline
 
Join Date: Jul 2002
Having an issue, It only seems to show users from the last 1h. It reads on my forum home
Total users last 1h: 49 (34 members and 15 guests)

This number has been fluxuating up and down as time passes. Where do I need to look to fix this?
Reply With Quote
  #8  
Old 14 Feb 2005, 19:44
KanyeWest's Avatar
KanyeWest KanyeWest is offline
 
Join Date: Dec 2004
Real name: A
i likey i really likey i installed


update justinstalled took nomore than 6 minutes
Attached Images
File Type: gif 12.gif (23.6 KB, 192 views)

Last edited by KanyeWest; 14 Feb 2005 at 19:51.
Reply With Quote
  #9  
Old 14 Feb 2005, 19:53
KanyeWest's Avatar
KanyeWest KanyeWest is offline
 
Join Date: Dec 2004
Real name: A
Originally Posted by Harley77
Having an issue, It only seems to show users from the last 1h. It reads on my forum home
Total users last 1h: 49 (34 members and 15 guests)

This number has been fluxuating up and down as time passes. Where do I need to look to fix this?
i think i found problem

Step 3. ##################################################################

Add new phrase

Phrase Type: GLOBAL
Varname: active_users_24h
Text: Total users last {1}h

it should be 24 but waht do i no im not a coder

Last edited by KanyeWest; 14 Feb 2005 at 19:58.
Reply With Quote
  #10  
Old 14 Feb 2005, 22:41
Olsufr Olsufr is offline
 
Join Date: Feb 2003
KanyeWest, the code is right.
My hack shows visitor's statistics and indicates real time for it.
For example, if there are sessions in your SESSIONS table in DB only for 1 hour,
this hack shows as you say:
Total users last 1h: 49 (34 members and 15 guests)
It is start only.

Later your statistics will be collected more and more hour by hour.
And after 24 hours hack will show statistics for 24 hours (no more).

Originally Posted by KanyeWest
i think i found problem

Step 3. ##################################################################

Add new phrase

Phrase Type: GLOBAL
Varname: active_users_24h
Text: Total users last {1}h

it should be 24 but waht do i no im not a coder
There is no error.

Last edited by Olsufr; 14 Feb 2005 at 22:43.
Reply With Quote
  #11  
Old 15 Feb 2005, 05:57
JC's Avatar
JC JC is offline
 
Join Date: Sep 2002
Will someone please take a look at my site, for some reason it's only half working, viewed here www.707imports.com/vb3 - I don't get it. I've tried this like 10x's! I'd be willing to let someone login and fix it haha.

user : tester
pw : pwforpaul
Reply With Quote
  #12  
Old 15 Feb 2005, 06:06
JC's Avatar
JC JC is offline
 
Join Date: Sep 2002
I actually installed a different version of this hack and it worked, yay! Thanks anyways!
Reply With Quote
  #13  
Old 15 Feb 2005, 13:49
Rids's Avatar
Rids Rids is offline
 
Join Date: Aug 2002
Real name: Steve
Nice mod - thanks for sharing
Reply With Quote
  #14  
Old 15 Feb 2005, 20:11
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Originally Posted by ericgtr
Just so you know, i've already released one myself here http://www.vbulletin.org/forum/showt...threadid=72972
your hack is not the same. yours shows who registered that day and the total number of members.

this hack shows who Visited in the last 24 hours. For example, yours doesn't pick up guests.
Reply With Quote
  #15  
Old 15 Feb 2005, 21:53
Elfo King Elfo King is offline
 
Join Date: Apr 2003
Location: Pisa-Italy
Originally Posted by Harley77
Having an issue, It only seems to show users from the last 1h. It reads on my forum home
Total users last 1h: 49 (34 members and 15 guests)

This number has been fluxuating up and down as time passes. Where do I need to look to fix this?
same problem.....only guest e member for only 1 hour!
not for 24......solution ??
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:37.

Layout Options | Width: Wide Color: