Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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

Category: Forum Home Enhancements - Version: 3.8.x Rating:
Released: 11-15-2008 Last Update: 11-25-2008 Installs: 1833
Uses Plugins Auto-Templates
Translations  
No support by the author.

As of 24 Nov 2017 this modification has been withdrawn.

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.

Note: it is not possible for this hack to count guests.

The main features of the 3.8 version are as follows ;

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

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

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

Template Hook

Please note that this modification uses the following template hook in the FORUMHOME template ;

forumhome_wgo_pos2

This must be present in any customised template/style you are using, otherwise this modification will not display.



History:

v3.8.001 : Initial version for vB 3.8.x
v3.8.002 : Fix Most Ever Display Bug.

Show Your Support

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

Comments
  #2  
Old 11-17-2008, 08:06 AM
jerx jerx is offline
 
Join Date: Feb 2006
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! Just updated this mod. Old version was removed automatically and new was installed without loosing any data.

Edit: The vbadvanced module stops working with this update. The reason is that it uses a different hook location (forum_start instead of global_start). I have changed it to global_start again and the module works. Is it ok to do so?
Reply With Quote
  #3  
Old 11-17-2008, 09:43 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

Not really a good idea, it means the code runs on every vb page visited, even though its only ever used/displayed on the Forum Home. I would have thought fixing the VBA module would be better.
Reply With Quote
  #4  
Old 11-25-2008, 05:59 PM
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
Senior Member
 
Join Date: Aug 2002
Location: France
Posts: 515
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this update, but I've found a little bug in the 'forumhome_start' hook.

The code for displaying the 'Most Ever Members' line is defined and set after the eval of the template, and the part of code is useless. I've edited it to place the eval code after all (before the last } ).

Another thing: in the same piece of code, you have this:

PHP Code:
    if ($vbulletin->options['wvtmost'])
    { 
        [...]

        if (
$vbulletin->options['wvtmost'])
        {
            [...]
        }
    } 
Maybe you can remove one condition
Reply With Quote
  #5  
Old 11-26-2008, 12:24 AM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, glad to see old favorites for 3.8!!
Reply With Quote
  #6  
Old 11-26-2008, 03:44 AM
Medtech's Avatar
Medtech Medtech is offline
 
Join Date: Oct 2007
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Definately glad to see this one! thanks and works like a charm
Reply With Quote
  #7  
Old 11-26-2008, 08:51 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 PitchouneN64ngc View Post
Thanks for this update, but I've found a little bug in the 'forumhome_start' hook.

The code for displaying the 'Most Ever Members' line is defined and set after the eval of the template, and the part of code is useless. I've edited it to place the eval code after all (before the last } ).

Another thing: in the same piece of code, you have this:

PHP Code:
    if ($vbulletin->options['wvtmost'])
    { 
        [...]

        if (
$vbulletin->options['wvtmost'])
        {
            [...]
        }
    } 
Maybe you can remove one condition
Yes, I know about the most users bug - it was spotted in another of my mods the other day - it affects a number of them and I wont have time to fix them all for a few days.

Thanks for pointing it out tho.
Reply With Quote
  #8  
Old 11-27-2008, 07:40 AM
jerx jerx is offline
 
Join Date: Feb 2006
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ignore my post. I forget too quickly lately.
Reply With Quote
  #9  
Old 11-27-2008, 04:59 PM
beishe8 beishe8 is offline
 
Join Date: Nov 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could not install because this error message:
Quote:
The following dependencies were not met:
This product is not compatible with version 3.8.0 Beta 4 of vBulletin. (Compatible starting with 3.6.0 / Incompatible with 3.6.99 and greater)
Reply With Quote
  #10  
Old 11-27-2008, 05:10 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

You cannot possibly get that message if you downloaded it from this thread.
Reply With Quote
Reply

Thread Tools

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 01:56 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.08046 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_php
  • (2)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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