Thread: Chat Modifications - Cyb - ChatBox
View Single Post
  #170  
Old 06-11-2008, 04:29 AM
Darkfire122333 Darkfire122333 is offline
 
Join Date: Mar 2005
Location: Canada
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, but make sure it stays inside the <form> </form> tags.

PHP Code:
        <form name="cybcb_post_form" action="misc.php?$session[sessionurl]&securitytoken=$cybcb_sectokmethod="post" onsubmit="return Ccb_postMessage(this)">
            <
input type="hidden" name="do" value="cb_postnew" />
            <
input type="hidden" name="color" />
            <
input type="hidden" name="fontWeight" />
            <
input type="hidden" name="fontStyle" />
            <
input type="hidden" name="textDecoration" />

            <
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">
                            <
textarea name="ccb_entermessage" id="ccb_entermessage" class="smallfont" style="width:92%;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>&nbsp;<input type="submit" value="Submit" id="submit" />
                        </
td>
                    </
tr>
                    <
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>
                    <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>
        </
form
that is mine, all i edited was the part that you see above.. the form tag is there from the cyb chatbox. just want you to understand completely

by the way.. don't forget to re-install the xml after the edits
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01984 seconds
  • Memory Usage 1,839KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete