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

Reply
 
Thread Tools
Dion Dev Shoutbox v2.1 (AJAX) Details »»
Dion Dev Shoutbox v2.1 (AJAX)
Version: 2.1, by DionDev DionDev is offline
Developer Last Online: Aug 2012 Show Printable Version Email this Page

Category: Chat Modifications - Version: 3.8.2 Rating:
Released: 05-08-2009 Last Update: 05-08-2009 Installs: 121
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

DEMO URL:

http://www.diondev.com/vb

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

NEW FEATURES:

- simplicity was kept in mind
- new archive layout that uses a table with name, message, time, and ip & delete for admins/supermods
- shoutbox files are all in one folder
- new option to change the width and height of the shoutbox iframe
- new option to allow supermods to delete shouts
- new collapsable shoutbox template that flows better with forums
- ip addresses are now stored along with shouts
- B, I, U, and color buttons for shouts that are remembered for each shout until the member navigates away from the page
- javascript bug fixes that caused messages with "&" and other symbols to cut off
- name colors based on group open and close tags
- new option to automatically parse urls
- removed guest shouting all together (after being disgusted with some of the things written in the shoutbox on my site, i will never re-add this feature so don't bother asking)
- new hide shoutbox from guests option
- uses a little cache system so it only redraws shouts if a new shout has been made (saves bandwidth)
- and some more features I may have forgot to mention

You can see the old feature lists in the old shoutbox vb.org threads:
Dion Dev Shoutbox v2.0
vBulletin 3.x Shoutbox 1.0

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

UPGRADE INSTRUCTIONS:

1. uninstall the old shoutbox product from your admin cp
2. delete all the shout*.php files from your web server
3. remove the old shoutbox code from whatever template you added it to
4. follow the "fresh installation instructions" below

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

FRESH INSTALLATION INSTRUCTIONS:

1. extract the zip file onto your computer
2. log in to your admin cp
3. go to plugins & products -> manage products -> add/import product -> browse for "product-ddsb2.1.xml" -> click "import"
4. upload the entire "shoutbox" folder (DO NOT RENAME IT) to your main vbulletin directory
5. copy and paste the entire contents of "template.txt" into the template you want the shoutbox to show up in

if you want the shoutbox to show at the top of your forum index, go to the FORUMHOME template and find:

"<!-- / guest welcome message -->
<br />
</if>"

and copy and paste the contents of "template.txt" after that.

6. go to vbulletin options -> select "dion dev shoutbox v2.1 options" at the very bottom of the list
7. edit all the options as you please and then click on the "save" button

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

ADDITIONAL OPTIONS:

1. if you want to change the amount of time it checks between shouts, open up "shoutshow.js" in notepad and change "2000" to whatever number, in milliseconds, you want it to wait between checking for new shouts

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

DONATE ANYTHING YOU CAN SPARE TO DONATIONS@DIONDEV.COM BEFORE REMOVING THE "POWERED BY" MESSAGE

Download Now

File Type: zip ddshoutbox2.1.zip (11.7 KB, 1663 views)

Screenshots

File Type: jpg screenshot1.jpg (121.0 KB, 0 views)
File Type: jpg screenshot2.jpg (171.1 KB, 0 views)
File Type: jpg screenshot3.jpg (126.0 KB, 0 views)
File Type: jpg screenshot0.jpg (134.3 KB, 0 views)

Show Your Support

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

Comments
  #82  
Old 07-03-2009, 04:32 PM
drsli's Avatar
drsli drsli is offline
 
Join Date: Jan 2008
Location: Germany
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The same with Cybernetec´s chatbox. This seems to be a browser-related issue with Safari.
Reply With Quote
  #83  
Old 07-03-2009, 06:53 PM
ti07shadow ti07shadow is offline
 
Join Date: Apr 2008
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice shoutbox but I prefer vbshout due to the ajax refresh
Reply With Quote
  #84  
Old 07-04-2009, 01:04 PM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by macc View Post
hello

can some help me to get this shoutbox like center module for VB cmps ... what must to do with code from text file? (will make like template module)

regards

macc
I had it on my CMPS homepage for a while. Just create a new "Template Module" and here's the code:

Code:
<!-- Dion Dev Shoutbox v2.1 -->
<if condition="!$show[guest] || $vboptions[ddsb_guest_show]">
<script type="text/javascript" src="shoutbox/shoutinsert.js"></script>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
  <td class="tcat">
  
    <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_sb')">
    <img id="collapseimg_forumbit_sb" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_sb}.gif" alt="" border="0" />
    </a>
    
    $vboptions[ddsb_title]
    
  </td>
