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
  #32  
Old 05-17-2002, 02:28 AM
lordofgun lordofgun is offline
 
Join Date: Jan 2002
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet! i can't wait!

FYI - This hack worked PERFECTLY the first time i tried to install it! Great directions, couldn't ask for more!
Reply With Quote
  #33  
Old 05-17-2002, 02:38 AM
scsa20's Avatar
scsa20 scsa20 is offline
 
Join Date: Mar 2002
Location: Mars
Posts: 458
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wait, are you guys going to make an add on for you to add a little window type thingy to the forumhome for the shoutout?? if so, that'll be cool
Reply With Quote
  #34  
Old 05-17-2002, 10:31 AM
inphinity's Avatar
inphinity inphinity is offline
 
Join Date: Oct 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v nice hack

i've found that shift clicking (open in a new window) [Reload this Page] causes IE to endlessly loop (love javascript)

to do roughly the same thing without javascript i did:

edit shoutbox.php and just near the top (11 lines down) add
PHP Code:
if ($action=="reload") {
    
header ("Refresh: 0; URL=$PHP_SELF");
    exit;

then edit the shoutbox template and change the javascript reload link (_javascript_:window.location=window.location) to:

<a href="shoutbox.php?s=$session[sessionhash]&action=reload">[Reload this Page]</a>
Reply With Quote
  #35  
Old 05-17-2002, 11:13 AM
Bald Bouncer's Avatar
Bald Bouncer Bald Bouncer is offline
 
Join Date: Oct 2001
Location: UK
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ive added this to my forumhome page ... is there anyway to stop getting redirected to the shoutbox page once they post?
Reply With Quote
  #36  
Old 05-17-2002, 12:05 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm confused, Bald Bouncer: are you saying you want them to be taken back to the forums main page after they've posted a shout?

inphinity: very cool...I'll change that for the next version, for sure.
Reply With Quote
  #37  
Old 05-17-2002, 03:09 PM
ceo_tfw's Avatar
ceo_tfw ceo_tfw is offline
 
Join Date: Mar 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice shout box, I have installed it and great stuff, is there a way to view all shouts in the admin cp under mass delete
Reply With Quote
  #38  
Old 05-17-2002, 03:20 PM
Bald Bouncer's Avatar
Bald Bouncer Bald Bouncer is offline
 
Join Date: Oct 2001
Location: UK
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TWTCommish
I'm confused, Bald Bouncer: are you saying you want them to be taken back to the forums main page after they've posted a shout?
yeah thats what i was saying
Reply With Quote
  #39  
Old 05-17-2002, 04:20 PM
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
Location: Black Mage Village
Posts: 442
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TWTCommish

No one helped me make this hack. However, someone who I sent it to for beta testing purposes apparently made some change and is calling it "vB Shout Box 2.0" -- they sent me a copy and I'm basically trying to figure out what's going on. I certainly didn't know anything like this was going on and I'd rather not release a second version until I've added more.
the person you sent it to is Crater Seraph, who sent it to me, and i also added an edit button and an install script (pretty useless since it has a vbhacker file).
Reply With Quote
  #40  
Old 05-17-2002, 04:45 PM
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great bro. Now got to find some time to customize the look to match yaxay. Good job!
Reply With Quote
  #41  
Old 05-17-2002, 08:27 PM
ceo_tfw's Avatar
ceo_tfw ceo_tfw is offline
 
Join Date: Mar 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to show more that 1 shout on my forum is this what I put and where does it go
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")."";"); 
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 04:46 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.07698 seconds
  • Memory Usage 2,323KB
  • 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
  • (2)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
  • (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