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

Reply
 
Thread Tools
vB Shoutbox 1.0 Details »»
vB Shoutbox 1.0
Version: 1.00, by TWTCommish TWTCommish is offline
Developer Last Online: Dec 2022 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-15-2002 Last Update: Never Installs: 263
 
No support by the author.

Well, people wanted it, so here it is: a vB-integrated Shoutbox. It's a little different than the one they used to have on this site, however. The moderation functions are VERY basic...but they'll be improved for 2.0, most likely, if there's any interest.

A short breakdown:
  • It's a chatroom-esque page that everyone can use.
  • Shouts that day, shouts in last 24 hours, shouts by YOU, and total shouts, are all tracked.
  • Leaderboard (top shouters) is tracked.
  • Clickable smilies automatically added below the add shout box.
  • "delete" link shown on all shouts if you're an admin or a moderator (usergroupids 5, 6, and 7 by default).
  • bbCode parsing included.
Attached is an archive containing all the files you'll need for the basic installation, AND for the optional features. NOTE: the vBHacker compatible file included within does NOT constitute a full installation. You'll still need to upload the shoutbox.php file to your main forums directory.

Enjoy. Here's a live demo: http://www.movieforums.net/shoutbox.php

Show Your Support

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

Comments
  #292  
Old 11-08-2002, 06:55 PM
edwardandtubbs1 edwardandtubbs1 is offline
 
Join Date: Oct 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I kepted getting an error. but I read the thread and sorted by my self.

great hack.
Reply With Quote
  #293  
Old 11-09-2002, 10:26 PM
a43079's Avatar
a43079 a43079 is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry i loaded the hack and this is the error i am getting

Warning: unexpected error in date() in C:\Program Files\Apache Group\Apache2\htdocs\forums\admin\functions.php on line 1599

Please Help
Reply With Quote
  #294  
Old 11-17-2002, 10:07 PM
Tony DiMera's Avatar
Tony DiMera Tony DiMera is offline
 
Join Date: Aug 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is really cool.
Reply With Quote
  #295  
Old 11-20-2002, 04:30 PM
Mathiau's Avatar
Mathiau Mathiau is offline
 
Join Date: Jan 2002
Location: Costa Rica and toronto
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey all

I am not using vb portal or anything, but i was curious how exactly i can put the shoutbox down the right or left side of my forum as i have my forums Main Table Width @ 50% so i have room to do that..

all help is appreciated.
Reply With Quote
  #296  
Old 11-25-2002, 12:11 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a quick question - is it possible to limit the number of characters per shout?

Some of my users have been posting shouts that are more like mini-novels, and its throwing my entire front page out of whack!
Reply With Quote
  #297  
Old 11-26-2002, 04:58 PM
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A quick improvement to the shoutbox_postshout template:

This allows you to limit the characters posted by checking the form onsubmit. Javascript taken from here because I'm lazy. Replace the shotubox_postshout template with:

Code:
<script Language="JavaScript">
<!-- 
function Length_TextField_Validator()
{
if ((vbform.message.value.length < 3) || (vbform.message.value.length > 500))
{
mesg = "You have entered " + vbform.message.value.length + " character"
if (vbform.message.value.length != 1) {
mesg = mesg + "s"
}
mesg = mesg + ".\nValid entries are between 3 and 500 characters.\n"
alert(mesg);
vbform.message.focus();
return (false);
}
return (true);
}
-->
</script>

<table cellpadding="5" cellspacing="0" border="0"  width="100%">
  <form action="/edge/shoutbox.php" method="post" name="vbform" onsubmit="return Length_TextField_Validator()">
  <input type="hidden" name="type" value="shout">
  
  <tr>
    <td bgcolor="#006633" width="100%"><normalfont color="#FFCC00"><b>Send A Message</b></normalfont></td>
  </tr>
</table>

<table cellpadding="8" cellspacing="0" border="0"  width="100%">
  <tr bgcolor="#DFDFDF">
    <td width="100%"><normalfont><b>Message:</b></normalfont> &nbsp; <smallfont><b>[ 
<a href="$bburl/misc.php?s=$session[sessionhash]&action=showsmilies" class="small" target="_blank">Smilies</a> - 
<a href="$bburl/misc.php?s=$session[sessionhash]&action=bbcode" class="small" target="_blank">vB Code</a> ]</b></smallfont>
    <br/><textarea name="message" rows="10" cols="60" class="bginput" wrap></textarea>
    <br/>$smiliebits</td>
  </tr>

  <tr bgcolor="#DFDFDF">
    <td width="100%"><input type="submit" name="comment_submit" value="Shout Now!" class="bginput" accesskey="s"></td>
  </tr>
  
  </form>
</table>
Thanks to TWT for a great piece of work!
Reply With Quote
  #298  
Old 11-26-2002, 10:32 PM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks OG!
Reply With Quote
  #299  
Old 11-27-2002, 03:31 AM
stangpower stangpower is offline
 
Join Date: Mar 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is working great on my site, but I was wondering if it would be possible to add a "Who is chatting" I want to use this as a chat for my site.

Thanks!

Ian
Reply With Quote
  #300  
Old 11-30-2002, 02:13 PM
Sweet Cheeks's Avatar
Sweet Cheeks Sweet Cheeks is offline
 
Join Date: Mar 2002
Location: Carson City, Nevada
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey this is an awesome hack :smoke: Thanks for your hard work on this one my members love it.

I have one ???, is there a way that I can make the shoutbox invisible or disable it for a specified user group? Our 'trolls' like to use it to post garbage.

thanks for your help
Reply With Quote
  #301  
Old 11-30-2002, 07:05 PM
Sweet Cheeks's Avatar
Sweet Cheeks Sweet Cheeks is offline
 
Join Date: Mar 2002
Location: Carson City, Nevada
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OOps aranoid: Guess I should have read a little further, I found it
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 12: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.04974 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)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
  • (2)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