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)

gr8whtd0pe 12-23-2009 03:48 AM

1 Attachment(s)
Okay so this should work. Open shoutinsert.js and change
Code:

var url = 'shoutbox/shoutinsert.php';
to
Code:

var url = 'forums/shoutbox/shoutinsert.php';
Save it as something like shoutinsertcmps.js and upload it with the rest of the shoutbox files.

Now go and create a new template under your style manager. Name it: adv_portal_shoutbox , paste this in:
Code:

<!-- Dion Dev Shoutbox v2.1 -->
<if condition="!$show[guest] || $vboptions[ddsb_guest_show]">
<script type="text/javascript" src="http://www.yoursite.com/forums/shoutbox/shoutinsertcmps.js"></script>
<tr>
  <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="forums/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="forums/shoutbox/shoutdiv.php" width="$vboptions[ddsb_iwidth]" height="$vboptions[ddsb_iheight]" scrolling="auto" frameborder="0">
    Browser does not support iframes
    </iframe>
   
  </td>
</tr>
<br />
</if>
<!-- end Dion Dev Shoutbox v2.1 -->

save that and upload the module in your cmps and you should be good to go.

B@Zzz... 12-31-2009 05:08 PM

We use the shoutbox for a few months now, without any problems :up:

But I tried to install vBadvanced and now the smiley's doesn't work anymore :(
If I look at the properties of the "red-cross"symbol I see that the URL is http://www.*****.nl/forum/http://www.../icon_razz.gif

But the URL must be: www.*****.nl/forum//images/smilies/icon_razz.gif

Anyone an idea what the problem can be? Because we miss "our" smiley's :D

Thank you!

B@Zzz... 01-02-2010 06:14 AM

Now I manualy changed the URL's of the smiley's in the database and now it's working again. The url was http://www.***.nl/forum//images/smileys/**.gif and I changed it in images/smileys/**.gif (what a job to do with 180 smiley's )
Now the shoutbox is working again, but vBadvanced CMPS is still uninstalled...
When I install it again, I will have the same problem...
Is there a solution to fix this problem?

B@Zzz... 01-15-2010 06:03 PM

Isn't there anyone who can help me to solve my problem?

socalmike 01-19-2010 04:12 PM

Help :) I am getting a Page Not Found showing up in my Shout box.

See: http://www.chasingthechuckwagon.com/forum/index.php

What am I missing?

- Ok. It would help if I copied the correct folder into my Vbul directory. Working now and looking good!

Thanks,

Mike, GameGavel.com

socalmike 01-21-2010 06:42 PM

Just got 960 error messages:

Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User
socalmike already has more than 'max_user_connections' active connections
/data/13/1/147/147/1310636/user/1403651/htdocs/forum/includes/class_core.php on line
311

MySQL Error :
Error Number :
Request Date : Thursday, January 21st 2010 @ 02:58:40 PM
Error Date : Thursday, January 21st 2010 @ 02:58:40 PM
Script : http://www.chasingthechuckwagon.com/...shoutcache.php
Referrer : http://www.chasingthechuckwagon.com/...x/shoutdiv.php
IP Address : 75.128.238.129
Username :
Classname : vB_Database
MySQL Version :
__________________________________________________ ___

Anyone know why?

DionDev 01-30-2010 08:27 AM

Quote:

Originally Posted by Drago13 (Post 1935839)
Dion, any idea when you will be able to update your chat system to the new vB4.. Your Shout box is one of the best. Thanks...

I'm rewriting the shoutbox for vb4. It should be posted within the next couple of weeks.

captkirk 01-30-2010 09:39 PM

Excellent, can hardly wait, since Inferno shoutbox project is dead.

elwachiman 01-30-2010 09:42 PM

waiting for vb4 ....

gothicuser 01-31-2010 06:47 AM

Quote:

Originally Posted by DionDev (Post 1970323)
I'm rewriting the shoutbox for vb4. It should be posted within the next couple of weeks.

Many thanks :D


All times are GMT. The time now is 05:03 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.01304 seconds
  • Memory Usage 1,767KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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