View Single Post
  #3  
Old 02-19-2008, 05:10 PM
CoryNickerson CoryNickerson is offline
 
Join Date: Oct 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought it may have something to do with that as well. But it still works in the "quick edit post" editor. Just not in new reply and new thread. Those both use the same templates. With the fact that I didn't edit the JS would lead me to the conclusion that somethings wrong in the template.

Heres the full template.

PHP Code:
$vBeditTemplate[clientscript]

<
table width="100%" cellpadding="0" cellspacing="0" border="0">
<
tr>
    <
td id="$editoridclass="editor_top">
        <
div id="{$editorid}_controls" class="controlbar">
            <
table cellpadding="0" cellspacing="0" border="0">
            <
tr>
            <if 
condition="$show['font_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_popup_fontname" title="$vbphrase[fonts]">
                    <
table cellpadding="0" cellspacing="0" border="0">
                    <
tr>
                        <
td class="popup_feedback"><div id="{$editorid}_font_out" style="width:91px">&nbsp;</div></td>
                        <
td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.png" width="11" height="16" alt="" /></td>
                    </
tr>
                    </
table>                
                </
div></td>
            </if>
            <if 
condition="$show['size_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_popup_fontsize" title="$vbphrase[sizes]">
                    <
table cellpadding="0" cellspacing="0" border="0">
                    <
tr>
                        <
td class="popup_feedback"><div id="{$editorid}_size_out" style="width:25px">&nbsp;</div></td>
                        <
td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.png" width="11" height="16" alt="" /></td>
                    </
tr>
                    </
table>
                </
div></td>
            </if>
            <if 
condition="$show['color_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
                    <
table cellpadding="0" cellspacing="0" border="0">
                    <
tr>
                        <
td id="{$editorid}_color_out"><img src="$stylevar[imgdir_editor]/color.png" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
                    </
tr>
                    </
table>
                </
div></td>
            </if>
            <if 
condition="$show['wysiwygsmilies']">
                <
td>|</td>
                <
td><div class="imagebutton" id="{$editorid}_popup_smilie" title="$vbphrase[smilies]">
                    <
table cellpadding="0" cellspacing="0" border="0">
                    <
tr>
                        <
td><img src="$stylevar[imgdir_editor]/smilie.png" alt="" width="21" height="20" /></td>
                    </
tr>
                    </
table>
                </
div></td>
            </if>

            <if 
condition="$show['basic_bbcode']">
                <
td>|</td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="$stylevar[imgdir_editor]/bold.png" width="21" height="20" alt="$vbphrase[bold]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="$stylevar[imgdir_editor]/italic.png" width="21" height="20" alt="$vbphrase[italic]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.png" width="21" height="20" alt="$vbphrase[underline]/></div></td>
                <
td>|</td>
            </if>
            <if 
condition="$show['align_bbcode']">
                <if 
condition="$stylevar['textdirection'] == 'ltr'">
                <
td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.png" width="21" height="20" alt="$vbphrase[align_left]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.png" width="21" height="20" alt="$vbphrase[align_center]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.png" width="21" height="20" alt="$vbphrase[align_right]/></div></td>
                <else />
                <
td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.png" width="21" height="20" alt="$vbphrase[align_right]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.png" width="21" height="20" alt="$vbphrase[align_center]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.png" width="21" height="20" alt="$vbphrase[align_left]/></div></td>
                </if>
                <
td>|</td>
            </if>
            <if 
condition="$show['list_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_cmd_insertorderedlist"><img src="$stylevar[imgdir_editor]/insertorderedlist.png" width="21" height="20" alt="$vbphrase[ordered_list]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_insertunorderedlist"><img src="$stylevar[imgdir_editor]/insertunorderedlist.png" width="21" height="20" alt="$vbphrase[unordered_list]/></div></td>
            </if>
            <if 
condition="$show['align_bbcode'] OR $show['list_bbcode']">
                <if 
condition="$stylevar['textdirection'] == 'ltr'">
                <
td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="$stylevar[imgdir_editor]/outdent.png" width="21" height="20" alt="$vbphrase[decrease_indent]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="$stylevar[imgdir_editor]/indent.png" width="21" height="20" alt="$vbphrase[increase_indent]/></div></td>
                <else />
                <
td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="$stylevar[imgdir_editor]/indent.png" width="21" height="20" alt="$vbphrase[decrease_indent]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="$stylevar[imgdir_editor]/outdent.png" width="21" height="20" alt="$vbphrase[increase_indent]/></div></td>
                </if>
                <
td>|</td>
            </if>
            <if 
condition="$show['url_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.png" width="21" height="20" alt="$vbphrase[insert_link]/></div></td>
            </if>
            <if 
condition="$show['img_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.png" width="21" height="20" alt="$vbphrase[insert_image]/></div></td>
            </if>
            <if 
condition="$show['quote_bbcode']">
                <
td>|</td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.png" width="21" height="20" alt="$vbphrase[wrap_quote_tags]/></div></td>
                <
td>|</td>
            </if>
            <if 
condition="$show['code_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_cmd_wrap0_code"><img src="$stylevar[imgdir_editor]/code.png" width="21" height="20" alt="$vbphrase[wrap_code_tags]/></div></td>
            </if>
                <!--
                <
td>|</td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_cut"><img src="$stylevar[imgdir_editor]/cut.png" width="21" height="20" alt="$vbphrase[cut]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_copy"><img src="$stylevar[imgdir_editor]/copy.png" width="21" height="20" alt="$vbphrase[copy]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_paste"><img src="$stylevar[imgdir_editor]/paste.png" width="21" height="20" alt="$vbphrase[paste]/></div></td>
                -->
                <
td>|</td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_undo"><img src="$stylevar[imgdir_editor]/undo.png" width="16" height="16" alt="$vbphrase[undo]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_redo"><img src="$stylevar[imgdir_editor]/redo.png" width="16" height="16" alt="$vbphrase[redo]/></div></td>
            <
td width="100%">&nbsp;</td>
            <if 
condition="is_browser('ie') AND !is_browser('mac')">
                <
td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.png" width="21" height="20" alt="$vbphrase[check_spelling]/></div></td>
            </if>


                
$vBeditTemplate[extrabuttons]

            </
tr>
            </
table>

        </
div>
    </
td>
    </
tr>
    <
tr>
        <
td class="editor_middle">
            <
table cellpadding="0" cellspacing="0" border="0" width="100%">
                <
tr valign="top">
                    <
td>
                        <
textarea name="message" id="{$editorid}_textarea" style="border:none; width:100%; height:300px;" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea></td>
                </
tr>
            </
table>
        </
td>
    </
tr>
    <
tr>
        <
td class="editor_bottom" align="right">
                <
div class="imagebutton" id="{$editorid}_cmd_resize_0_100"><img src="$stylevar[imgdir_editor]/resize_0.png" width="21" height="9" alt="$vbphrase[decrease_size]/></div>
                <
div class="imagebutton" id="{$editorid}_cmd_resize_1_100"><img src="$stylevar[imgdir_editor]/resize_1.png" width="21" height="9" alt="$vbphrase[increase_size]/></div>
        </
td>
    </
tr>
</
table>

<
input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype/>

<
script type="text/javascript">
<!--
vB_Editor['$editorid'] = new vB_Text_Editor('$editorid'$editortype'$forumid''$parsesmilie'undefined'$ajax_extra');
//-->
</script
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02876 seconds
  • Memory Usage 2,055KB
  • 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