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)

silentdub 10-05-2009 09:58 PM

I had to re-install the shoutbox and now it is white background with black text.

I had it Black background with white text.

Where can I change this?

Yosef Sh 10-07-2009 06:51 PM

While importing the product i get this

Database error in vBulletin 3.8.4:

Invalid SQL:

INSERT INTO product
(productid, title, description, version, active, apm_releasedate, apm_author, apm_relatedurl, apm_extrainfo, apm_extraedit,apm_installdate,url, versioncheckurl)
VALUES
('ddsb2',
'Dion Dev Shoutbox',
'Adds a shoutbox to your forums',
'2.1',
1,
'',
'',
'',
'',
'',
'1254945083',
'http://www.diondev.com/vb',
'');

MySQL Error : Unknown column 'apm_releasedate' in 'field list'
Error Number : 1054
Request Date : Wednesday, October 7th 2009 @ 10:51:23 PM
Error Date : Wednesday, October 7th 2009 @ 10:51:23 PM

jkcerda 10-11-2009 05:12 AM

nice

snappy1313 10-12-2009 09:38 PM

Can I get some help with this? I installed it and it's on the forum pages exactly where I want it BUT inside the shoutbox is a 404 page not found link from my host? What did I do wrong? :(

silentdub 10-15-2009 10:07 PM

Quote:

Originally Posted by silentdub (Post 1895362)
I had to re-install the shoutbox and now it is white background with black text.

I had it Black background with white text.

Where can I change this?

Uninstalled.

nhdriver4 10-22-2009 07:06 PM

Patiently awaiting a new version for this. Seems that mysqli users are borked since you are using your own database calls. Until then, Uninstalled.

FTG STRYKER FG 10-23-2009 08:15 AM

Installed in less than 3 minutes. Thx, great mod.

I used vbShout but didn't like it because there is no option to not let guests view it and no option to allow admin/moderators delete shouts.

Only think I would change would be adding the ability for emoticons so people don't have to try and remember the keyboard verisons.

FTG STRYKER FG 10-27-2009 07:46 PM

Does anyone know where I can make these changes? And how? I basically want the shoutbox to look like the rest of my theme:

https://vborg.vbsupport.ru/external/2009/11/62.jpg

https://vborg.vbsupport.ru/external/2009/11/63.jpg

2nd image is just so you can see an entire box and its borders.

So basically I want to get the box/fame of the shoutbox to look like the rest of my site/theme. Not just grey and no borders.

Also want to change the gry color that surrounds the "text box" to the maroon color to match the site.

Any suggestions/ideas?

Brennan Portz 11-03-2009 02:30 PM

Quote:

Originally Posted by FTG STRYKER FG (Post 1907094)
Does anyone know where I can make these changes? And how? I basically want the shoutbox to look like the rest of my theme:

https://vborg.vbsupport.ru/external/2009/11/62.jpg

https://vborg.vbsupport.ru/external/2009/11/63.jpg

2nd image is just so you can see an entire box and its borders.

So basically I want to get the box/fame of the shoutbox to look like the rest of my site/theme. Not just grey and no borders.

Also want to change the gry color that surrounds the "text box" to the maroon color to match the site.

Any suggestions/ideas?

look through the css of your template and find the image location and once you do that edit the xml of vbadanced and pop it in the title image of the headder files and that should do it.

gearspro 11-04-2009 10:03 PM

Ok thanks muchly for the chatbox :P, Having a little problem, which is sometimes the chatbox doesnt refresh to show new posts and you have to refresh the page in order to show the new posts. How can i fix this please?

LiftedBronco 11-05-2009 11:39 PM

Same. Kind of,

I have it installed everything is up and running. But when I try to type a shout it doesn't show....hmm. I'm still working on it though. We will see.

I fixed the 404 thing. So it looks like a BLANK shoutbox. I'm still working on it

-edit-

The problem I'm running into is when I try to type in and I try to " shout " The page just refreshes instead of it "shouting"

gearspro 11-08-2009 02:12 PM

No one will help :(

maor20094 11-09-2009 02:02 PM

unlucky.
it no sapporting hebrew...

kevsfastz 11-09-2009 08:20 PM

I have it installed on my forum, but I am not able to see anything that is "shouted" any ideas?

Kev D

Been Told 11-15-2009 09:14 AM

Is there an option to empty the shoutbox? Deleting the shouts one by one is rather bothersome...

Been Told 11-15-2009 09:14 AM

Quote:

Originally Posted by kevsfastz (Post 1912133)
I have it installed on my forum, but I am not able to see anything that is "shouted" any ideas?

Kev D

Follow the instructions and don't forget about "template.txt"

jkcerda 11-17-2009 05:24 AM

Quote:

Originally Posted by gearspro (Post 1910328)
Ok thanks muchly for the chatbox :P, Having a little problem, which is sometimes the chatbox doesnt refresh to show new posts and you have to refresh the page in order to show the new posts. How can i fix this please?

the answer is a few pages back,,,you get that when you have more than one tab open.

Dion, thanks for your work,,cant wait to see the Smilie drop down & would love for the users to be able to edit their shouts :up:

Empire Gaming 12-17-2009 11:42 PM

Does anyone know how to get this to show on all pages "and" work on the vBadvanced home page at the same time? It works great on every page except my main CMPS page.

gr8whtd0pe 12-22-2009 06:18 PM

When I get home Ill post up the files if I can.

Drago13 12-22-2009 10:01 PM

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

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

B@Zzz... 01-31-2010 11:37 AM

Quote:

Originally Posted by B@Zzz... (Post 1956737)
Isn't there anyone who can help me to solve my problem?

The answer is already given on the first page of this thread... :rolleyes: Problem is solved now! :)
@DionDev, thanks for you PM!

Fonzi 02-11-2010 12:20 PM

Quote:

Originally Posted by mysql101 (Post 1847035)
for some reason the styles don't work right.

I had to add this to the output for them to appear:

echo str_replace ("\"", "", $style);

Otherwise the output would look:

@import url(../"clientscript/vbulletin_css/style-b2d267a2-00005.css");

instead of:

@import url(../clientscript/vbulletin_css/style-b2d267a2-00005.css);

I have the same issue, exactly where did you add echo str_replace ("\"", "", $style); ?

Thanks

GrossKopf 02-27-2010 11:34 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.

Any update on this?

MotMann 03-07-2010 03:18 PM

I Try it on 3.8, but the Shoutbox don't be displayed... any ideas?

B@Zzz... 03-21-2010 11:23 AM

@Dion,

the "+" and "€" sign doens't work in the shoutbox. Is it possible to fix that?

Tnx!
Bas

Reycer 05-29-2010 10:28 PM

Quote:

Originally Posted by GrossKopf (Post 1992759)
Any update on this?

wonder if there is an update now? I really need to update my forum to 4.0.3 and am truly waiting on this mod to get updated so that I can do just that. Great product.....

Reycer 05-29-2010 10:30 PM

Quote:

Originally Posted by MotMann (Post 1999165)
I Try it on 3.8, but the Shoutbox don't be displayed... any ideas?

then you've got to be doing something wrong. I'm currently using 3.8x on one of my forums and it works great!

DEMO: www.lacledeforum.com/forums

FlikstRR 06-08-2010 06:41 PM

demo doesnt work

squad22345 06-26-2010 09:18 AM

is anyone else having problems with it not refreshing in IE???

nbaphenom 10-10-2010 04:45 AM

Hey guys, I installed this and it worked for a few days - loved it.

Anywho unfortunately the site got shutdown because of an error and here's the log:

Code:

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'website'@'localhost' (using password: YES)
/includes/class_core.php on line 311

MySQL Error  :
Error Number  :
Request Date  : Saturday, October 9th 2010 @ 05:15:37 PM
Error Date    : Saturday, October 9th 2010 @ 05:15:37 PM
Script        : http://2khoops.net/forums/shoutbox/shoutcache.php
Referrer      : http://2khoops.net/forums/shoutbox/shoutdiv.php
IP Address    : 67.11.178.214
Username      :
Classname    : vB_Database
MySQL Version :

And then here's the code:

Code:

$template_hook[credits_pos1]

<if condition="$show['donate']">
<form action="credits.php?do=donate" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="donate" />
<a name="donate"></a>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[donate] <span class="smallfont"><if condition="$show['anon']"> <input type="checkbox" name="anonymous" value="1" />$vbphrase[anonymous]</if></span></td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td width="20%" valign="top" nowrap="nowrap">
<div style="margin-bottom:$stylevar[formspacer]px"><strong>$vbphrase[recipient]</strong><br /></div>
<div id="userfield">
<input type="text" class="bginput" name="recipient" id="userfield_txt" size="12" value="$username[username]" autocomplete="off" />
</div>
<div id="userfield_menu" class="vbmenu_popup" style="display:none"></div>
<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
vbmenu_register('userfield', true);
snc = new vB_AJAX_NameSuggest('snc', 'userfield_txt', 'userfield');
//-->
</script>
</td>
<td width="3%" rowspan="2" style="border-$stylevar[left]:1px solid $stylevar[tborder_bgcolor]">&nbsp;</td>
<td width="49%" valign="top" rowspan="2">
<div style="margin-bottom:$stylevar[formspacer]px"><strong>$vbphrase[comment]</strong></div>
<input type="text" class="bginput" name="comment" size="35" maxlength="255" />
</td>
<td width="3%" rowspan="2" style="border-$stylevar[left]:1px solid $stylevar[tborder_bgcolor]">&nbsp;</td>
<td width="25%" valign="top" rowspan="2">
<div style="margin-bottom:$stylevar[formspacer]px"><strong>$vbphrase[amount]</strong><if condition="$donatefee"> <if condition="$vbulletin->options['credits_feetype'] == 'neg'">-<else />+</if>$donatefee% $vbphrase[fee]</if></div>
<input type="text" class="bginput" name="amount" value="0" size="6" /> <input type="submit" class="bginput" value="$vbphrase[donate]" style="font-weight:normal" />
</td>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
</form>
<br />
</if>

$template_hook[credits_pos2]

<if condition="$show['lottery']">
<form action="credits.php?do=lottery" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="lottery" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('credits_lottery')"><img id="collapseimg_credits_lottery" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_credits_lottery].gif" alt="" border="0" /></a>
$vbphrase[drawings]
</td>
</tr>
</thead>
<tbody id="collapseobj_credits_lottery" style="$vbcollapse[collapseobj_credits_lottery]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">
$lotterybits
<div class="fieldset" style="margin:0px; padding:$stylevar[formspacer]px">
<phrase 1="$maxrange" 2="$maxtickets" 3="$wintax">$vbphrase[credits_lotteryinfo]</phrase>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<br />
</if>

$template_hook[credits_pos3]

<if condition="$show['topx']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="4">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('credits_top')"><img id="collapseimg_credits_top" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_credits_top].gif" alt="" border="0" /></a>
$vbphrase[credits_topholders]
</td>
</tr>
<tr align="center">
<td class="thead" width="25%">$vbphrase[username]</td>
<td class="thead" width="25%">$vbphrase[contact]</td>
<td class="thead" width="25%">$vbphrase[join_date]</td>
<td class="thead" width="25%">$vbphrase[credits]</td>
</tr>
<thead>
<tbody id="collapseobj_credits_top" style="$vbcollapse[collapseobj_credits_top]">
$topentries
</tbody>
</table>
<br />
</if>

$template_hook[credits_pos4]

I love this shoutbox and would really appreciate it if someone would be kind enough to help me identify a fix for it :(


All times are GMT. The time now is 05:50 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.01678 seconds
  • Memory Usage 1,899KB
  • 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
  • (5)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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