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
  #152  
Old 06-29-2002, 11:36 AM
Mr L Mr L is offline
 
Join Date: Jan 2002
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I wonder if anybody can help with this great hack!

I have some users that are actually using the "Shoutbox" as a chatroom! Intresting reading but it is really annoying some other members.

Can I restrict users from posting if their user ID is X or Y?

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

Sure. Right BEFORE this...

Code:
  if ($bbuserinfo[usergroupid] == 10 && $action == 'delete' && $shoutid) {
    $DB_site->query("DELETE FROM shoutbox WHERE shoutid = $shoutid");
    header("Location: shoutbox.php");
  }
...add this...

Code:
  if ($bbuserinfo[userid] == X || $bbuserinfo[userid] == Y) {
    header("Location: index.php");
  }
Replace X and Y with the userids you want to block, and those users will just be redirected back to the board's index when they try to load the Shoutbox.
Reply With Quote
  #154  
Old 06-29-2002, 01:01 PM
Mr L Mr L is offline
 
Join Date: Jan 2002
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Surperb! Thank you for this and also the extremely quick response!
Reply With Quote
  #155  
Old 07-01-2002, 05:08 AM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the problem is still going on...anybody can help me?
I have create a account
User: guestvb
PW:guestvb
,

so you can try it. :bunny: :dead:
Plz help me...

Quote:
Originally posted by Wildthinks
On my Opera works fine, but when I use mozilla or IE (6.x) ... after click "shout now" I get a Dowenloadbox for Shoutbox.php and in mozilla I see cryptical text...
any hints, whats wrong?

try it here: http://swishzone.net/vb/shoutbox.php
Reply With Quote
  #156  
Old 07-01-2002, 05:22 AM
Dyntheos Dyntheos is offline
 
Join Date: May 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First up love this hack.

some problems Iam experiencing.

1) Smilies. I have tried all the suggestions in this thread to fix them but the bbcode for smilies does not work. all other bbcodes do though, so you can post images using [img] and that's how members are posting smilies at the moment.

2) The width of the text in the output box when posted only stretches half the screen yet you can lengthen, down the page, the output through a post, to basically stretch the forum in length. Currently the box is at the bottom of the forums due to this.

What I would like to do is add it to the top but have it only take up half the width of the page, and have the length of a post limited in its display, possobly using a scrollbar to view it all.

I have my users browsing the forums at the top of the page and would like to have that and the shoutbox side by side in their own category, yet the length of the shout box limited on the forum home, so as it won't screw with the formatting.

any ideas?


My forums are here http://forums.relicnews.com/

It's only visible on the "purplehaze" skin tho as we're testing it out at the moment. The quickskin selector is at the bottom of the forumhome to view the shoutbox.
Reply With Quote
  #157  
Old 07-01-2002, 08:28 AM
Dyntheos Dyntheos is offline
 
Join Date: May 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gah I have the smilies working but I have html code popping out everywhere

[edit]

w00t fixed the code aswell.

in the previous post that stated too add this

Quote:
$shout_text = bbcodeparse($shout_text,X);
above this

Quote:
eval("\$shoutbits .= \"".gettemplate("shoutboxbit",1,0)."\";");
I did this exactly.

what fixed it was to actually replace the instance of
Quote:
$shout_text = bbcodeparse($shout_text);
above this code (some lines above) with
Quote:
$shout_text = bbcodeparse($shout_text,X);

In essence I was basically duplicating a line of code instead of replacing it.

[/edit]
Reply With Quote
  #158  
Old 07-01-2002, 08:59 AM
Dyntheos Dyntheos is offline
 
Join Date: May 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry for all these follow up posts but Iam still trying to work this out.

when i posted above i was only refreshing the actual shoutbox page.

all is working fine there, iam not getting smilies to show in the forum home display.
Reply With Quote
  #159  
Old 07-01-2002, 09:42 AM
Bugz Bugz is offline
 
Join Date: Feb 2002
Location: Cleveland
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TWTCommish on your forums shout box your colors and backgrounds are perfect with your forum but when i installed this the colors and back grounds wernt at all right with the rest of the forums i have inserted a pick of your shout box.
Reply With Quote
  #160  
Old 07-01-2002, 09:44 AM
Bugz Bugz is offline
 
Join Date: Feb 2002
Location: Cleveland
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mine as i stated before are messed up

like the cats bagrounds and the borders and cfont colors. i was wondering if you can post the fixes to this if not i will end up figuring it out after awhile

heres a pick of mine i circled whats wrong with it
Reply With Quote
  #161  
Old 07-01-2002, 01:19 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well there's nothing to be fixed really: vB Shoutbox uses YOUR settings and colors for categories and table headers to create its look and feel. It's all in the templates.

Dyntheos: replace the "X" with a number of one of your forums, bud.
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 02:58 AM.


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.04571 seconds
  • Memory Usage 2,306KB
  • 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_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
  • (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