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 (or in the last 24 hours). Details »»
Members who have visited Today (or in the last 24 hours).
Version: 4.43, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.x Rating:
Released: 07-22-2006 Last Update: 10-06-2007 Installs: 3153
Uses Plugins Auto-Templates
Translations  
No support by the author.

This modification is no longer available or supported.

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 - however, see this thread to track guests.

The main features of the 3.6 version are basically the same as previous versions ;

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 mod is phrased.
8. The ability to turn it on/off is in the ACP Options.
9. The ability to allow only certain usergroups to view the list is an ACP option (include or exclude groups).
10. The switch between Visited Today and Rolling 24 Hours is an ACP option.
11. The listing of members can now be suppressed (a simple message is displayed instead).
12. The list of names can be set to be always collapsed on initial view.
13. The option to record and display the Most Ever visitors has been added (v4.43+).

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

Unzip the XML and import into vB using the ACP Product Manager.

To upgrade from the 3.5 version just re-import the product with the overwrite option set to yes.


EvilHawk has also updated his WVT on a seperate page, see this post.


History:

v4.30 : First version for 3.6, a number of bits have been re-written.
v4.31 : Dependancies updated for 3.6.0 Gold.
v4.32 : Updated for Version Checking.
v4.33 : Added options to disable/change auto template insert (not released).
v4.34 : Internal code changes (not released).
v4.35 : More Internal code changes.
v4.36 : Minor phrasing changes.
v4.37 : SQL Changes to use slave.
v4.38 : Added new template for username display code, modified always collapsed code.
v4.39 : Fix uncached template.
v4.40 : Fixed table index issues.
v4.41 : Moved auto-template options to mods main settings group.
v4.42 : Usergroup display and other options added. Updated to prevent loading user data when name display is disabled.
v4.43 : Most Ever visitors (members) option added.

Show Your Support

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

Comments
  #1042  
Old 02-22-2008, 06: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

You are in a different timezone to guests.
Reply With Quote
  #1043  
Old 02-22-2008, 11:51 PM
Robbey Robbey is offline
 
Join Date: Jan 2008
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
You are in a different timezone to guests.
All times are GMT -5. The time now is 08:49 PM.

My time is 8:49
Reply With Quote
  #1044  
Old 02-23-2008, 11:15 AM
Grintaci Grintaci is offline
 
Join Date: Jan 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EvilHawk View Post
WVT display on a seperate page (updated to version 4.40)
Thanks friend,

The hack is very good - CONGRATULATIONS - :up:

I translate this hack for the portuguese brazilian for use in my forum, you like, I send the translation for portuguese BR for you ok?

Best regards...
Reply With Quote
  #1045  
Old 02-23-2008, 12:13 PM
vigape vigape is offline
 
Join Date: Feb 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A good mod, installed and trying
Reply With Quote
  #1046  
Old 02-24-2008, 01:37 PM
Marka Ragnos Marka Ragnos is offline
 
Join Date: May 2007
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, installed!
Reply With Quote
  #1047  
Old 03-08-2008, 11:43 AM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Paul,

I have a question and hope you can help me

It's possible to display the information of members who has visited today only for certain usergroups? I want to have this enabled for my moderators and not for the users because my forum home page has a lot of subforums and a list of the members who has visited today (in my case, more than 60) just increases the scroll bar so it generates to new users the idea of that forum is loaded of subforums and I think it isn't a good at all.

If possible, in which part of the code may I add the conditional to only display it for some usergroups?

Thank you very much for your time... and your patience

Take care!

Jonathan.
Reply With Quote
  #1048  
Old 03-09-2008, 01:58 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

You would need to modify the SQL in plugin No.2 - adding a check for usergroupid.

Code:
SELECT * FROM ".TABLE_PREFIX."user FORCE INDEX (lastactivity)
WHERE lastactivity > $cutoff AND usergroupid IN (5,6,7) ORDER BY username
Reply With Quote
  #1049  
Old 03-09-2008, 02:54 AM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much Paul!
Reply With Quote
  #1050  
Old 03-12-2008, 08:48 AM
Thomas P's Avatar
Thomas P Thomas P is offline
 
Join Date: Oct 2001
Location: Munich, DE
Posts: 365
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack

Users are sorted alphabetically, will turning this off (removing the ORDER BY statement) improve performance as it is possible with the stock-vb settings?
Reply With Quote
  #1051  
Old 03-12-2008, 05:17 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

Im sure it would in theory, Id defy anyone to notice the difference other than by scanning the SQL statistics (unless maybe you had thousands of visitors per day).
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 08:51 AM.


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.05519 seconds
  • Memory Usage 2,314KB
  • 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
  • (1)bbcode_code
  • (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
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • 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