vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Shoutbox 1.0 (https://vborg.vbsupport.ru/showthread.php?t=38698)

TWTCommish 05-15-2002 10:00 PM

vB Shoutbox 1.0
 
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

Lesane 05-16-2002 01:56 PM

I have already a shoutbox running but still great, well done.

TWTCommish 05-16-2002 02:01 PM

Thanks. I dig the Shoutbox...but I wanted something a little more advanced with a few more features on my site, so I went for it. Thanks for the kind words. :)

FleaBag 05-16-2002 02:22 PM

I've been testing this on my forums too [www.gamerforums.com/board/shoutbox.php] and it's definitely what I was looking for - I recommend it to everyone! :D

Lesane 05-16-2002 02:26 PM

Quote:

Originally posted by TWTCommish
Thanks. I dig the Shoutbox...but I wanted something a little more advanced with a few more features on my site, so I went for it. Thanks for the kind words. :)
Your welcome and yes i see more features then the one i created from the old shoutbox, so i think i will install this one. ;)

ZiRu$ 05-16-2002 02:36 PM

very nice.....Will install later

Bald Bouncer 05-16-2002 03:22 PM

fantastic mate, I had only one small problem in shoutbox_postshout I had to change <form action="/shoutbox.php" too <form action="shoutbox.php"

also if anyone else wants to have the shoutbox on their forumhome page with more then 1 shout do the below,

PHP Code:

$shoutz $DB_site->query('SELECT u.username, s.userid, s.shout_text, s.timestamp FROM user u, shoutbox s WHERE u.userid = s.userid ORDER BY s.timestamp DESC LIMIT 10');
while (
$shout10top mysql_fetch_array($shoutz)):
    ++
$shout10topnbsp;
    
$shout[timestamp]  = vbdate('n-j-y, g:i:s a'$shout10top[timestamp]);
    
$shout[shout_text] = bbcodeparse($shout10top[shout_text]);
    
$shouts .= "<smallfont><b>Posted by <a href=\"member.php?s=$sesion[sessionhash]&action=getinfo&userid=$shout10top[userid]\" class=\"small\">$shout10top[username]</a><br> Posted @ $shout[timestamp]</b></smallfont><br/><smallfont>$shout[shout_text]</smallfont><br><br>";
endwhile;
eval(
"\$the_shoutbox .= \"".gettemplate("forumhome_shoutbox")."\";"); 

open forumhome_shoutbox and replace it with,

PHP Code:

  <tr id="cat">
    <
td bgcolor="{tableheadbgcolor}" colspan="6"><a href="$bburl/shoutbox.php?s=$session[sessionhash]title="The Shoutbox"><normalfont color="{tableheadtextcolor}"><b>The Shoutbox Latest Shout</normalfont></b></a></td>
  </
tr>
  
  <
tr>
    <
td bgcolor="{firstaltcolor}" colspan="6">$shouts</td>
  </
tr

thanks for the hack again mate, great work!

Velocd 05-16-2002 06:06 PM

Interesting..I have a shoutbox I downloaded yet to try but its called Shoutbox V2 and it was made by Mewtwo, Crater Seraph, and TWTCommish. Is this the same one you have just released? If so, you forgot to include 2 others who helped make it ^_^

filburt1 05-16-2002 06:09 PM

I get a JS error when I try to use the clickable smilies: "'message' is null or not an object'

EXCHANGE 05-16-2002 06:20 PM

I'll give this a try later, the demo looks really good to me

Good Work!


All times are GMT. The time now is 06:02 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.01331 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete