Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBulletin 3.x Shoutbox 1.0 (AJAX) Details »»
vBulletin 3.x Shoutbox 1.0 (AJAX)
Version: 1.00, by DionDev DionDev is offline
Developer Last Online: Aug 2012 Show Printable Version Email this Page

Category: Chat Modifications - Version: 3.7.1 Rating:
Released: 06-18-2008 Last Update: 06-18-2008 Installs: 87
DB Changes Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

vBulletin 3.x Shoutbox 1.0 is a simple PHP and AJAX shoutbox script that is fully integrated with the vBulletin forum system. Once you have installed it you can place it in any of your vBulletin forum templates.

Features:

* Tested to work with vBulletin 3.x.
* It uses AJAX. This means that every time a new shout is posted by someone it will instantly display in the shoutbox without the page having to be refreshed.
* It is fully customizable. You can allow guests to post, select the number of shouts to display, and even change the name of the shoutbox.
* Only takes about 2 minutes to install. With very simple instructions in a small text file, you will have a unique shoutbox on your forum up and running in no time.
* It automatically inherits the style of the forum. If your forum has multiple style options, it uses the style the user has selected.

Demo: http://www.diondev.com/forums/

Support: http://www.diondev.com/forums/f7/

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 06-20-2008, 03:20 AM
Joshyyy Joshyyy is offline
 
Join Date: Jun 2007
Location: Stevenage
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good, i think i'll wait for v2 if you don't mind !
Sounds alot more fun :P
Reply With Quote
  #33  
Old 06-20-2008, 04:32 AM
meraia meraia is offline
 
Join Date: Aug 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This wonderful
thanx
Reply With Quote
  #34  
Old 06-20-2008, 10:51 AM
DionDev DionDev is offline
 
Join Date: Mar 2008
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chadi View Post
Can you please explain how to stack them? I can modify the code, just need to know what the modification is that must be done.

Please explain about the scrolling too :X (sorry)

I'm a decent css learner, but programming I'm just a good listener

So the scrolling, this will allow scrolling only the message area while the type field area is static, just like the shoutbox I have now on my site, correct?
open up shoutbox.php

replace this:

Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="1%" valign="top" style="padding-right: 15px;">

  <table cellpadding="5" cellspacing="1" border="0" width="175" class="tborder">
  <tr>
  <td width="100%" align="center" class="thead">

    <?php echo $shoutboxname; ?>

  </td>
  </tr>
  <tr>
  <td width="100%" align="center" class="alt2" style="padding: 10px 5px 10px 5px;">
  
    <font class="smallfont">

    <?php
    
    if ($vbulletin->userinfo['userid'] == 0 && $guestshouts == false)
    {
      echo "You must be logged in to send shouts.";
    }
    else
    {
    ?>
      <form name="shoutform" method="POST" onsubmit="saveData(); return false;" style="margin: 0px;">
      <input type="text" name="message" maxlength="500" onFocus="if(this.value=='type message here') this.value='';" onblur="if(this.value=='') this.value='type message here';" value="type message here" style="width: 155px; margin-bottom: 10px;" class="bginput" /><br />
      <input type="submit" name="submit" value="Submit Shout" class="button" />
      </form>
    <?php
    }
    ?>
    
    </font>

  </td>
  </tr>
  </table>

</td>
<td width="99%" valign="top">

  <div id="shoutarea"></div>

</td>
</tr>
</table>
with this:

Code:
<table cellpadding="5" cellspacing="1" border="0" width="100%" class="tborder" style="margin-bottom: 5px;">
<tr>
<td width="100%" align="center" class="thead">

  <?php echo $shoutboxname; ?>

</td>
</tr>
<tr>
<td width="100%" align="center" class="alt2">

  <font class="smallfont">

  <?php
  
  if ($vbulletin->userinfo['userid'] == 0 && $guestshouts == false)
  {
    echo "You must be logged in to send shouts.";
  }
  else
  {
  ?>
    <form name="shoutform" method="POST" onsubmit="saveData(); return false;" style="margin: 0px;">
    
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
    <td width="99%" style="padding-right: 5px;">
    
      <input type="text" name="message" maxlength="500" onFocus="if(this.value=='type message here') this.value='';" onblur="if(this.value=='') this.value='type message here';" value="type message here" class="bginput" style="width: 100%;" /> 
    
    </td>
    <td width="1%">
    
      <input type="submit" name="submit" value="Submit Shout" class="button" />
      
    </td>
    </tr>
    </table>
    
    </form>
  <?php
  }
  ?>
  
  </font>

</td>
</tr>
</table>

<div id="shoutarea"></div>
let me know how that works out for you.

Quote:
Originally Posted by ECMatt90 View Post
Seems pretty cool and will probably download it tomorrow, is there anyway to add a sound when someone posts a new shout in the shoutbox?
yeah would require a minor javascript modification

Quote:
Originally Posted by rapidphim View Post
Questions:
1/ How many query does this one use?
2/ Options for admin to delete shout messages?
3/ when you scroll down the box, the shoutbox also scroll. Is there away to keep the shoutbox message box stays still while you scroll the text box?
4/ Also, is there an option to make the shoutbox stay on top of the forum throughout regardless which forum/page we are in?
1/ four. 1 to get the shout, 1 to send it, 1 to check to see if old shouts need to be removed, and 1 to remove old shouts.
2/ coming next version
3/ would require frames or some css modifications, i will add this to version 2
4/ yes, by adding it to the forum navbits template or header

Quote:
Originally Posted by rapidphim View Post
Is it possible for you to create a skin/style in white for working folks who would like to be in the forum and be at work at the same time (avoid attention from boss)? I have been looking around for one but there are none.
i will be making a white skin like the one on my site with with red, green, and blue variations. i will also be making a black version of the skin on my site with red, green, and blue variations.
Reply With Quote
  #35  
Old 06-20-2008, 06:02 PM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Dion. I'd wait for version 2. Also, any ETA on releasing your skins?
Reply With Quote
  #36  
Old 06-21-2008, 04:57 AM
DionDev DionDev is offline
 
Join Date: Mar 2008
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rapidphim View Post
Thanks Dion. I'd wait for version 2. Also, any ETA on releasing your skins?
a week or 2
Reply With Quote
  #37  
Old 06-21-2008, 01:31 PM
ECMatt90 ECMatt90 is offline
 
Join Date: Nov 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does that mean you can post up how to add the sound? or not?
Reply With Quote
  #38  
Old 06-21-2008, 02:13 PM
macc's Avatar
macc macc is offline
 
Join Date: Feb 2008
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello!
what to do to get date on shoutbox messages - (not only time)?


regards

macc
Reply With Quote
  #39  
Old 06-21-2008, 03:41 PM
bvbuk bvbuk is offline
 
Join Date: Mar 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the only problem i have is posting characters

!"£$%^&*()_
Reply With Quote
  #40  
Old 06-21-2008, 07:35 PM
Y-ZOOM Y-ZOOM is offline
 
Join Date: Mar 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

man it's rally great

but 1 problem .. not support the arabic language .. oh

please fix that ..

thank you
Reply With Quote
  #41  
Old 06-22-2008, 06:40 PM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah i am not going to keep this installed i think it needs more dev but it is an all around cool mod. also think of making a product file to do all the sql table adding for the user
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 12:53 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.05298 seconds
  • Memory Usage 2,316KB
  • 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
  • (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