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: 3.7.004, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.x Rating:
Released: 12-22-2007 Last Update: 11-25-2008 Installs: 1878
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.

The main features of the 3.7 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 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 be suppressed (a simple message is displayed instead).
12. The list of names can be set to be always collapsed on initial view.
13. An option to record and display the Most Ever Members can be enabled.

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

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



History:

v3.7.001 : Initial version for vB 3.7.
v3.7.002 : Installation Code Updated.
v3.7.003 : Updated to remove potential $group variable name clash.
v3.7.004 : Updated to use template hook if available.

Show Your Support

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

Comments
  #212  
Old 08-21-2008, 09:56 AM
Sym0n Sym0n is offline
 
Join Date: Jul 2003
Location: Manchester
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A lot of damage PMSL. At least back this claim up so that I know what I'm meant to of done wrong and can learn.

The original code is taken directly from vb.com, as linked, and adapted to change the value shown by your mod. I informed people to double check it first, I'm not a SQL coder as should be apparent and do not pretend to be, but as it worked for me on my test, and now live, site I figured someone else with more knowledge would be able to take it and clean it up/refine it. But more then anything I thought it might actually help some people with, what looks to be, a common problem.

As far as I can see the only other dates/values that would be reset is the 'Most users ever online' value, which I wanted it to do as both needed resetting.

You state there is no easy way, but then tease people that if they had knowledge and experience that they could do it. So why not just explain how it's done and let people then decide themselves if they have the relevant knowledge or experience to take the task on and make the change(s) properly?
Reply With Quote
  #213  
Old 08-21-2008, 12:48 PM
Jhonnyf's Avatar
Jhonnyf Jhonnyf is offline
 
Join Date: Nov 2007
Location: In my mind
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sym0n View Post
Nope, well saying that depends on what you want to reset. If you wanted to reset the counter to 0 with todays date then yes a simple SQL query on datastore to change the value to 0 with todays date then the following:
Code:
UPDATE datastore SET data = 'a:4:{s:9:"maxonline";i:0;s:13:"maxonlinedate";i:1219276801;s:15:"maxvisitorsdate";i:1219276801;s:11:"maxvisitors";i:0;}
(I think, so double check it before you run it and don't blame me if it wrecks your DB lol)

However if you want to reset the max users online figure with a date in the past you'd need to change that query so that the bits in red fit your criteria. To calculate the date in unix time I've used this online calculator.

Anyway further details, written by someone who has a clue of what they are talking about, can be found HERE.

Sy
Thank you, but Paul have reason

Quote:
Originally Posted by Paul M View Post
Dont run that query as is, it will cause a lot of damage as it as it doesnt specifically reference the maxloggedin record, but even if it did - running it will wipe out other dates/values stored in that record.

Like I said, there is no easy way. Most things can be done if you have the knowledge and experience.
I thought that this value is inside a custom table and not inside a vBulletin table

But I remembered that one time this counter was restarted alone...
Reply With Quote
  #214  
Old 08-21-2008, 09:28 PM
Richard Zenteno Richard Zenteno is offline
 
Join Date: Aug 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed..Thanks
Reply With Quote
  #215  
Old 08-22-2008, 01:36 AM
DannyITR DannyITR is offline
 
Join Date: Jan 2002
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know if I change my cookie setting to more than 15 min I can increase my online users. I was wondering if it is possible to display users online in the last 30min, 1hr, 3hrs etc as a method to spike the number but keep the 15 min setting for cookies?
Reply With Quote
  #216  
Old 08-23-2008, 05:22 PM
Buffenie Buffenie is offline
 
Join Date: May 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Thank you!
ver. 3.7.2 PL 2
Reply With Quote
  #217  
Old 08-25-2008, 09:14 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 DannyITR View Post
I know if I change my cookie setting to more than 15 min I can increase my online users. I was wondering if it is possible to display users online in the last 30min, 1hr, 3hrs etc as a method to spike the number but keep the 15 min setting for cookies?
Nope, not with this.
Reply With Quote
  #218  
Old 08-25-2008, 11:50 AM
Ray2khax Ray2khax is offline
 
Join Date: Aug 2008
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod! Iv been looking for something like this thanks so much
Reply With Quote
  #219  
Old 08-26-2008, 10:57 PM
CapitanoN6 CapitanoN6 is offline
 
Join Date: Nov 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to add visitors?
Reply With Quote
  #220  
Old 08-27-2008, 09:49 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 CapitanoN6 View Post
to add visitors?
Sorry, this post doesnt make much sense to me.
Reply With Quote
  #221  
Old 08-27-2008, 10:27 AM
sherwood sherwood is offline
 
Join Date: May 2008
Location: United Kingdom
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works on vb 3.7.3.

Also is there a way to make it show how many guests have been online within 24 hours??
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 06:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10934 seconds
  • Memory Usage 2,312KB
  • Queries Executed 27 (?)
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
  • (4)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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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