Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
BVShoutbox 1.0 Details »»
BVShoutbox 1.0
Version: 1.00, by Black Vivi Black Vivi is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-02-2004 Last Update: Never Installs: 40
 
No support by the author.

Features:
  • Displays vBCodes and other post code allowances. (Depending on what the use is allowed in their signatures [for now])
  • Admins can edit or delete shouts from the Admin CP.
  • Built-in /me code.
  • Archive page and IFrame on forumhome for shouting and reading.
  • Archive page has multiple pages.
  • Stats on archive page.

I plan to have added the following by the time vB 3.0.0 is released:
  • Uses phrases for the Admin CP and shoutbox.
  • Users can edit and delete their own shouts.
  • User and usergroup permissions for the shoutbox. (canview, canshout etc)
  • Seperate options for vBCodes in the shoutbox, instead of the same ones as for signatures.
  • More options in the Admin CP. (mass delete, mass edit etc)

This has been tested on vB3 Gamma and RC 1

A demo can be seen here:
http://www.rubb3rducky.com/index.php?
http://www.rubb3rducky.com/shoutbox.php?

Show Your Support

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

Comments
  #32  
Old 01-06-2004, 06:59 AM
thuffner's Avatar
thuffner thuffner is offline
 
Join Date: Mar 2003
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That works great monstergamer. Be sure to change the code twice in the template too, once for registered users and once for unregistered users.
Reply With Quote
  #33  
Old 01-06-2004, 03:12 PM
Black Vivi's Avatar
Black Vivi Black Vivi is offline
 
Join Date: Dec 2002
Location: United Kingdom
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that monstergamer.
I've updated the zip so there shouldn't be any bottom scroll with future users, and have sent an update.

I have an idea for the unknown location thing, which I will be testing in a while.
Reply With Quote
  #34  
Old 01-06-2004, 03:18 PM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Black Vivi
Thanks for that monstergamer.
I've updated the zip so there shouldn't be any bottom scroll with future users, and have sent an update.

I have an idea for the unknown location thing, which I will be testing in a while.
i well be happy to let you know if it works
glad to help fix that one prob
Reply With Quote
  #35  
Old 01-07-2004, 05:57 PM
Rocol Rocol is offline
 
Join Date: Jul 2003
Location: UK
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Black Vivi ... I am running vB RC2 and have just installed your shoutbox .. all went well and the shoutbox works perfectly .. however .. I still have the problem with all Logged in users appearing, on Who is Online, as Viewing the Shoutbox, even though they are elsewhere.

I have tried replacing the shoutbox.php, with both the updated versions .. but still the problem persists. Can you throw any light on a possible solution please


Edit .. all is Ok Now M8 .. looks as though it was a server prob .. uploaded the file a few times and it seems to have cured the problem .. Keep up the good work :up:
Reply With Quote
  #36  
Old 01-07-2004, 07:19 PM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rocol
@ Black Vivi ... I am running vB RC2 and have just installed your shoutbox .. all went well and the shoutbox works perfectly .. however .. I still have the problem with all Logged in users appearing, on Who is Online, as Viewing the Shoutbox, even though they are elsewhere.

I have tried replacing the shoutbox.php, with both the updated versions .. but still the problem persists. Can you throw any light on a possible solution please


Edit .. all is Ok Now M8 .. looks as though it was a server prob .. uploaded the file a few times and it seems to have cured the problem .. Keep up the good work :up:
what file did you upload the last shoubox file he released

yours still shows users Viewing Shoutbox when on the index
but guest and spiders are Viewing Index
Reply With Quote
  #37  
Old 01-08-2004, 12:41 AM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have to thank Rocol for this code that i am about to post here...
i did change it from what he gave me, but he get full credit for it
this code right here well now show the members VIEWING THE INDEX in the whos online
the only thing is that it shows them looking at the index when they are looking at the shoutbox.php but it dose not show Unknown Location any more...

to make this change
in includes/functions_online.php

FIND
PHP Code:
case 'bugs':
   
$userinfo['action'] = construct_phrase($vbphrase['viewing_x'], 'Bugs'); // Don't report 'bugs' as needing to be translated please :p
   
break; 
ADD BELOW THAT
PHP Code:
/// Shoutbox ///
  
