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
Cyb - Visitors in Last X Hours Details »»
Cyb - Visitors in Last X Hours
Version: 2.3, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.8 Rating:
Released: 10-01-2005 Last Update: 10-22-2007 Installs: 112
DB Changes Uses Plugins Template Edits
 
No support by the author.

=======
Release of this hack for vB v3.6:
https://vborg.vbsupport.ru/showthread.php?t=122999
=======


Features:
-Show how many users (members + guests) visited forum in last x hours
-Show members listing
-Show member last activity on mouse-over
-Invisible members are shown as "Invisible" for those who has no permissions to view them
-Option to add fake guests
-Optionally usergroups legend can be shown below VILXH box
-By default all usergroups where HTML tags are filled out will be listed in legend
-You can exclude usergroups from showing in legend
-You can exclude usergroups from viewing VILXH


Installation:
1. Import XML file (as product) - AdminCP > Plugin System > Manage Products > [Add/Import Product]

2. OPTIONAL (For customized styles where VILXH is not shown automatically):
-In FORUMHOME template add "$cyb_vilxh" after:
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>


Versions:
v1.0 - Oct 02. 2005.
-Initial release
v1.5 - Apr 25. 2006.
-Known bugs fixed
-Compatibility improved
v1.6 - Apr 25. 2006.
-Compatibility improved
-New: Usergroup legend
v1.7 - Aug 04. 2006.
-Release of this hack for vB v3.6
v1.8 - Aug 05. 2006.
-Uncached template bug fixed
v1.9 - Aug 14. 2006.
-Added last activity info on mouseover (format: date, time)
-Users who have chosen to be invisible while online will be shown as "Invisible" for those who has no permissions to view invisible members
-You can customize "Invisible" phrase or replace it with some icon or something in ACP (HTML)
-Last activity info will be shown for invisible members too when you mouse over "Invisible"
v2.0 - Oct 30. 2006.
-Whole code is now valid XHTML 1.0 Transitional
-Added option to exclude usergroups from viewing VILXH box
-Added option to hide usergroups from showing in legend
-Added "Product Version Checking"
v2.1 - Sep 17. 2007.
-New: Number of guests who visited forums in last x hours
-Option to add fake guests
-Option to disable automatic placement of VILXH box on forumhome
-Last activity info shown using today/yesterday for current and previous day
-Several minor bugs fixed
-Optimized and compatibility improved
v2.2 - Sep 25. 2007.
-Only selected usergroups are shown in the Usergroup Legend
-Usergroups with no HTML tags set are still automatically excluded
-You can choose the order of the usergroups in the legend
-Fixed bug where users are not displayed using tags from their default usergroup
v2.3 - Oct 23. 2007.
-New: Option to disable guest stats
-New: Option to hide completely invisible members
-New: Cut-off member list and show all on user request via AJAX
-Minor bug fixes


Live DEMO: http://www.bihforum.com

Show Your Support

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

Comments
  #12  
Old 10-02-2005, 12:56 PM
Brent H's Avatar
Brent H Brent H is offline
 
Join Date: Sep 2004
Location: Phoenix, AZ
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A couple weird things about this that you might want to fix... Your template begins with [doctype] ends with </html>...
Reply With Quote
  #13  
Old 10-03-2005, 12:03 AM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed this and it works great.

There's only one change that I can suggest as an improvement: You have the visitors_xh phrase (the phrase that says by default "Members who visited in last X hours") coded to be underlined. This makes it look like a link, but it's not. Other non-linked boxes down there, like Statistics and Today's Birthdays, are not underlined, so why does this one need to be? I've changed it on my board, for consistency (and thus making it seem more integrated) with the rest of vBulletin.
Reply With Quote
  #14  
Old 10-03-2005, 07:09 AM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

-Bugs fixed.
-Text in visitors_xh phrase is not underlined anymore.
-Version 1.1 released.

Import as product. Alow overwriting.
Reply With Quote
  #15  
Old 10-03-2005, 09:53 AM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about larger sites which get 6k members visiting per day, the table would be full..
Reply With Quote
  #16  
Old 10-03-2005, 10:01 AM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mentalrz
What about larger sites which get 6k members visiting per day, the table would be full..
You can set X parameter to smaller value. Last 12 hours or last 6 hours or last 1 hour for example
Reply With Quote
  #17  
Old 10-03-2005, 01:20 PM
trancetopia trancetopia is offline
 
Join Date: Feb 2005
Location: Wales, UK.
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I much prefer this to the visited today hack. Thanks for sharing Cybernetec, now installed.
Reply With Quote
  #18  
Old 10-03-2005, 01:24 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

Quote:
Originally Posted by trancetopia
I much prefer this to the visited today hack. Thanks for sharing Cybernetec, now installed.
Given that it looks the same, and both can do 24 hours, I'm curious as to why you 'much prefer' it ?
Reply With Quote
  #19  
Old 10-03-2005, 02:13 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The function for adjusting X hours in the Admin CP is nice. Don;t mean to be rude but why would take the time to make a plug in that has been made. Why not have built an add on to Paul M's hack for adjusting the time in the Admin CP?
Reply With Quote
  #20  
Old 10-03-2005, 10:26 PM
phonexpo phonexpo is offline
 
Join Date: Sep 2005
Location: Dublin
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thanks Cybernetec
Reply With Quote
  #21  
Old 10-04-2005, 04:14 AM
Lt. Dan Lt. Dan is offline
 
Join Date: Feb 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great!
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:32 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.05016 seconds
  • Memory Usage 2,299KB
  • 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
  • (2)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
  • (3)pagenav_pagelink
  • (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