vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - [v.4.5] MARCO1 Advanced Quick Reply - Advanced Quick Edit - With Smiles!! (https://vborg.vbsupport.ru/showthread.php?t=232730)

meissenation 01-14-2010 01:34 PM

Still broke. Just like Datenpapst - if you click Reply it reloads as if you hit the "Advanced" button.

Veer 01-14-2010 01:49 PM

Bug report:

Spouse we have 10 posts in a thread and we click on "Reply" button in post number 5 or 6, The quick reply box should come up quickly, but this hack broken this feature and quick reply box do not come up. hope you can fix it as well.

MARCO1 01-14-2010 01:54 PM

What's About changing the content of editor_toolbar_on template with this code :

HTML Code:

<div id="{vb:raw editorid}" class="texteditor">

    <div class="editor quickreply">
        <div class="editor_controls floatcontainer" id="{vb:raw editorid}_controls">
            <ul class="right">
                <li>
                    <div>
                        <div><img src="{vb:stylevar imgdir_editor}/resize_0.gif" class="imagebutton" id="{vb:raw editorid}_cmd_resize_0_100" width="21" height="9" alt="{vb:rawphrase decrease_size}" /></div>
                        <div><img src="{vb:stylevar imgdir_editor}/resize_1.gif" class="imagebutton" id="{vb:raw editorid}_cmd_resize_1_100" width="21" height="9" alt="{vb:rawphrase increase_size}" /></div>
                    </div>
                    <vb:if condition="$show['wysiwyg_compatible']"><img src="{vb:stylevar imgdir_editor}/switchmode.png" class="imagebutton" id="{vb:raw editorid}_cmd_switchmode" width="20" height="20" alt="{vb:rawphrase switch_editor_mode}" /></vb:if>
                </li>
            </ul>
            <ul>
                <li>
                    <img src="{vb:stylevar imgdir_editor}/removeformat.png" class="imagebutton" id="{vb:raw editorid}_cmd_removeformat" width="20" height="20" alt="{vb:rawphrase remove_text_formatting}" />
                </li>
                <vb:if condition="$show['font_bbcode']">
                <li class="popupmenu menubutton fonts nomouseover nohovermenu" id="{vb:raw editorid}_popup_fontname">
                    <div class="popupctrl"><div id="{vb:raw editorid}_fontfield">{vb:rawphrase fonts}</div></div>
                    <ul class="editorpopupbody popupbody popuphover">
                        <li style="display:none">&nbsp;</li>
                        {vb:raw fontnames}
                    </ul>
                </li>
                </vb:if>
                <vb:if condition="$show['size_bbcode']">
                <li class="popupmenu menubutton sizes nomouseover nohovermenu" id="{vb:raw editorid}_popup_fontsize">
                    <div class="popupctrl"><div id="{vb:raw editorid}_sizefield">{vb:rawphrase sizes}</div></div>
                    <ul class="editorpopupbody popupbody popuphover">
                        <li style="display:none">&nbsp;</li>
                        {vb:raw fontsizes}
                    </ul>
                </li>
                </vb:if>
                <vb:if condition="$show['color_bbcode']">
                <li class="popupmenu menubutton colors imagemenu nomouseover nohovermenu" id="{vb:raw editorid}_popup_forecolor" style="position:relative">
                    <img src="{vb:raw vboptions.cleargifurl}" class="vbedit_colorbar" id="{vb:raw editorid}_color_bar" alt="" width="21" height="4" />
                    <div class="popupctrl" id="{vb:raw editorid}_colorfield"><img src="{vb:stylevar imgdir_editor}/color.png" class="vbedit_colorbutton" width="21" height="16" alt="" /></div>
                    <ul id="colorrow" class="editorpopupbody popupbody popuphover">
                        {vb:raw colors}                                                               
                    </ul>
                </li>
                </vb:if>
                <vb:if condition="$show['wysiwygsmilies']">
                <li class="popupmenu menubutton smilies imagemenu nomouseover nohovermenu" id="{vb:raw editorid}_popup_smilie">
                    <div class="popupctrl"><img src="{vb:stylevar imgdir_editor}/smilie.png" alt="{vb:rawphrase smilies}" width="20" height="20" /></div>
                    <ul class="editorpopupbody popupbody popuphover">
                        <li style="display:none">&nbsp;</li>
                        {vb:raw smiliepopup}
                        <vb:if condition="$show['moresmilies']"><li class="category" id="moresmilies"><div>{vb:rawphrase show_all_smilies}</div></li></vb:if>
                    </ul>
                </li>
                </vb:if>
                <vb:if condition="$show['attach']">
                <li class="popupmenu menubutton attach imagemenu nomouseover nohovermenu" id="{vb:raw editorid}_popup_attach">
                    <div class="popupctrl"><img src="{vb:stylevar imgdir_editor}/attach.png" alt="{vb:rawphrase attachments}" width="20" height="20" /></div>
                    <ul id="attachlist" class="editorpopupbody popupbody popuphover noempty">
                        <li class="noempty" style="display:none">&nbsp;</li>
                        <li class="category noempty" id="manageattach"><div>{vb:rawphrase manage_attachments}</div></li>
                    </ul>
                </li>
                </vb:if>
                <li>
                    <img src="{vb:stylevar imgdir_editor}/undo.png" class="imagebutton" id="{vb:raw editorid}_cmd_undo" width="20" height="20" alt="{vb:rawphrase undo}" />
                    <img src="{vb:stylevar imgdir_editor}/redo.png" class="imagebutton" id="{vb:raw editorid}_cmd_redo" width="20" height="20" alt="{vb:rawphrase redo}" />
                </li>
                <vb:if condition="is_browser('ie') AND !is_browser('mac')">
                    <li>
                        <img src="{vb:stylevar imgdir_editor}/spelling.png" class="imagebutton" id="{vb:raw editorid}_cmd_spelling" width="20" height="20" alt="{vb:rawphrase check_spelling}" />
                    </li>
                </vb:if>
            </ul>
            <vb:if condition="!$show['basicbbcodeonly']">
            <ul>
                <vb:if condition="$show['basic_bbcode']">
                    <li>
                        <img src="{vb:stylevar imgdir_editor}/bold.png" class="imagebutton" id="{vb:raw editorid}_cmd_bold" width="20" height="20" alt="{vb:raw bold}" />
                        <img src="{vb:stylevar imgdir_editor}/italic.png" class="imagebutton" id="{vb:raw editorid}_cmd_italic" width="20" height="20" alt="{vb:raw bold}" />
                        <img src="{vb:stylevar imgdir_editor}/underline.png" class="imagebutton" id="{vb:raw editorid}_cmd_underline" width="20" height="20" alt="{vb:raw underline}" />
                    </li>
                </vb:if>
                <vb:if condition="$show['align_bbcode']">
                    <li>
                        <vb:if condition="$stylevar['textdirection'] == 'ltr'">
                            <img src="{vb:stylevar imgdir_editor}/justifyleft.png" class="imagebutton" id="{vb:raw editorid}_cmd_justifyleft" width="20" height="20" alt="{vb:rawphrase align_left}" />
                            <img src="{vb:stylevar imgdir_editor}/justifycenter.png" class="imagebutton" id="{vb:raw editorid}_cmd_justifycenter" width="20" height="20" alt="{vb:rawphrase align_center}" />
                            <img src="{vb:stylevar imgdir_editor}/justifyright.png" class="imagebutton" id="{vb:raw editorid}_cmd_justifyright" width="20" height="20" alt="{vb:rawphrase align_right}" />
                        <vb:else />
                            <img src="{vb:stylevar imgdir_editor}/justifyright.png" class="imagebutton" id="{vb:raw editorid}_cmd_justifyright" width="20" height="20" alt="{vb:rawphrase align_right}" />
                            <img src="{vb:stylevar imgdir_editor}/justifycenter.png" class="imagebutton" id="{vb:raw editorid}_cmd_justifycenter" width="20" height="20" alt="{vb:rawphrase align_center}" />
                            <img src="{vb:stylevar imgdir_editor}/justifyleft.png" class="imagebutton" id="{vb:raw editorid}_cmd_justifyleft" width="20" height="20" alt="{vb:rawphrase align_left}" />
                        </vb:if>
                    </li>
                </vb:if>
                <vb:if condition="$show['align_bbcode'] OR $show['list_bbcode']">
                    <li>
                        <vb:if condition="$show['list_bbcode']">
                            <img src="{vb:stylevar imgdir_editor}/insertorderedlist.png" class="imagebutton" id="{vb:raw editorid}_cmd_insertorderedlist" width="20" height="20" alt="{vb:rawphrase ordered_list}" />
                            <img src="{vb:stylevar imgdir_editor}/insertunorderedlist.png" class="imagebutton" id="{vb:raw editorid}_cmd_insertunorderedlist" width="20" height="20" alt="{vb:rawphrase unordered_list}" />
                        </vb:if>
                        <vb:if condition="$stylevar['textdirection'] == 'ltr'">
                            <img src="{vb:stylevar imgdir_editor}/outdent.png" class="imagebutton" id="{vb:raw editorid}_cmd_outdent" width="20" height="20" alt="{vb:rawphrase decrease_indent}" />
                            <img src="{vb:stylevar imgdir_editor}/indent.png" class="imagebutton" id="{vb:raw editorid}_cmd_indent" width="20" height="20" alt="{vb:rawphrase increase_indent}" />
                        <vb:else />
                            <img src="{vb:stylevar imgdir_editor}/indent.png" class="imagebutton" id="{vb:raw editorid}_cmd_outdent" width="20" height="20" alt="{vb:rawphrase decrease_indent}" />
                            <img src="{vb:stylevar imgdir_editor}/outdent.png" class="imagebutton" id="{vb:raw editorid}_cmd_indent" width="20" height="20" alt="{vb:rawphrase increase_indent}" />
                        </vb:if>
                    </li>
                </vb:if>
                <vb:if condition="$show['url_bbcode'] OR $show['attach'] OR $show['img_bbcode']">
                    <li>
                        <vb:if condition="$show['url_bbcode']">
                            <img src="{vb:stylevar imgdir_editor}/createlink.png" class="imagebutton" id="{vb:raw editorid}_cmd_createlink" width="20" height="20" alt="{vb:rawphrase insert_link}" />
                            <img src="{vb:stylevar imgdir_editor}/unlink.png" class="imagebutton" id="{vb:raw editorid}_cmd_unlink" width="20" height="20" alt="{vb:rawphrase remove_link}" />
                            <img src="{vb:stylevar imgdir_editor}/email.png" class="imagebutton" id="{vb:raw editorid}_cmd_email" width="20" height="20" alt="{vb:rawphrase insert_email_link}" />
                        </vb:if>
                        <vb:if condition="$show['img_bbcode'] OR $show['attach']">
                            <img src="{vb:stylevar imgdir_editor}/insertimage.png" class="imagebutton" id="{vb:raw editorid}_cmd_insertimage" width="20" height="20" alt="{vb:rawphrase insert_image}" />
                            <img src="{vb:stylevar imgdir_editor}/video.png" class="imagebutton" id="{vb:raw editorid}_cmd_insertvideo" width="21" height="20" alt="{vb:rawphrase insert_video}" />
                        </vb:if>
                    </li>
                </vb:if>
                <vb:if condition="$show['quote_bbcode']">
                    <li>
                        <img src="{vb:stylevar imgdir_editor}/quote.png" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_quote" width="20" height="20" alt="{vb:rawphrase wrap_quote_tags}" />
                    </li>
                </vb:if>
                <vb:if condition="$show['code_bbcode'] OR $show['html_bbcode'] OR $show['php_bbcode']">
                    <li>
                        <vb:if condition="$show['code_bbcode']"><img src="{vb:stylevar imgdir_editor}/code.png" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_code" width="20" height="20" alt="{vb:rawphrase wrap_code_tags}" /></vb:if>
                        <vb:if condition="$show['html_bbcode']"><img src="{vb:stylevar imgdir_editor}/html.png" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_html" width="20" height="20" alt="{vb:rawphrase wrap_html_tags}" /></vb:if>
                        <vb:if condition="$show['php_bbcode']"><img src="{vb:stylevar imgdir_editor}/php.png" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_php" width="20" height="20" alt="{vb:rawphrase wrap_php_tags}" /></vb:if>
                    </li>
                </vb:if>   
                <vb:if condition="$extrabuttons">       
                    <li>
                        <vb:each from="extrabuttons" value="button">
                            <img src="{vb:raw button.buttonimage}" class="imagebutton" id="{vb:raw editorid}_cmd_wrap{vb:raw button.twoparams}_{vb:raw button.bbcodetag}" width="21" height="20" alt="{vb:rawphrase wrap_x_tags, {vb:raw button.tag}}" />
                        </vb:each>
                    </li>
                </vb:if>
            </ul>
        </vb:if>
        </div>
       
        <div class="editor_textbox quickreply">
            <vb:if condition="$show['qr_require_click']">
                <textarea name="message" id="{vb:raw editorid}_textarea" rows="10" cols="80" dir="{vb:stylevar textdirection}" disabled="disabled">{vb:raw click_quick_reply_icon}</textarea>
            <vb:else />
                <textarea name="message" id="{vb:raw editorid}_textarea" rows="10" cols="80" dir="{vb:stylevar textdirection}"></textarea>
            </vb:if>
        </div>   
       
    </div>
</div>

<input type="hidden" name="wysiwyg" id="{vb:raw editorid}_mode" value="{vb:raw editortype}" />
<script type="text/javascript">
<!--
    vB_Editor['{vb:raw editorid}'] = new vB_Text_Editor('{vb:raw editorid}', {vb:raw editortype}, '{vb:raw forumid}', '{vb:raw parsesmilie}');
    var QR_EditorID = '{vb:raw editorid}';
//-->

</script>


texasteamplayer 01-14-2010 02:29 PM

boom. loaded. looks good, except for a bit of spacing. http://img696.imageshack.us/img696/3350/picture1cet.png

texasteamplayer 01-14-2010 02:30 PM

and I don't see the need to have the smileys on the right side, at all, since there is already a smiley button/function in the quick reply icons at the top (next to fonts, sizes, etc)

molieman 01-14-2010 02:35 PM

texasteamplayer, I want to know where you got those smilies from :) :) :) Please :) I like em.

texasteamplayer 01-14-2010 02:37 PM

I think they're called "Yolks by bad blood"

ngkong 01-14-2010 02:42 PM

edit & reply with quote, text doesnt show up when enabling the plugin

MARCO1 01-14-2010 02:46 PM

Quote:

Originally Posted by ngkong (Post 1955573)
edit & reply with quote, text doesnt show up when enabling the plugin

If you applied Any fix should fix all problems, looks like you done something wrong, Send To Me PM With admin Test member so I can take a look.

abualk 01-14-2010 02:49 PM

I still have the same problem as I noticed the last time :
https://vborg.vbsupport.ru/

Although I replaced all the template with the code you have posted!


All times are GMT. The time now is 04:27 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.01622 seconds
  • Memory Usage 1,851KB
  • 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_html_printable
  • (1)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
  • (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