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

 
 
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
  #92  
Old 06-05-2002, 05:05 PM
LavaNoX LavaNoX is offline
 
Join Date: Feb 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I make it so that my forum takes up 75% of the space, on the left, and the shoutbox takes up the rest of the space, on the right?
Reply With Quote
  #93  
Old 06-10-2002, 01:58 PM
Mr L Mr L is offline
 
Join Date: Jan 2002
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...is it possible to add a function to enable uses only to post once every 60 seconds?

Otherwise, this has made a huge impact on my board in a positive way! Thank you!
Reply With Quote
  #94  
Old 06-10-2002, 03:33 PM
firewars firewars is offline
 
Join Date: Oct 2001
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Weird.
When shouting it goes to the webservers root and doesn't stay in the forums root
Any solutions?
Reply With Quote
  #95  
Old 06-10-2002, 04:13 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

firewars: in your "shoutbox_postshout" template, replace "shoutbox.php" in the form's action attribute with "$bburl/shoutbox.php" -- I think that ought to do it.

HLodder: use the attached shoutbox.php file to prevent users from shouting more than once every 60 seconds. It's just a primitive little thing I threw together, but it works...I think. All it does is ignore their shout if it's been less than 60 seconds. No error or anything...this is quick and dirty at it's best.
Reply With Quote
  #96  
Old 06-10-2002, 04:18 PM
Mr L Mr L is offline
 
Join Date: Jan 2002
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Chris,

Thanks for this. Very much appricated and now in use!!!

Cheers.

Harvey.
Reply With Quote
  #97  
Old 06-10-2002, 04:53 PM
firewars firewars is offline
 
Join Date: Oct 2001
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TWTCommish:

Thanks, but before applying your fix I thought about it and then I was sure it should work as it's in the same directory, but:

There is a slash (/) before it which makes it use the directory above the $bburl-directory and thus using root.
Thanks for telling me where to look, though: it works like a charm.
Impressive hack
Reply With Quote
  #98  
Old 06-10-2002, 06:47 PM
firewars firewars is offline
 
Join Date: Oct 2001
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to change the timeformat?
I'm not talking about $time_posted, I was able to change that.
I am talking about $timestamp which is used in the forumhome_shoutbox-template.
Any idea?
Reply With Quote
  #99  
Old 06-10-2002, 06:50 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's simple... find this line in your index.php file:

PHP Code:
$shout[timestamp]  = vbdate('n-j-y, g:i:s a'$shout[timestamp]); 
Modify the first argument passed to the vbdate() function (the text inside the single quotation marks) to a different format using the same characters you'd use for PHP's date() function.
Reply With Quote
  #100  
Old 06-10-2002, 07:19 PM
Mr L Mr L is offline
 
Join Date: Jan 2002
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I ask, are you planning to release a later version of this hack and if so, can you offer any insight on what may be included?

Thanks!!!
Reply With Quote
  #101  
Old 06-10-2002, 07:30 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I am, but not for awhile yet. I've detailed potential features in earlier posts. I don't feel like diggin' 'em up just now, though. I'll get back to you later. (sorry, I'm lazy, I guess)
Reply With Quote
 


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 08:18 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.06683 seconds
  • Memory Usage 2,303KB
  • 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_php
  • (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