case 'shoutbox':
   
$userinfo['action'] = $vbphrase['viewing_forum'];
   if (
$seeforum)
   {
    if (
$wol_link[$forumid])
    {
     
$userinfo['action'] = $vbphrase['followed_forum_link'];
    }
    
$userinfo['where'] = "<a href="forumdisplay.php?$session[sessionurl]f=$forumid">$forumtitle</a>";
   }
   break;
  
/// End Of Shoutbox /// 
FIND
PHP Code:
case 'bugs.php':
  
$userinfo['activity'] = 'bugs';
  break; 
ADD BELOW THAT
PHP Code:
/// Shoutbox ///
 
case 'shoutbox.php':
  
$userinfo['activity'] = 'index';
  break;
 
/// End Of Shoutbox /// 
Reply With Quote
  #38  
Old 01-08-2004, 05:08 AM
Tenpit Tenpit is offline
 
Join Date: Mar 2002
Location: UK
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great!

Just one thing, how would you make the Shouts automatically refresh, say every 30 seconds?

Thanks
Tenpit
Reply With Quote
  #39  
Old 01-08-2004, 02:37 PM
Souli Souli is offline
 
Join Date: Dec 2001
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK it is a very nice Hack - the best shoutbox here

First i found a small bug in the collapse code

old code
PHP Code:

Open the template FORUMHOME
Find this
:

$navbar

<!-- shoutbox -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="$stylevar[tablewidth]align="center">
<
thead>
    <
tr>
        <
td class="tcat" colspan="2">
            <
a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumhome_shoutbox')"><img id="collapseimg_forumhome_shoutbox" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_shoutbox].gif" alt="" border="0" /></a>
            <
a href="shoutbox.php?$session[sessionurl]">Shoutbox</a></td>
    </
tr>
</
thead>
<
tbody id="collapseobj_forumhome_shoutbox" style="$vbcollapse[collapseobj_forumhome_activeusers]">    <tr>
        <
td class="alt1" width="100%">
            <
iframe src="shoutbox.php?$session[sessionurl]do=iframe" width="100%" height="120" scrolling="no" frameborder="0" border="0" name="shoutbox"></iframe>
        </
td>
    </
tr>
</
tbody>
</
table>
<!-- 
end shoutbox -->

<
br /> 
My new code (replace it)

PHP Code:
<!-- shoutbox -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="$stylevar[tablewidth]align="center">
<
thead>
    <
tr>
        <
td class="tcat" colspan="2">
            <
a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumhome_shoutbox')"><img id="collapseimg_forumhome_shoutbox" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_shoutbox].gif" alt="" border="0" /></a>
            <
a href="shoutbox.php?$session[sessionurl]">Shoutbox</a></td>
    </
tr>
</
thead>
<
tbody id="collapseobj_forumhome_shoutbox" style="$vbcollapse[collapseobj_forumhome_shoutbox]">
    <
tr>
        <
td class="alt1" width="100%">
            <
iframe src="shoutbox.php?$session[sessionurl]do=iframe" width="100%" height="120" scrolling="no" frameborder="0" border="0" name="shoutbox"></iframe>
        </
td>
    </
tr>
</
tbody>
</
table>
<
br />
<!-- 
end shoutbox --> 
thx
Soul
Reply With Quote
  #40  
Old 01-08-2004, 03:42 PM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
OK it is a very nice Hack - the best shoutbox here

First i found a small bug in the collapse code
good work, i notice this when i frist installed it, but i just took the collapse code out
but thanx for making it work again

*updated shoutbox now*
Reply With Quote
  #41  
Old 01-08-2004, 05:21 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tenpit
This is great!

Just one thing, how would you make the Shouts automatically refresh, say every 30 seconds?

Thanks
Tenpit
In the shoutbox_main template:

Find:
HTML Code:
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
Add below:
HTML Code:
<meta http-equiv="refresh" content="15;URL=shoutbox.php?$session[sessionurl]do=main">
* You can change the "15" to however many seconds you wish.
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 01:44 AM.


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.04876 seconds
  • Memory Usage 2,363KB
  • 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_html
  • (6)bbcode_php
  • (4)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
  • (1)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_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