vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Chat Modifications - Cyb - ChatBox (https://vborg.vbsupport.ru/showthread.php?t=177552)

boandmichele 09-13-2008 02:10 PM

vbboarder, you are THE MAN. thanks so much!

*edit* okay well it worked on the up/down pulsating, but now i have a user saying that the chatbox squeezes in and out when it refreshes. :( any ideas?

vbboarder 09-13-2008 06:46 PM

Quote:

Originally Posted by boandmichele (Post 1621199)
vbboarder, you are THE MAN. thanks so much!

*edit* okay well it worked on the up/down pulsating, but now i have a user saying that the chatbox squeezes in and out when it refreshes. :( any ideas?

Did you do both steps for the fix? Also, did you do this optional 3rd step?

Quote:

if you want to make the chatbox text area bigger by about ~10 pixels, find all:
$cybcb_height_input_wstatus
and replace with:
$cybcb_height_input

What browser & OS are you having trouble in? I tested it fine in Windows XP with Firefox 2 & IE7. Anyone else having this problem with this fix (do BOTH steps for the fix)?

I tried the chatbox with & without the optional 3rd step and it works fine without pixel shifting or size changes. However, I recommend doing that 3rd optional step since it makes the chatbox size more consistent. Try it out and let me know.

Mastergumble 09-13-2008 08:54 PM

Quote:

Originally Posted by KorsatH (Post 1620753)
anyone has fix it?

If you have the vBa ...index.php out of the Forums directory will not work, it appen also to me...

dr nick 09-14-2008 05:39 PM

How do i put the chat in a special forum?
I just can have it in all sub forums or on top in the main..

Shazz 09-14-2008 05:42 PM

Quote:

Originally Posted by dr nick (Post 1622096)
How do i put the chat in a special forum?
I just can have it in all sub forums or on top in the main..

Only in one specific forum?

dr nick 09-14-2008 06:05 PM

Quote:

Originally Posted by Shazz (Post 1622098)
Only in one specific forum?

yes..
www.optimalbody.se/forum

I want it under "MISC" only..?
How do i do that?

boandmichele 09-14-2008 08:15 PM

Quote:

Originally Posted by vbboarder (Post 1621409)
Did you do both steps for the fix? Also, did you do this optional 3rd step?


What browser & OS are you having trouble in? I tested it fine in Windows XP with Firefox 2 & IE7. Anyone else having this problem with this fix (do BOTH steps for the fix)?

I tried the chatbox with & without the optional 3rd step and it works fine without pixel shifting or size changes. However, I recommend doing that 3rd optional step since it makes the chatbox size more consistent. Try it out and let me know.

i did both steps, but not the optional 3rd step. i will try it in a few, and see if my mac users notice anything different.

your code fixed the pulsing for me in xp (fx3 and ie7). it never did it in ubuntu at all (fx3).

my user is having trouble in fx3, using mac osx.

sorry typing with baby in one arm, will post back when i have a verdict.

Gamelobby 09-15-2008 03:06 AM

I used to have "vBShout" but now i installed cyb ChatBox, & it doesn't work, it keeps trying to load, & i get this messege if i try to chat..


Quote:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

We tried the fixes.
Any suggestions..?

Thanks

boandmichele 09-15-2008 10:21 AM

vbboarder - doing the 3rd step fixed the problem for my mac users, thanks again!

dr nick 09-15-2008 02:17 PM

Quote:

Originally Posted by dr nick (Post 1622107)
yes..
www.optimalbody.se/forum

I want it under "MISC" only..?
How do i do that?

Bump for this?

vbboarder 09-15-2008 04:40 PM

Quote:

Originally Posted by boandmichele (Post 1622534)
vbboarder - doing the 3rd step fixed the problem for my mac users, thanks again!

Glad it worked - thought it would. Actually, the JS behavior in mac firefox is actually what should happen if you don't do the 3rd fix step. I'm surprised that FX2/3 in Windows XP does not respond the same, considering it's from the same maker. Anyways, thanks for confirming - I'll update my first post for this fix to state the the 3rd step is required and not optional.

carrlos 09-16-2008 01:06 AM

Quote:

Originally Posted by vbboarder (Post 1620069)
Bug: About a week ago I reported that the chatbox shifted the page down & up by ~2 pixels in IE7 whenever the "refreshing messages" appeared. Several other people have confirmed this bug, but no fix has yet been posted. Well, I finally got annoyed and decided to debug it myself.

Thanks for the fix!! It works great! :up:

dr nick 09-16-2008 02:16 PM

Quote:

Originally Posted by dr nick (Post 1622107)
yes..
www.optimalbody.se/forum

I want it under "MISC" only..?
How do i do that?

Is it impossibly to have the chat under a sub forum only?
No replys,i guess its impossible...?

KorsatH 09-16-2008 02:34 PM

Quote:

Originally Posted by Mastergumble (Post 1621471)
If you have the vBa ...index.php out of the Forums directory will not work, it appen also to me...

sosp

I can't change the forum directory =/

How do you resolve it?

Gamelobby 09-16-2008 08:48 PM

Quote:

Originally Posted by Gamelobby (Post 1622378)
I used to have "vBShout" but now i installed cyb ChatBox, & it doesn't work, it keeps trying to load, & i get this messege if i try to chat..


Quote:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
We tried the fixes.
Any suggestions..?

Thanks


Could i get you to look at it..?
or should i make a post in the paid jobs section.?

Thanks

Ciderhelm 09-18-2008 06:59 AM

Wonderful mod. I'd like to request an auto-timeout or idle feature so users who go afk don't drain the server too badly. Thanks!

VirusLIVED 09-18-2008 05:54 PM

Would anyone know how to actually embed this hack into a CMPS module? I am trying to make it a center module. Thanks!

lbcs 09-18-2008 06:35 PM

I'm using ibProArcade and I would like to put the chat box on the arcade.php page.
Can you help me to figure out how to edit the template to do this.

What I've already tried is adding the $cybchatbox to the arcade template however nothing will show up but the chat box is on all my other pages. :rolleyes:

dodjer42 09-19-2008 11:33 AM

If you want an under over configuration for your forum, I have modified the product and uploaded it to my site.

http://www.wpguild.com/downloads/cybchat-rows.xml

I've had to hard code the message entry background color due to my forum style. If you use this modified version and want to change the color, find this entry:

background-color:#000000

Replace #000000 with a hex code that suits your style, or you can replace that with the actual style code.
:)

K4GAP 09-20-2008 07:32 PM

Y'all help me out here. Where do I find the, "Portal Output Global Variables" field?

dodjer42 09-20-2008 10:15 PM

Gary: thats in vBa CMPS / main options.

SPARKS MAN 09-21-2008 12:10 AM

i change its Lang. to Arabic
its very nice and flexible

SPARKS MAN 09-21-2008 12:17 AM

<a href="http://vb.ulkahf.net/index.php" target="_blank">http://vb.ulkahf.net/index.php</a>

i installed it in arabic in my site

thanks

dr nick 09-21-2008 11:43 AM

Quote:

Originally Posted by dr nick (Post 1623377)
Is it impossibly to have the chat under a sub forum only?
No replys,i guess its impossible...?

last bump for this..

chessh 09-21-2008 01:46 PM

The Chatbox Archieve (misc.php?do=ccarc) is XSS vulnerable. Here are the lines you have to edit:

Line 485 must be like this: $cybcb_search_value = htmlspecialchars($vbphrase['cybcb_search_chatbox']);

Line 487 must be like this: $cybcb_targettext = htmlspecialchars($vbulletin->GPC['cbt']);

Line 491 must be like this: $cybcb_search_value = htmlspecialchars($cybcb_targettext);

Maybe in the next version, you guys will include this fix. :)

Discovered and fixed by chessh, cigraphics and black_death from Click4Trick.com :)

regitbull 09-21-2008 02:36 PM

i would like to make a req for this mod.

What about a accept shoutrules before you can post function?
So you can fill in rules like no swearing,no insulting members,enz.
Like the accept forum rules mod.

But its just a idea.
But i think it would make your shoutbox better :)


Cheers,
regitbull

HemoOo Nana 09-21-2008 05:35 PM

thanks

Largo .//npc 09-21-2008 06:04 PM

I have the Security Token problem.
I updated to vB 3.7.2 PL2, updated Chat to 2.2 and now I have this error when the chat is refreshed or someone tried to post in it.

elbrian 09-21-2008 06:04 PM

Quote:

Originally Posted by Darkfire122333 (Post 1547191)
In the XML Change:

Code:

            <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <thead>
                    <tr>
                        <td class="<if condition="($vboptions[cybchatbox_box_style]==1)">tcat<else />thead</if>" colspan="3">
                            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('cybcb_boxswitch')"><img id="collapseimg_cybcb_boxswitch" src="$stylevar[imgdir_button]/collapse_<if condition="($vboptions[cybchatbox_box_style]==1)">tcat<else />thead</if>$vbcollapse[collapseimg_cybcb_boxswitch].gif" alt="" border="0" /></a>
                            <span id="cybchatmenuccbox"><if condition="($_REQUEST['do']!='cchatbox')">$vbphrase[cybcb_chatbox]<else />$vbphrase[cybcb_chatbox_full]</if> <script language="Javascript" type="text/javascript"> vbmenu_register("cybchatmenuccbox"); </script></span> <span class="smallfont" id="cybcb_newinfoarea" style="display:inline;">($cybcb_newstat)</span>
                        </td>
                    </tr>
                </thead>
                <tbody id="collapseobj_cybcb_boxswitch" style="<if condition="$vboptions[cybchatbox_collapsed_always]"><if condition="(THIS_SCRIPT!='misc')">display:none</if><else />$vbcollapse[collapseobj_cybcb_boxswitch]</if>">
                    <tr valign="top">
                        <td class="alt2" width="1%">
                            <div style="white-space:nowrap;width:100%;height:25px;display:block;">
                                <input id="ccb_m_bold" type="button" class="button" style="width:30px;font-weight:bold;" value="B" onclick='Ccb_updateSButton(this, "fontWeight")' <if condition="$cybcb_cantpost">disabled="disabled"</if> />
                                <input id="ccb_m_italic" type="button" class="button" style="width:30px;font-style:italic;" value="I" onclick='Ccb_updateSButton(this, "fontStyle")' <if condition="$cybcb_cantpost">disabled="disabled"</if> />
                                <input id="ccb_m_underline" type="button" class="button" style="width:30px;text-decoration:underline;" value="U" onclick='Ccb_updateSButton(this, "textDecoration")' <if condition="$cybcb_cantpost">disabled="disabled"</if> />
                                <select id="ccb_m_color" name="ccb_m_color" style="width:50px;background-color:black;" onchange='Ccb_updateColor(this, "color");Ccb_Init();' <if condition="$cybcb_cantpost">disabled="disabled"</if>>
                                    <option style="background-color:$stylevar[alt1_fgcolor];color:$stylevar[alt1_fgcolor];" value="$stylevar[alt1_fgcolor]" selected="selected">&nbsp;</option>
                                    $cybcb_colors
                                </select>
                                <if condition="(($vboptions[cybchatbox_smiliestotal]!=0) AND !$cybcb_cantpost AND $cybcb_smilies_init)">
                                    <span id="cybchatmenusmilies">$vbphrase[smilies] <script language="Javascript" type="text/javascript"> vbmenu_register("cybchatmenusmilies"); </script></span>
                                    <span class="vbmenu_popup" id="cybchatmenusmilies_menu" style="display:none;">
                                        <table cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td class="thead">$vbphrase[smilies]</td>
                                            </tr>
                                            <tr>
                                                <td class="alt2">
                                                    <div id="cybcb_smiliesarea" style="max-height:200px;overflow:auto;background-color:$stylevar[alt1_bgcolor];border-top:0px;border-bottom:1px;border-left:0px;border-right:0px;border-color:$stylevar[time_fgcolor];border-style:dashed;">
                                                        <div id="cybcb_smiliesarea_init" style="overflow:auto;background-color:$stylevar[alt1_bgcolor];border-top:0px;border-bottom:1px;border-left:0px;border-right:0px;border-color:$stylevar[time_fgcolor];border-style:dashed;">
                                                            $cybcb_smilies_init
                                                        </div>
                                                        <div id="cybcb_smiliesarea_full" style="background-color:$stylevar[alt1_bgcolor];margin:1px;">
                                                            <span id="cybcb_smilies_more" class="smallfont" style="display:inline;">
                                                                <a href="javascript:void(0);" onclick="Ccb_getSmilies();" style="text-decoration:none;">$vbphrase[more]</a>
                                                            </span>
                                                            <span id="cybcb_smilies_loading" class="smallfont" style="display:none;">
                                                                $vbphrase[cybcb_loading]
                                                            </span>
                                                        </div>
                                                    </div>
                                                    <div align="center" style="margin:4px;">
                                                        <img id="cybcb_smiliepreview" src="$cybcb_smilie_first" border="0" alt="" />
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </span>
                                </if>
                            </div>
                            <textarea name="ccb_entermessage" id="ccb_entermessage" class="smallfont" style="width:99%;height:$cybcb_height_input;overflow:auto;color:$stylevar[alt1_fgcolor];background-color:$stylevar[alt1_bgcolor];border:0px;" onkeydown="if (event.keyCode == 13) {return Ccb_postMessage(cybcb_post_form);}"  onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;" <if condition="$cybcb_cantpost">disabled="disabled"</if> rows="1" cols="1">$vbphrase[message]...</textarea>
                        </td>
                        <td class="alt2">
                            <div id="cybcb_messagearea" style="overflow:auto;height:$cybcb_height_messarea;width:100%;border:0px;background-color:$stylevar[alt2_bgcolor]">
                                $vbphrase[cybcb_loading]
                            </div>
                        </td>
                    </tr>
                    <if condition="$vboptions[cybchatbox_belownote]">
                    <tr>
                        <td class="alt2" align="$stylevar[left]" colspan="3">
                            <div class="smallfont" style="float:$stylevar[right];">$vbphrase[cybcb_chatbox_note]</div>
                        </td>
                    </tr>
                    </if>
                </tbody>
            </table>

To:

Code:

            <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <thead>
                    <tr>
                        <td class="<if condition="($vboptions[cybchatbox_box_style]==1)">tcat<else />thead</if>" colspan="3">
                            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('cybcb_boxswitch')"><img id="collapseimg_cybcb_boxswitch" src="$stylevar[imgdir_button]/collapse_<if condition="($vboptions[cybchatbox_box_style]==1)">tcat<else />thead</if>$vbcollapse[collapseimg_cybcb_boxswitch].gif" alt="" border="0" /></a>
                            <span id="cybchatmenuccbox"><if condition="($_REQUEST['do']!='cchatbox')">$vbphrase[cybcb_chatbox]<else />$vbphrase[cybcb_chatbox_full]</if> <script language="Javascript" type="text/javascript"> vbmenu_register("cybchatmenuccbox"); </script></span> <span class="smallfont" id="cybcb_newinfoarea" style="display:inline;">($cybcb_newstat)</span>
                        </td>
                    </tr>
                </thead>
                <tbody id="collapseobj_cybcb_boxswitch" style="<if condition="$vboptions[cybchatbox_collapsed_always]"><if condition="(THIS_SCRIPT!='misc')">display:none</if><else />$vbcollapse[collapseobj_cybcb_boxswitch]</if>">
                    <tr valign="top">
                        <td class="alt2">
                            <div id="cybcb_messagearea" style="overflow:auto;height:$cybcb_height_messarea;width:100%;border:0px;background-color:$stylevar[alt2_bgcolor]">
                                $vbphrase[cybcb_loading]
                            </div>
                        </td>
                    </tr>
                    <tr valign="top">
                        <td class="alt2">
                            <textarea name="ccb_entermessage" id="ccb_entermessage" class="smallfont" style="width:75%;height:15px;overflow:auto;color:$stylevar[alt1_fgcolor];background-color:$stylevar[alt1_bgcolor];border:0px;" onkeydown="if (event.keyCode == 13) {return Ccb_postMessage(cybcb_post_form);}"  onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;" <if condition="$cybcb_cantpost">disabled="disabled"</if> rows="1" cols="1">$vbphrase[message]...</textarea>
                                <input id="ccb_m_bold" type="button" class="button" style="width:30px;font-weight:bold;" value="B" onclick='Ccb_updateSButton(this, "fontWeight")' <if condition="$cybcb_cantpost">disabled="disabled"</if> />
                                <input id="ccb_m_italic" type="button" class="button" style="width:30px;font-style:italic;" value="I" onclick='Ccb_updateSButton(this, "fontStyle")' <if condition="$cybcb_cantpost">disabled="disabled"</if> />
                                <input id="ccb_m_underline" type="button" class="button" style="width:30px;text-decoration:underline;" value="U" onclick='Ccb_updateSButton(this, "textDecoration")' <if condition="$cybcb_cantpost">disabled="disabled"</if> />
                                <select id="ccb_m_color" name="ccb_m_color" style="width:50px;background-color:black;" onchange='Ccb_updateColor(this, "color");Ccb_Init();' <if condition="$cybcb_cantpost">disabled="disabled"</if>>
                                    <option style="background-color:$stylevar[alt1_fgcolor];color:$stylevar[alt1_fgcolor];" value="$stylevar[alt1_fgcolor]" selected="selected">&nbsp;</option>
                                    $cybcb_colors
                                </select>
                                <if condition="(($vboptions[cybchatbox_smiliestotal]!=0) AND !$cybcb_cantpost AND $cybcb_smilies_init)">
                                    <span id="cybchatmenusmilies">$vbphrase[smilies] <script language="Javascript" type="text/javascript"> vbmenu_register("cybchatmenusmilies"); </script></span>
                                    <span class="vbmenu_popup" id="cybchatmenusmilies_menu" style="display:none;">
                                        <table cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td class="thead">$vbphrase[smilies]</td>
                                            </tr>
                                            <tr>
                                                <td class="alt2">
                                                    <div id="cybcb_smiliesarea" style="max-height:200px;overflow:auto;background-color:$stylevar[alt1_bgcolor];border-top:0px;border-bottom:1px;border-left:0px;border-right:0px;border-color:$stylevar[time_fgcolor];border-style:dashed;">
                                                        <div id="cybcb_smiliesarea_init" style="overflow:auto;background-color:$stylevar[alt1_bgcolor];border-top:0px;border-bottom:1px;border-left:0px;border-right:0px;border-color:$stylevar[time_fgcolor];border-style:dashed;">
                                                            $cybcb_smilies_init
                                                        </div>
                                                        <div id="cybcb_smiliesarea_full" style="background-color:$stylevar[alt1_bgcolor];margin:1px;">
                                                            <span id="cybcb_smilies_more" class="smallfont" style="display:inline;">
                                                                <a href="javascript:void(0);" onclick="Ccb_getSmilies();" style="text-decoration:none;">$vbphrase[more]</a>
                                                            </span>
                                                            <span id="cybcb_smilies_loading" class="smallfont" style="display:none;">
                                                                $vbphrase[cybcb_loading]
                                                            </span>
                                                        </div>
                                                    </div>
                                                    <div align="center" style="margin:4px;">
                                                        <img id="cybcb_smiliepreview" src="$cybcb_smilie_first" border="0" alt="" />
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </span>
                                </if>
                        </td>
                    </tr>
                    <if condition="$vboptions[cybchatbox_belownote]">
                    <tr>
                        <td class="alt2" align="$stylevar[left]" colspan="3">
                            <div class="smallfont" style="float:$stylevar[right];">$vbphrase[cybcb_chatbox_note]</div>
                        </td>
                    </tr>
                    </if>
                </tbody>
            </table>

Screenshots attached.

Hope this is what you wanted.

Note: Re-uploading the XML will NOT reset the shoutbox, all settings will stay the same.

I tried doing this and it made my chat freeze on Loading.

Did I do the change wrong, or have you updated the chat since then, rendering this mod to it useless?

Thanks!

Largo .//npc 09-21-2008 09:47 PM

My Issue is now fixed. I just downloaded the full 3.7.3 and overwrote all files then installed all addons again.

dodjer42 09-22-2008 12:12 AM

Thanks Chessh!

chessh 09-22-2008 01:28 PM

You're welcome.

Valter 09-22-2008 06:25 PM

v2.3 - Sep 22. 2008.
-Fixed XSS vulnerability in ChatBox Search
-Improved Tags Banning feature
-Fixed bug (user can add forbidden tags by editing already posted message)
-Fixed bug (user blocked by low post count can access ChatBox on separate page if url is known)
-Fixed bug (page shifting on refresh in IE)
-Fixed bug (Smilies menu breaks row on expand in Opera)
-Minor bug fixes

To upgrade:
-Import XML, allow overwrite
-Revert hack templates if any modified

veenuisthebest 09-22-2008 06:35 PM

thanks for the upgrade cyb !

eddy315west 09-22-2008 06:39 PM

thanks for the update

Subah 09-22-2008 06:56 PM

Thanks for the update :)

jammiedodger546 09-22-2008 07:03 PM

Thanks for the update Cyb

boandmichele 09-22-2008 07:30 PM

cyb,

i just updated to 2.3, and reverted my repaired template to your default. in firefox 3, windows xp, its still making the page jump up and down, just fyi.

Masiello 09-22-2008 07:36 PM

Thank you Cybernetec!

vbboarder 09-22-2008 07:39 PM

Cyb,
Feel free to use my pixel shifting bug fix that I posted. Several chatbox users reported successful fix in this chatbox thread - no pixel shifting in firefox, explorer, or safari. Here's the post:
https://vborg.vbsupport.ru/showthrea...69#post1620069


All times are GMT. The time now is 01:01 AM.

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.02572 seconds
  • Memory Usage 1,920KB
  • 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
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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