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
"Who Is Online (Shouting)" in the vbShout shoutbox Details »»
"Who Is Online (Shouting)" in the vbShout shoutbox
Version: 1.00, by Hellcat Hellcat is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-22-2006 Last Update: 01-23-2006 Installs: 124
Template Edits
Additional Files  
No support by the author.

The original vbShout is required for this (obviously) and can be downloaded here:
https://vborg.vbsupport.ru/showthread.php?t=93097


Because my members keep using the shoutbox more as a chat room, they asked if it would be possible to get a list of users currently online/participating in the shoutbox.
OK, and this is what I smashed together as an answer to this request

This addon adds an IRC like userlist to the right side of the shoutbox.
Like the shoutbox itself, the userlist gets updated with AJAX calls as well, so it's always up-to-date, no reloading required

Technically it shows a list of everyone who shouted in the last three minutes.
Who hasn't shouted for three minutes is considered "to be somewhere else" and no longer available to talk to, and so does not get listed anymore.


*INSTALLATION*
================
Is pretty easy.
Just upload the "vbshoutwol.php" to your forums root (i.e. .../forum/) and do the two edits (described in the README) to the "forumhome_vbshout" template for all styles you wanna use the WOL list on.

If you have the "Template Manager" installed on your board you can simply import the template .XML also included in this archive - this saves you the manual edits

"Template Manager" can be found here:
https://vborg.vbsupport.ru/showthread.php?t=91038

Have fun!

Show Your Support

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

Comments
  #22  
Old 01-24-2006, 09:26 PM
S@NL - BlackBik's Avatar
S@NL - BlackBik S@NL - BlackBik is offline
 
Join Date: Jul 2004
Location: Netherlands
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seemes that in FireFox the HTTP_REFERER isn't always given.
I tried this: if ($_SERVER['HTTP_REFERER'] == "") { $HTTP_REFERER = "http://my.page.nl/"; }
But that doesn't do the trick.
Any ideas?
Reply With Quote
  #23  
Old 01-25-2006, 12:23 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by S@NL - BlackBik
It seemes that in FireFox the HTTP_REFERER isn't always given.
I tried this: if ($_SERVER['HTTP_REFERER'] == "") { $HTTP_REFERER = "http://my.page.nl/"; }
But that doesn't do the trick.
Any ideas?
I will take a look into this.... can't promise anything, but I'll try
[high]* Hellcat fires up FireFox[/high]
Reply With Quote
  #24  
Old 01-25-2006, 09:20 AM
mbader71 mbader71 is offline
 
Join Date: Jul 2005
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to change the three minutes limit and how??
Reply With Quote
  #25  
Old 01-25-2006, 09:46 AM
S@NL - BlackBik's Avatar
S@NL - BlackBik S@NL - BlackBik is offline
 
Join Date: Jul 2004
Location: Netherlands
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellcat
I will take a look into this.... can't promise anything, but I'll try
[high]* Hellcat fires up FireFox[/high]
Thanks in advance, Hellcat
Reply With Quote
  #26  
Old 01-25-2006, 09:47 AM
S@NL - BlackBik's Avatar
S@NL - BlackBik S@NL - BlackBik is offline
 
Join Date: Jul 2004
Location: Netherlands
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ze_roberto
Great Hack, Congratz!

I'm actually going to transfer the shoutbox on the Javachat page, in order to have a multiple shoutbox / irc java chat page

Just a quick question: Is the one below the line to manipulate the time a user is show to be "online" ?

PHP Code:
$tframe time() - (60 3); 
I guess the "3" is the number in minutes (vbshoutwol.php, line 8)

cheers, ze :raucher:
@mbader71: Change 3 into any limit you want
This line is found in vbshoutwol.php at line #8
Reply With Quote
  #27  
Old 01-25-2006, 09:52 AM
mbader71 mbader71 is offline
 
Join Date: Jul 2005
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by S@NL - BlackBik
@mbader71: Change 3 into any limit you want
This line is found in vbshoutwol.php at line #8
thank you :up:
Reply With Quote
  #28  
Old 01-25-2006, 06:48 PM
Freakpyromaniac Freakpyromaniac is offline
 
Join Date: Feb 2005
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

***INstalled***
With the template manager all work perfect and been done in 2 minutes.

Thnx m8
Reply With Quote
  #29  
Old 01-26-2006, 04:38 AM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, yea I uploaded it to the wrong folder haha
Reply With Quote
  #30  
Old 01-26-2006, 02:58 PM
rantrave's Avatar
rantrave rantrave is offline
 
Join Date: Feb 2005
Location: Texas
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HellCat
This addon adds an IRC like userlist to the right side of the shoutbox.
Like the shoutbox itself, the userlist gets updated with AJAX calls as well, so it's always up-to-date, no reloading required
I'm finding that it only updates if you, the user, is typing into the shoutbox. If you are just reading the previous shouts, it does not update along with shouts that are being cast. Any ideas?
Reply With Quote
  #31  
Old 01-29-2006, 11:28 AM
S@NL - BlackBik's Avatar
S@NL - BlackBik S@NL - BlackBik is offline
 
Join Date: Jul 2004
Location: Netherlands
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellcat
I will take a look into this.... can't promise anything, but I'll try
[high]* Hellcat fires up FireFox[/high]
I've been looking in it for myself and I found a "quick and dirty" sollution.
At the top of the script I added this line:
Code:
error_reporting(E_ALL ^ E_NOTICE);
This supresses the Notice errors.
It's not pretty, but it does the trick in Firefox


Edit: Actualy I see this code a lot in vBulletin scripts. I guess it's not so dirty after all
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 11:09 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.05350 seconds
  • Memory Usage 2,316KB
  • 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
  • (1)bbcode_php
  • (6)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
  • (4)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