Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VSa - Visitors In Last X Hours Details »»
VSa - Visitors In Last X Hours
Version: 3.0.5, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Statistics Modifications - Version: 4.x.x Rating:
Released: 01-16-2010 Last Update: 10-09-2013 Installs: 910
Uses Plugins Auto-Templates
 
No support by the author.

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:
-Import XML file (as product) - AdminCP > Plugin System > Manage Products > [Add/Import Product]

Versions:
v1.0 - Oct 02. 2005.
-Initial release
v2.4 - Apr 30. 2008.
-Latest 3.x version
v3.0 - Jan 17. 2010.
-Updated for vBulletin 4.x
-Mod prefix (Cyb) changed to 'VSa'
v3.0.2 - Jan 19. 2010.
-Fixed another php error
v3.0.3 - Oct 21. 2010.
-Fixed vB 4.0.8 style issues
v3.0.4 - Oct 23. 2010.
-Fixed some style issues
v3.0.5 - Oct 10. 2013.
-Fixed some PHP errors in 4.2.2

Download Now

File Type: zip VSa - Visitors In Last X Hours v3.0.5.zip (4.4 KB, 1434 views)

Screenshots

File Type: jpg vilxh.jpg (85.7 KB, 0 views)
File Type: jpg acp.jpg (261.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
7 благодарности(ей) от:
b00k, Marcin147, misericorde, Teascu Dorin, Ulquiorra1, vBarsiv, yin9

Comments
  #152  
Old 04-30-2013, 03:17 PM
vivapotenza vivapotenza is offline
 
Join Date: May 2012
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alternatively to the above question, Is there any way to hide ALL the names? and only show the one line quoting the members and guests figures in the last XX hours?
Reply With Quote
  #153  
Old 05-14-2013, 12:41 AM
Spun2U Spun2U is offline
 
Join Date: Nov 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod! Thanks for creating it.

But, I'm disabling it until I can modify which usergroups get displayed. I don't want Users Awaiting Moderation to show.
Reply With Quote
  #154  
Old 05-24-2013, 10:30 AM
vivapotenza vivapotenza is offline
 
Join Date: May 2012
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ more or less in the same boat as me then, trying to exclude a certain usergroup. It would be great if the coder could be of some assistance.
Reply With Quote
  #155  
Old 06-25-2013, 05:48 AM
blg63rm26 blg63rm26 is offline
 
Join Date: May 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Currently, I don't seem to have the hide_errors() problem, but in case this helps others who are on vBulletin v4.1:
  1. forumhome_complete: at this hook location, I replaced the call to PHP function split() by explode() in the actual plugin code.
  2. misc_start: ditto.

Before I made the above changes, I was getting a deprecation warning for function split(). After I made the above changes, the deprecation warning went away, and I think 'tis all working...

In order to access the plugin code you have to go via AdminCP > Plugins & Products > Plugin Manager.

Hope this helps.
Reply With Quote
  #156  
Old 06-28-2013, 06:30 AM
john7911 john7911 is offline
 
Join Date: Feb 2013
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the Product

Quote:
Originally Posted by chelssi View Post
Hi,

When I put the mouse over one user shows "today, H:i" doesn't show the time.

Thanks,
I have the same thing, how can I fix it
How can I translate "Registered Users - Administrators - Moderators" to French?


Thank you :up:
Reply With Quote
  #157  
Old 07-02-2013, 07:14 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After upgrade to 4.2.1, "total visitors" always =1 !
for example, 500 members and 1 visitors !
Reply With Quote
  #158  
Old 08-19-2013, 11:34 AM
muimui muimui is offline
 
Join Date: Apr 2013
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how to delete usergroup legend under list user?
Reply With Quote
  #159  
Old 09-14-2013, 01:26 PM
bntyemen bntyemen is offline
 
Join Date: Apr 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need Visitors In Last X Hours in forum sideblock
Reply With Quote
  #160  
Old 10-09-2013, 09:54 AM
foreigner_tr's Avatar
foreigner_tr foreigner_tr is offline
 
Join Date: Aug 2007
Location: Turkey
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i upgraded from 4.2.1 to 4.2.2 and a message appeared on top of my forum:
"Warning: Function split() is deprecated in ..../forum.php(791) : eval()'d code on line 2"
and i found out that its because of Visitors In Last X Hours plugin. i disabled the plugin and error message went away.
what can i do to fix this?
Reply With Quote
  #161  
Old 10-09-2013, 10:09 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ACP --> Plugins & Products -->Plugin Manager find the one that is titled, VSa - VILXH - SA, in that plugin find
Code:
if (($_REQUEST['show']=='vilxh_users') AND $vbulletin->options['vsa_visitorslastx_enable'] AND ($vbulletin->options['vsa_visitorslastx_cutoff']>0) AND !is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))
        {
Change it to this:
Code:
if (($_REQUEST['show']=='vilxh_users') AND $vbulletin->options['vsa_visitorslastx_enable'] AND ($vbulletin->options['vsa_visitorslastx_cutoff']>0) AND !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))
        {
Then in the plugin titled, VSa - VILXH - MN, find,
Code:
if ($vbulletin->options['vsa_visitorslastx_enable'] AND !is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))
Change it to this,
Code:
if ($vbulletin->options['vsa_visitorslastx_enable'] AND !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))
Reply With Quote
Благодарность от:
Terrona
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 11:04 AM.


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.05084 seconds
  • Memory Usage 2,350KB
  • Queries Executed 28 (?)
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
  • (4)bbcode_code
  • (1)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (8)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete