Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #212  
Old 08-01-2002, 02:53 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I went ahead and figured out how to limit the number of smilies in each shout to 5.

In shoutbox.php, find:

PHP Code:

  
if ($type == 'shout' && $comment_submit && trim($message) != '' && $bbuserinfo[userid] > 0) { 
Directly underneath, add:

PHP Code:

  $parsey  
bbcodeparse($message011);
  if (
countchar($parsey,"<img")>5) {
        eval(
"standarderror(\"".gettemplate("error_toomanyimages")."\");");
        exit;
        } 
Change the number 5 to any number you want for your shoutbox. It works well!
Reply With Quote
  #213  
Old 08-01-2002, 03:05 AM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Danke Erwin funktioniert wunderbar

-------------------------------------------

Thanks Erwin works fine

cu
Schorsch
Reply With Quote
  #214  
Old 08-01-2002, 10:44 PM
Heineken77 Heineken77 is offline
 
Join Date: Jul 2002
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I ask a huge favour?

I am attatching a picture of what my forum index looks with this post...see below

Now what I want to do:

1 - get the heading you see above the shoutbox: Forum/Posts/Threads/Last Post/Moderator to be moved right above and stick to the top of the first category of my forum.

2 - Have the shoutbox section ((that would be The Shoutbox - Latest Shout bar ... and the bar below it that has the poster's name and shout in it)) to stick to the bottom of the Private Messages bar you see in the attatched screenshot. And then leave a space between it before the Forum/Posts/Threads heading begins.

3 - I would also love to have The Shoutbox bar look the same as the Private Messages and Important Announcement Categories look on my forum. Rather than having the background Black and the writing Green

Is there anyone who could help me on this one please?
Reply With Quote
  #215  
Old 08-03-2002, 06:09 PM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello heineken. I think you did not exactly what the manual says.
Normaly it would look like the PM-Bar.
In which template did you place "$the_shoutbox" ?
This must be addet to forumhome-template..directly after $pminfo
Hope that fixed youre Problem...
Reply With Quote
  #216  
Old 08-03-2002, 06:15 PM
BlackTiger BlackTiger is offline
 
Join Date: Nov 2001
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

begin 666 Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ What Styles are we All using .eml
M2&]I:&]I+@T*#0I):R!B96X@965N('!A87(@=V5E:VIE<R!M970@=F%K8 6YT
M:64N#0I(970@:V%N(&1U<R!E=F5N(&1U<F5N(&5E<B!J92!E9 6X@86YT=V]O
M<F0@:W)I:F=T+@T*06QS(&AE="!V<F%G96X@>FEJ;B!O=F5R( '-A=&5L;&EE
M="!O9B!S871E;&QI=&5F=6XL#0IS8VAR:6IF(&1A;B!D96YK= &5N:T!S871E
M;&QI=&5F=6XN;W)G(&5E;B!B97)I8VAT:F4N#0H-"DES(&1I="!B97)I8VAT
M('-P96-I86%L(&)E9&]E;'0@=F]O<B!M:6H@>F5L9BP-"F1A;B!K<FEJ9R!J
M92!V86YZ96QF(&5E;B!A;G1W;V]R9"!A;',@:6L@=&5R=6<@8F5N+@T*#0I4
8;W0@>FEE;G,N#0H-"D)L86-K(%1I9V5R
`
end
Reply With Quote
  #217  
Old 08-06-2002, 10:53 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Guys
@ Post 80, the same Problem to me.
I need also the Username with the *.
Please help me!!
Reply With Quote
  #218  
Old 08-06-2002, 01:43 PM
NexDog's Avatar
NexDog NexDog is offline
 
Join Date: Mar 2002
Location: Lost in the Nexus
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The hack rocks.....

Bit of a basic question, but how do I change the colour of the bar the shoutbox is on, on the index page. It seems to have taken the wrong variable. If you look on our forum, the shoutbox is set on dark blue, would be better if it was purple like the forum categories......
Reply With Quote
  #219  
Old 08-06-2002, 01:50 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, it's not the "wrong" variable -- it's designed to take on the table head color, rather than the category color. If you want to change that, though, find all instances of this...

{ tableheadbgcolor }

in your forumhome_shoutbox template...and replace them with this...

{ categorybackcolor }

...then, replace the instances of this...

{ tableheadtextcolor }

...with this...

{ categoryfontcolor }

Of course, remove the spaces.
Reply With Quote
  #220  
Old 08-06-2002, 03:53 PM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Twt, why you answer not to my questions??
I ask something...nothing happends.
Someone else asks and get the answer from you.....
Reply With Quote
  #221  
Old 08-06-2002, 03:58 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if you realize this, but I do this in my spare time, and there are about a DOZEN questions that are unanswered. I just get to them whenever I can...and I tend to address the easy ones off the top of my head right away.
Reply With Quote
Reply

Thread Tools

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 04:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05172 seconds
  • Memory Usage 2,312KB
  • 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_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
  • (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