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
  #42  
Old 02-17-2006, 02:21 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm.... I tested the snipped posted, in FF and IE - both worked fine.

So I have no clue why it's so off for you.
But you can try to put the shoutbox and the WOL inside a table, as a workaround.

To do this, replace the snippet post by this one:
Code:
					<table width="100%"><tr><td width="88%">
					<div id="vbshout" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:100%;float:left;">
						Loading...
					</div>
					</td><td width="12%">
					<div id="vbshoutwol" class="alt2" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:100%;float:right;">
					<div id="vbshoutwolhd" class="tcat">Shouting:</div>
					<div id="vbshoutwolusers">
						Loading...
					</div>
					</div>
					</td></tr></table>
This puts it into a table with one row for the shoutbox itself and one for the WOL.
Reply With Quote
  #43  
Old 02-17-2006, 08:41 AM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellcat
Hmm.... I tested the snipped posted, in FF and IE - both worked fine.

So I have no clue why it's so off for you.
But you can try to put the shoutbox and the WOL inside a table, as a workaround.

To do this, replace the snippet post by this one:
Code:
					<table width="100%"><tr><td width="88%">
					<div id="vbshout" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:100%;float:left;">
						Loading...
					</div>
					</td><td width="12%">
					<div id="vbshoutwol" class="alt2" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:100%;float:right;">
					<div id="vbshoutwolhd" class="tcat">Shouting:</div>
					<div id="vbshoutwolusers">
						Loading...
					</div>
					</div>
					</td></tr></table>
This puts it into a table with one row for the shoutbox itself and one for the WOL.
Thanks, works like a charm !
But one thing though: am I totally off or don't you have to use z-index (layers) on divs if you want to place them beside eachother?
I mean, a div "owns" the row it is in, as you can set it to left, center and right.

That's my experience as a html/css coder =\
Reply With Quote
  #44  
Old 02-17-2006, 11:25 PM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All I did was in the forumhome_vbshout, in this part here...

Code:
    <div id="vbshout" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:88%;float:left;">
      Loading...
    </div>

    <div id="vbshoutwol" class="alt2" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:12%;float:left;">
      <div id="vbshoutwolhd" class="tcat">Shouting:</div>
      <div id="vbshoutwolusers">
        Loading...
      </div>
    </div>
    <div style="clear:both;"><img src="$vboptions[cleargifurl]" border="0" hight="1" width="1" /></div>
...I deleted the part in red, the: class="alt2". And it's working like a charm in IE and FF.
Reply With Quote
  #45  
Old 03-10-2006, 12:34 AM
OWNAGE TIME OWNAGE TIME is offline
 
Join Date: Feb 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So xbf2.com/forums in firefox its going under it. Anyhelp.

~Ownage
Reply With Quote
  #46  
Old 03-10-2006, 01:24 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OWNAGE TIME
So xbf2.com/forums in firefox its going under it. Anyhelp.

~Ownage
Some people seem to have this.
See a few posts above for some ways to get it right
Reply With Quote
  #47  
Old 03-23-2006, 06:20 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wol is not refreshing automatically, you must refresh the whole page to get it to show who is online.

Am i doing something wrong?
Reply With Quote
  #48  
Old 04-05-2006, 09:38 PM
zell_11 zell_11 is offline
 
Join Date: Dec 2004
Location: Edinburgh- Scotland
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is errors in Fire Fox with it not being at the side but at the bottom. Anyway to fix this?
Reply With Quote
  #49  
Old 04-05-2006, 09:44 PM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zell_11
There is errors in Fire Fox with it not being at the side but at the bottom. Anyway to fix this?
Yes by reading this whole thread? Hehe, just messing but post number #43 or so:
Quote:
Originally Posted by o0Hubba0o
All I did was in the forumhome_vbshout, in this part here...

Code:
    <div id="vbshout" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:88%;float:left;">
      Loading...
    </div>

    <div id="vbshoutwol" class="alt2" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:12%;float:left;">
      <div id="vbshoutwolhd" class="tcat">Shouting:</div>
      <div id="vbshoutwolusers">
        Loading...
      </div>
    </div>
    <div style="clear:both;"><img src="$vboptions[cleargifurl]" border="0" hight="1" width="1" /></div>
...I deleted the part in red, the: class="alt2". And it's working like a charm in IE and FF.
I had the same problem as you and this is how I fixed it.
Reply With Quote
  #50  
Old 04-12-2006, 01:18 PM
ShadowOne ShadowOne is offline
 
Join Date: May 2005
Location: Tampa
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellcat
Hmm.... I tested the snipped posted, in FF and IE - both worked fine.

So I have no clue why it's so off for you.
But you can try to put the shoutbox and the WOL inside a table, as a workaround.

To do this, replace the snippet post by this one:
Code:
					<table width="100%"><tr><td width="88%">
					<div id="vbshout" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:100%;float:left;">
						Loading...
					</div>
					</td><td width="12%">
					<div id="vbshoutwol" class="alt2" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:100%;float:right;">
					<div id="vbshoutwolhd" class="tcat">Shouting:</div>
					<div id="vbshoutwolusers">
						Loading...
					</div>
					</div>
					</td></tr></table>
This puts it into a table with one row for the shoutbox itself and one for the WOL.

That Fixed The Problem For Me On Firefox...
Reply With Quote
  #51  
Old 04-28-2006, 12:56 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the hack. I have it installed on my forums.

www.bonethugsforums.com
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 05:55 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.06674 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
  • (5)bbcode_code
  • (5)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