</tr>
<tr id="collapseobj_forumbit_sb" style="{$collapseobj_sb}">
  <td style="padding: 0px;">
  
    <form method="post" onsubmit="insertshout(); return false;">

    <div class="panel" style="padding: 0px; margin-bottom: $stylevar[cellspacing]px;">

    <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
    <tr>
    <td width="100%" style="padding-right: 0px;">

      <input type="text" id="body" class="bginput" size="$vboptions[ddsb_size]" maxlength="$vboptions[ddsb_length]"
      <if condition="$show[guest]"> value="$vboptions[ddsb_no]" disabled="true"</if>>

      <input type="submit" class="button" value="$vboptions[ddsb_button]"
      <if condition="$show[guest]"> disabled="true"</if>>

      &nbsp;

      <input type="button" class="button" value=" B " style="font-weight: bold;" onclick="shoutstyle('bodyb', 0);"
      <if condition="$show[guest]"> disabled="true"</if>>

      <input type="button" class="button" value=" I " style="font-style: italic;" onclick="shoutstyle('bodyi', 0);"
      <if condition="$show[guest]"> disabled="true"</if>>

      <input type="button" class="button" value=" U " style="text-decoration: underline;" onclick="shoutstyle('bodyu', 0);"
      <if condition="$show[guest]"> disabled="true"</if>>

      <select id="bodycolorsel" <if condition="$show[guest]"> disabled="true"</if> onchange="shoutstyle('bodycolor', this.value);">
      <option value="0" style="background: #ffffff; color: #000000;">$vboptions[ddsb_txtcolor]</option>
      <option value="#000000" style="background: #000000;">&nbsp;</option>
      <option value="#8b0000" style="background: #8b0000;">&nbsp;</option>
      <option value="#ff0000" style="background: #ff0000;">&nbsp;</option>
      <option value="#ff00ff" style="background: #ff00ff;">&nbsp;</option>
      <option value="#ffc0cb" style="background: #ffc0cb;">&nbsp;</option>
      <option value="#a0522d" style="background: #a0522d;">&nbsp;</option>
      <option value="#ff8c00" style="background: #ff8c00;">&nbsp;</option>
      <option value="#f4a460" style="background: #f4a460;">&nbsp;</option>
      <option value="#ffa500" style="background: #ffa500;">&nbsp;</option>
      <option value="#f5deb3" style="background: #f5deb3;">&nbsp;</option>
      <option value="#556b2f" style="background: #556b2f;">&nbsp;</option>
      <option value="#808000" style="background: #808000;">&nbsp;</option>
      <option value="#9acd32" style="background: #9acd32;">&nbsp;</option>
      <option value="#fffacd" style="background: #fffacd;">&nbsp;</option>
      <option value="#006400" style="background: #006400;">&nbsp;</option>
      <option value="#008000" style="background: #008000;">&nbsp;</option>
      <option value="#2e8b57" style="background: #2e8b57;">&nbsp;</option>
      <option value="#00ff00" style="background: #00ff00;">&nbsp;</option>
      <option value="#98fb98" style="background: #98fb98;">&nbsp;</option>
      <option value="#483d8b" style="background: #483d8b;">&nbsp;</option>
      <option value="#008080" style="background: #008080;">&nbsp;</option>
      <option value="#48d1cc" style="background: #48d1cc;">&nbsp;</option>
      <option value="#00ffff" style="background: #00ffff;">&nbsp;</option>
      <option value="#afeeee" style="background: #afeeee;">&nbsp;</option>
      <option value="#000080" style="background: #000080;">&nbsp;</option>
      <option value="#0000ff" style="background: #0000ff;">&nbsp;</option>
      <option value="#4169e1" style="background: #4169e1;">&nbsp;</option>
      <option value="#00bfff" style="background: #00bfff;">&nbsp;</option>
      <option value="#add8e6" style="background: #add8e6;">&nbsp;</option>
      <option value="#4b0082" style="background: #4b0082;">&nbsp;</option>
      <option value="#708090" style="background: #708090;">&nbsp;</option>
      <option value="#800080" style="background: #800080;">&nbsp;</option>
      <option value="#9932cc" style="background: #9932cc;">&nbsp;</option>
      <option value="#dda0dd" style="background: #dda0dd;">&nbsp;</option>
      <option value="#2f4f4f" style="background: #2f4f4f;">&nbsp;</option>
      <option value="#696969" style="background: #696969;">&nbsp;</option>
      <option value="#808080" style="background: #808080;">&nbsp;</option>
      <option value="#c0c0c0" style="background: #c0c0c0;">&nbsp;</option>
      <option value="#ffffff" style="background: #ffffff;">&nbsp;</option>
      </select>

    </td>
    <td nowrap="nowrap" class="smallfont">

      <a href="shoutbox/shoutarchive.php" target="_blank">$vboptions[ddsb_archive]</a>

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

    </div>

    <input type="hidden" id="bodyb" value="0">
    <input type="hidden" id="bodyi" value="0">
    <input type="hidden" id="bodyu" value="0">
    <input type="hidden" id="bodycolor" value="0">
    <input type="hidden" id="bodystyle" value="0">

    </form>

    <iframe src="shoutbox/shoutdiv.php" width="$vboptions[ddsb_iwidth]" height="$vboptions[ddsb_iheight]" scrolling="auto" frameborder="0">
    Browser does not support iframes
    </iframe>
    
  </td>
