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)

aramiK89 06-29-2008 10:11 AM

Hey, just need to check - once this is added it won't give birth to the security token error?

Has the line of code been added so that it works with the security token feature?

pk698 06-29-2008 08:54 PM

I'm getting this error msg. Anyone know why it's happening? thanks.

Quote:

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

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


drbox 06-30-2008 05:23 AM

installed & working excellent :) its much better then ShoutBox!!

UltraFanatics 06-30-2008 06:38 AM

Superb upgrade yet again mate, well done!

Wehn it says "pruned" does that actually mean deleted from everything?

Valter 06-30-2008 11:36 AM

Quote:

Originally Posted by UltraFanatics (Post 1562745)
Superb upgrade yet again mate, well done!

Wehn it says "pruned" does that actually mean deleted from everything?

Deleted physically from database. Messages can not be restored later.

StarFire 06-30-2008 12:14 PM

Installed on vB 3.7.2 - works great! Thanks, Cyb! Keep up the good work.

mrspring 06-30-2008 01:46 PM

Quote:

Originally Posted by Xphusion (Post 1557344)
ok i did that now how do i get it on the front of the portal page (home page) preferable under the UserCP block

Bump: i'd like to know how to get the non-chatbox full as a module also please.. All my attempts so far have made ugly messes, usually wrapped in vBadvanced inside a module :(

Also: LOVE the mod, working well on 3.7.2

Suggestion: Any way that CHANNELS could be added for future? so different sections of the board could have their own chats? I think that would kick this mod into the super-league..

TitanJeff 07-01-2008 10:55 AM

Quote:

Originally Posted by Darkfire122333 (Post 1547191)
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>


Did this and like it. However, I notice it widens the forumhome quite a bit. Is there a way to allow the chatbox to be more narrow for those who want it? Thanks.

EDIT: figured it out. I saw the percentage of 75% and made it less. Worked just fine. Thanks.

sheep92032 07-03-2008 12:11 PM

I don't see any submit button. It'd also be nice to be able to edit the phrase 'Ask your questions in the forums. The ChatBox is for small talk.' and $vbphrase[message]. I can't use the chatbox on my ipod without the submit button, so i think that's the most important.

Valter 07-03-2008 05:58 PM

There IS a submit button, and I'm always wondering how some people can be forum admins if they don't even know how to edit phrases.


All times are GMT. The time now is 08:04 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.02234 seconds
  • Memory Usage 1,791KB
  • 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
  • (1)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
  • (3)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