vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Chat Modifications - Dion Dev Shoutbox v2.1 (AJAX) (https://vborg.vbsupport.ru/showthread.php?t=213225)

drsli 07-03-2009 04:32 PM

The same with Cybernetec´s chatbox. This seems to be a browser-related issue with Safari.

ti07shadow 07-03-2009 06:53 PM

nice shoutbox but I prefer vbshout due to the ajax refresh

Reycer 07-04-2009 01:04 PM

Quote:

Originally Posted by macc (Post 1840161)
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 -->


Reycer 07-04-2009 01:07 PM

Quote:

Originally Posted by FeatheredFriend (Post 1839178)
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 -->


Reycer 07-04-2009 01:13 PM

Quote:

Originally Posted by drsli (Post 1841631)
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.

sunnylikbeckham 07-06-2009 08:24 PM

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???

daveaite 07-07-2009 03:13 AM

Shotboxes always consume large server loads.

IngoT 07-08-2009 12:53 AM

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

Thanks!

Dark_Wizard 07-10-2009 12:55 AM

Shoutbox not working correctly with WOL? Getting unknown location -> /shoutbox/shoutshow.php

Big-Pete 07-11-2009 01:06 PM

Quote:

Originally Posted by mdelcour (Post 1807637)
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!


All times are GMT. The time now is 12:33 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.01316 seconds
  • Memory Usage 1,806KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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