</tr>
</table>
<br />
</if>
<!-- end Dion Dev Shoutbox v2.1 -->
Reply With Quote
  #85  
Old 07-04-2009, 01:07 PM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FeatheredFriend View Post
I have installed this. Just curious as to if there is a way to make it show up on every page? Thanks!
yes. I have it at the top of every page. Just open your Navbar Template and add the following code above it or below it.

Code:
<!-- Dion Dev Shoutbox v2.1 -->
<if condition="!$show[guest] || $vboptions[ddsb_guest_show]">
<script type="text/javascript" src="shoutbox/shoutinsert.js"></script>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
  <td class="tcat">
  
    <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_sb')">
    <img id="collapseimg_forumbit_sb" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_sb}.gif" alt="" border="0" />
    </a>
    
    $vboptions[ddsb_title]
    
  </td>
</tr>
<tr id="collapseobj_forumbit_sb" style="{$collapseobj_sb}">
  <td style="padding: 0px;">
  
    <form method="post" onsubmit="insertshout(); return false;">

    <div class="panel" style="padding: 0px; margin-bottom: $stylevar[cellspacing]px;">

    <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
    <tr>
    <td width="100%" style="padding-right: 0px;">

      <input type="text" id="body" class="bginput" size="$vboptions[ddsb_size]" maxlength="$vboptions[ddsb_length]"
      <if condition="$show[guest]"> value="$vboptions[ddsb_no]" disabled="true"</if>>

      <input type="submit" class="button" value="$vboptions[ddsb_button]"
      <if condition="$show[guest]"> disabled="true"</if>>

      &nbsp;

      <input type="button" class="button" value=" B " style="font-weight: bold;" onclick="shoutstyle('bodyb', 0);"
      <if condition="$show[guest]"> disabled="true"</if>>

      <input type="button" class="button" value=" I " style="font-style: italic;" onclick="shoutstyle('bodyi', 0);"
      <if condition="$show[guest]"> disabled="true"</if>>

      <input type="button" class="button" value=" U " style="text-decoration: underline;" onclick="shoutstyle('bodyu', 0);"
      <if condition="$show[guest]"> disabled="true"</if>>

      <select id="bodycolorsel" <if condition="$show[guest]"> disabled="true"</if> onchange="shoutstyle('bodycolor', this.value);">
      <option value="0" style="background: #ffffff; color: #000000;">$vboptions[ddsb_txtcolor]</option>
      <option value="#000000" style="background: #000000;">&nbsp;</option>
      <option value="#8b0000" style="background: #8b0000;">&nbsp;</option>
      <option value="#ff0000" style="background: #ff0000;">&nbsp;</option>
      <option value="#ff00ff" style="background: #ff00ff;">&nbsp;</option>
      <option value="#ffc0cb" style="background: #ffc0cb;">&nbsp;</option>
      <option value="#a0522d" style="background: #a0522d;">&nbsp;</option>
      <option value="#ff8c00" style="background: #ff8c00;">&nbsp;</option>
      <option value="#f4a460" style="background: #f4a460;">&nbsp;</option>
      <option value="#ffa500" style="background: #ffa500;">&nbsp;</option>
      <option value="#f5deb3" style="background: #f5deb3;">&nbsp;</option>
      <option value="#556b2f" style="background: #556b2f;">&nbsp;</option>
      <option value="#808000" style="background: #808000;">&nbsp;</option>
      <option value="#9acd32" style="background: #9acd32;">&nbsp;</option>
      <option value="#fffacd" style="background: #fffacd;">&nbsp;</option>
      <option value="#006400" style="background: #006400;">&nbsp;</option>
      <option value="#008000" style="background: #008000;">&nbsp;</option>
      <option value="#2e8b57" style="background: #2e8b57;">&nbsp;</option>
      <option value="#00ff00" style="background: #00ff00;">&nbsp;</option>
      <option value="#98fb98" style="background: #98fb98;">&nbsp;</option>
      <option value="#483d8b" style="background: #483d8b;">&nbsp;</option>
      <option value="#008080" style="background: #008080;">&nbsp;</option>
      <option value="#48d1cc" style="background: #48d1cc;">&nbsp;</option>
      <option value="#00ffff" style="background: #00ffff;">&nbsp;</option>
      <option value="#afeeee" style="background: #afeeee;">&nbsp;</option>
      <option value="#000080" style="background: #000080;">&nbsp;</option>
      <option value="#0000ff" style="background: #0000ff;">&nbsp;</option>
      <option value="#4169e1" style="background: #4169e1;">&nbsp;</option>
      <option value="#00bfff" style="background: #00bfff;">&nbsp;</option>
      <option value="#add8e6" style="background: #add8e6;">&nbsp;</option>
      <option value="#4b0082" style="background: #4b0082;">&nbsp;</option>
      <option value="#708090" style="background: #708090;">&nbsp;</option>
      <option value="#800080" style="background: #800080;">&nbsp;</option>
      <option value="#9932cc" style="background: #9932cc;">&nbsp;</option>
      <option value="#dda0dd" style="background: #dda0dd;">&nbsp;</option>
      <option value="#2f4f4f" style="background: #2f4f4f;">&nbsp;</option>
      <option value="#696969" style="background: #696969;">&nbsp;</option>
      <option value="#808080" style="background: #808080;">&nbsp;</option>
      <option value="#c0c0c0" style="background: #c0c0c0;">&nbsp;</option>
      <option value="#ffffff" style="background: #ffffff;">&nbsp;</option>
      </select>

    </td>
    <td nowrap="nowrap" class="smallfont">

      <a href="shoutbox/shoutarchive.php" target="_blank">$vboptions[ddsb_archive]</a>

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

    </div>

    <input type="hidden" id="bodyb" value="0">
    <input type="hidden" id="bodyi" value="0">
    <input type="hidden" id="bodyu" value="0">
    <input type="hidden" id="bodycolor" value="0">
    <input type="hidden" id="bodystyle" value="0">

    </form>

    <iframe src="shoutbox/shoutdiv.php" width="$vboptions[ddsb_iwidth]" height="$vboptions[ddsb_iheight]" scrolling="auto" frameborder="0">
    Browser does not support iframes
    </iframe>
    
  </td>
</tr>
</table>
<br />
</if>
<!-- end Dion Dev Shoutbox v2.1 -->
Reply With Quote
  #86  
Old 07-04-2009, 01:13 PM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by drsli View Post
First of all, thank you very much for providing this neat shoutbox!
I discovered an issue within Safari4 on MacOSX - the colors in the dropdown-box are not shown, just white spaces.
be glad that your Safari users can even use it, my Safari users can't.
Reply With Quote
  #87  
Old 07-06-2009, 08:24 PM
sunnylikbeckham's Avatar
sunnylikbeckham sunnylikbeckham is offline
 
Join Date: Feb 2008
Location: India
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

damn i did not saw latest version does not have feture to enable it for guests

any way to do it??

or have to downgrade again???
Reply With Quote
  #88  
Old 07-07-2009, 03:13 AM
daveaite's Avatar
daveaite daveaite is offline
 
Join Date: Jul 2009
Location: Florida
Posts: 1,890
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shotboxes always consume large server loads.
Reply With Quote
  #89  
Old 07-08-2009, 12:53 AM
IngoT IngoT is offline
 
Join Date: Dec 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, i use vBulletin 3.6.11
Works your Shoutbox 2.1 also under this version, or only under 3.8 ?

Thanks!
Reply With Quote
  #90  
Old 07-10-2009, 12:55 AM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shoutbox not working correctly with WOL? Getting unknown location -> /shoutbox/shoutshow.php
Reply With Quote
  #91  
Old 07-11-2009, 01:06 PM
Big-Pete Big-Pete is offline
 
Join Date: May 2009
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mdelcour View Post
ok, when trying to post a smilie code, I am getting a broken image picture. For some reason, it's repeating my home address.
Also does this in the image tag.

OK, scratch that, I fixed it, in shoutshow.php I had to remove ../ from line 32. Otherwise it did what I stated above.
Mine done exactly the same, thanks for the help with this!!

@DionDev, great mod, thanks!
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 09:52 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.05057 seconds
  • Memory Usage 2,370KB
  • Queries Executed 28 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (5)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete