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 03:46
Adsense, different sizes for visitors to members MadKad vBulletin 3.6 Template Modifications 25 16 Jul 2008 20:20
Adsense, different sizes for visitors to members Ė under last post MadKad vBulletin 3.5 Template Modifications 55 23 Apr 2007 10:26

  #31  
Old 27 Apr 2005, 09:19
bmroyer bmroyer is offline
 
Join Date: Dec 2004

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

Where do I do that at? which file?
Reply With Quote
  #32  
Old 27 Apr 2005, 09:23
ALcorn ALcorn is offline
 
Join Date: Oct 2004
Originally Posted by bmroyer
Where do I do that at? which file?
Do it in phrase manager in your Admin Control Panel
Reply With Quote
  #33  
Old 27 Apr 2005, 09:33
bmroyer bmroyer is offline
 
Join Date: Dec 2004
thanks much
Reply With Quote
  #34  
Old 28 Apr 2005, 00:09
bmroyer bmroyer is offline
 
Join Date: Dec 2004
I just had a database error, I didn't think it was caused by this mod until now. My site just came back up, and I noticed that the users within 24 hours reset and is now at 1 hour.

Here is the error i got:

<html><head><title> Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head><body></table></td></tr></table></form><blockquote><p class="error">&nbsp;</p><p class="error"><b>There seems to have been a slight problem with the database.</b><br />Please try again by pressing the <a href="javascript:window.location=window.location;">refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:[email protected]">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p></blockquote><!--Database error in vBulletin :Link-ID == false, connect failedmysql error: mysql error number: 0Date: Wednesday 27th of April 2005 04:27:45 PMScript: http://www.unknownwriters.net/index.phpReferer: IP Address: 68.83.38.219 --></body></html>
Reply With Quote
  #35  
Old 28 Apr 2005, 08:51
ALcorn ALcorn is offline
 
Join Date: Oct 2004
Originally Posted by bmroyer
I just had a database error, I didn't think it was caused by this mod until now. My site just came back up, and I noticed that the users within 24 hours reset and is now at 1 hour.
This error is not related to this mod, but I have also noticed that the 24H Visitors stats are reset when the database is out, so let's say "it's by design".
Reply With Quote
  #36  
Old 28 Apr 2005, 13:34
bmroyer bmroyer is offline
 
Join Date: Dec 2004
Originally Posted by ALcorn
This error is not related to this mod, but I have also noticed that the 24H Visitors stats are reset when the database is out, so let's say "it's by design".
so then what is the problem? I had the old vbadvanced, and deleted the cms index, then replaced with the new version of the cms index..would that be why?
Reply With Quote
  #37  
Old 28 Apr 2005, 14:15
ALcorn ALcorn is offline
 
Join Date: Oct 2004
Originally Posted by bmroyer
so then what is the problem? I had the old vbadvanced, and deleted the cms index, then replaced with the new version of the cms index..would that be why?
Again, your problem is related to the connectivity to your MySQL database and not to this mod, so we could't help you in this topic. Sorry.
Reply With Quote
  #38  
Old 05 May 2005, 21:07
arob42 arob42 is offline
 
Join Date: Nov 2004
I need unique member visits

Can this hack be modified to report unique visits by members and guests? If not, any pointers before I go in and attempt the modification myself? Sure appreciate your help. Thanks.

--Robert
Reply With Quote
  #39  
Old 06 Jan 2006, 01:15
DesiFlavour DesiFlavour is offline
 
Join Date: Jul 2004
The instructions on the initial post by the author and the ones in the attached text file are different, which ones am i suppose to follow? I've followed the ones from the attached file only and the mod doesn't seem right... figures its showing simply cannot be accurate.

Help please?
Reply With Quote
  #40  
Old 29 Mar 2006, 12:23
photongbic's Avatar
photongbic photongbic is offline
 
Join Date: Oct 2005
Will this work with vB 3.5.4?
Reply With Quote
  #41  
Old 10 May 2006, 18:40
jerx jerx is offline
 
Join Date: Feb 2006
I don' t think it works with 3.5.4. Is anyone able to port this hack to 3.5.4? I am especially interested in the guest count.
Reply With Quote
  #42  
Old 15 Sep 2006, 21:43
MikeLR MikeLR is offline
 
Join Date: Sep 2006
Is there allready a version for 3.6.x? I'm interested in the counting of the guests.
Reply With Quote
  #43  
Old 27 Oct 2006, 11:18
wezoo wezoo is offline
 
Join Date: Apr 2006
i would like to count guests too !!!!
Reply With Quote
  #44  
Old 20 Jan 2007, 18:36
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
I'm having some problems with this hack.

It displays the statistics fine, but it doesnt reset after 24 hours. It just shows 24hours and the numbers keep going up. I did all the file edits/uploads.
Reply With Quote
  #45  
Old 18 Feb 2007, 04:52
Mysticales's Avatar
Mysticales Mysticales is offline
 
Join Date: Oct 2005
Hrm I wonder.. you see we had this on 3.0 and I know we got it working on 3.5.4 as well.. even external JS showing on html.. but issues is this.. if you get flooded with users.. it made your forums crawl to a stop. (2000+ users that is) which show up as a guest on forums..

Anyone have any new word on this? Seems the way we have it isnt caching anymore like it used to... Im willing to work with anyone who KNOWS javascript, external stats posting and understand how this loads.. which case we could work together to make it not only cache the data it gets.. but works right on external displaying.
__________________
~Battlez-avec la Mystique?~
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 15:42.

Layout Options | Width: Wide Color: