Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Visitor Totals Last 24hrs Details »»
Visitor Totals Last 24hrs
Version: 1.02, by tcs tcs is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-12-2005 Last Update: 11-15-2005 Installs: 34
Uses Plugins Template Edits
Code Changes  
No support by the author.

ported for 3.5.x.

It's a cool hack if you like to look at your total hits in a 24hr day from both members and guests.

1 PHP Modification to includes/cleanup.php
1 Template Mod. to Forumhome
1 Product Pluggin

Instructions and XML are in the zip.

I will support this hack but should be much trouble with it. Been running it since vB 2.2 I think.

When you first install this hack it will only track from the time the last sessions cleanup was completed. After a sessions cleanup it will start over or reset to 1hr again. Then track the hours in increments for 24hrs. Then clean out the sessions table and start over again. Sessions cleanups should normally occur at midnight.

This hack works if you remove the old code in the cleanup.php and replace it with the new information in the readme.

For information cleanout2.php dose not run hourly like implied in the cron tab. It is set for 5 min after midnight. Jelsoft set it that way and not sure why it is titled a hourly cleanup in the scheduled task. In any event it is needed to reset the script for the next day.

Good luck and I will do my best to answer any questions.

Thanks to Paul M. for pointing out a bug I kept overlooking.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 12-20-2005, 06:56 AM
groberthall groberthall is offline
 
Join Date: Jan 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No the damn thing reset at server midnight. I am ready to give up on this.
Reply With Quote
  #53  
Old 12-21-2005, 03:24 PM
ShawnV's Avatar
ShawnV ShawnV is offline
 
Join Date: Mar 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by groberthall
No the damn thing reset at server midnight. I am ready to give up on this.
Same,

Uninstalling this modification
Reply With Quote
  #54  
Old 12-22-2005, 12:52 PM
groberthall groberthall is offline
 
Join Date: Jan 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I guess it is doing what the author actually said it would do. It counts to 24 hours then resets itself.....

But what we actually want ( ) is something that keeps on counting by dropping hour 1 when it reaches hour 25. ( or better still, lets us set how long it will count for ( last 24 hours, last week, last month etc )

Any ideas ?
Reply With Quote
  #55  
Old 12-29-2005, 01:52 AM
LoOnEyToOnZ LoOnEyToOnZ is offline
 
Join Date: Mar 2004
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by groberthall
Well, I guess it is doing what the author actually said it would do. It counts to 24 hours then resets itself.....

But what we actually want ( ) is something that keeps on counting by dropping hour 1 when it reaches hour 25. ( or better still, lets us set how long it will count for ( last 24 hours, last week, last month etc )

Any ideas ?
Anyway to put this on vba portal also ?
Reply With Quote
  #56  
Old 12-29-2005, 04:30 PM
yayvb's Avatar
yayvb yayvb is offline
 
Join Date: Feb 2005
Location: CT
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Crap, by the name of the hack I thought it was going to drop off the 1st hour once it gets to the 25th hour, thus constantly showing a large number of users at all times. If it resets at midnight it will go back from the beginning and will not show how many people were in the last 24 hours.

Also, I am having the same problem where it shows 1 hours worth of people.
*EDIT - I changed the cleanup2.php file, I'll let you know if it doesn't help*
Reply With Quote
  #57  
Old 01-30-2006, 11:52 AM
tcs's Avatar
tcs tcs is offline
 
Join Date: Jun 2002
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yayvb
Crap, by the name of the hack I thought it was going to drop off the 1st hour once it gets to the 25th hour, thus constantly showing a large number of users at all times. If it resets at midnight it will go back from the beginning and will not show how many people were in the last 24 hours.

Also, I am having the same problem where it shows 1 hours worth of people.
*EDIT - I changed the cleanup2.php file, I'll let you know if it doesn't help*
It's an easy fix to do a 24hr from now hack instead of the Last 24hr. I will test now and get back with you on this.

I will also include vBadvanced CMPS mudule with it.
Reply With Quote
  #58  
Old 02-23-2006, 04:58 PM
3mr3 3mr3 is offline
 
Join Date: Oct 2004
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice, thank you
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04644 seconds
  • Memory Usage 2,272KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete