Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Members who have visited today. Details »»
Members who have visited today.
Version: 4.1.11.0, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.1.11 Rating:
Released: 08-22-2009 Last Update: 05-23-2012 Installs: 2282
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.


--------------------------------------------------------------------------------
This modification has been withdrawn.
vBulletin 4.0.x and 4.1.x are no longer supported.

The feature is already built into the core vBulletin 4.2.x code.
--------------------------------------------------------------------------------


This adds a simple display of all members who have visited the forum - either today (i.e. since the users midnight) or in the last 24 hours.

This modification cannot count guests, it is members only.

Note that installing this will automatically remove the "Member Tracking" modification.

The main features of the vB4 version are as follows ;

1. It displays the list on the Forum Home.
2. Invisible users are only displayed to those allowed to see them (with a "*")
3. Users who should display as coloured or bold etc will be displayed correctly (based on the display usergroup).
4. If you 'hover' over a username it will show the time they were last active.
5. The list is in member name order.
6. The ability to turn it on/off is in the ACP Options.
7. The ability to allow only certain usergroups to view the list is an ACP option (include or exclude groups).
8. An option to record and display the Most Ever Members can be enabled.
9. The switch between Visited Today and Rolling 24 Hours is an ACP option.
10. The listing of members can be suppressed (a simple message is displayed instead).
11. The list view is collapsable, so you just see the number .
12. The display can be set as always collapsed on initial page load.

(Options are in vBulletin Options > Who has visited today)

To install just download the XML and import into vB using the ACP Product Manager.


History:

v4.0.1 : 21-Dec-2009 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 22-Dec-2009 : Minor display changes (Icon).
v4.0.3 : 24-Dec-2009 : Install code updates.
v4.0.4 : 16-Jan-2010 : Added always collapsed option.
v4.0.5 : 26-Jan-2010 : Various updates.
v4.0.6 : 18-Feb-2010 : Installer update.
v4.0.7 : 29-May-2010 : Fix error in upgrade section of install code.
v4.0.8 : 22-Oct-2010 : Fixed for WGO style changes in vB 4.0.8.
v4.0.9 : 06-Nov-2010 : Install code updated.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.
v4.1.8.0 : 18-Nov-2011 : Updated for vBulletin 4.1.8 onwards (only).
v4.1.11.0 : 03-Mar-2012 : Updated for vBulletin 4.1.11 image changes.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
11 благодарности(ей) от:
beishe8, businessmeet, fpattberg, fxwoody, Hippy, mcyates, misericorde, mohammadxxx, mrblista, Ricsca, zbahadir

Comments
  #12  
Old 08-24-2009, 10:33 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
I have no way of testing that since I dont use memcache, but could you be a little more specific than "does not work"
Hehe, sure
(In fact I didn't test it, I just looked at the code):
You are calling do_fetch(), which does work just fine for connectionless caches like APC, XCache, eAccelerator.

Memcache however does need a connection, and do_fetch() does not check if there is one - so you end up with an error (or a segfault in worst case).
Reply With Quote
  #13  
Old 08-24-2009, 11:23 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So this is a bug in vbulletin, the memcache class should check/create a connection when do_fetch() is used.

As it happens, that code only runs if maxloggedin does not exist, which should never be the case on the forumhome, it was a backup in case the code was run on other pages (which used to be an option, but got removed in the 3.8 version). So even if you run memcache, this should actually always work.

In fact, I think I can take out the datastore fetch, as the reason for it being there no longer exists.
Reply With Quote
  #14  
Old 08-24-2009, 11:24 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by veenuisthebest View Post
Obviously, so like I have XCache installed. How do I test now?
Sorry, I dont really understand what you are asking.
Reply With Quote
  #15  
Old 08-24-2009, 11:41 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, as do_fetch() is a "private" method that really only gets called from within the class - you are abusing it by calling it from the outside
Reply With Quote
  #16  
Old 08-24-2009, 12:08 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then it should be set as private so it can't be used from outside the class.
Reply With Quote
  #17  
Old 08-24-2009, 12:08 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Abusing it, lol, a bit extreme

I havent looked at that for a couple of years, since I first played with it, but yes, I presume fetch() should be used.
Reply With Quote
  #18  
Old 08-26-2009, 02:34 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Build 13 - added the collapse option back.
Reply With Quote
  #19  
Old 08-26-2009, 08:39 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden View Post
Then it should be set as private so it can't be used from outside the class.
If it was PHP 5 code - sure.
But it is PHP 4 code still.
Reply With Quote
  #20  
Old 09-09-2009, 07:09 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Build 16 uploaded.

Various changes based on testing and learning of vb4.
Reply With Quote
  #21  
Old 11-15-2009, 03:05 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Paul this is one of the many mods I use
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 04:19 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.05207 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
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
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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