Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Icon editor quick reply Details »»
Icon editor quick reply
Version: 1.00, by abbasbsp abbasbsp is offline
Developer Last Online: Sep 2016 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.x Rating:
Released: 12-25-2009 Last Update: Never Installs: 51
Template Edits
Code Changes Additional Files  
No support by the author.

styles & template >> styles manager >> showthread_quickreply

FIND :
PHP Code:
        <div class="editor_controls floatcontainer" id="{vb:raw editorid}_controls">
            <
ul class="right editor_control_group">
                <
li class="editor_control_group_item">
                    <
vb:if condition="is_browser('ie') AND !is_browser('mac')">
                        <
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}" />
                    </
vb:if>
                    <
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 class="editor_control_group">
                <
li class="editor_control_group_item">
                    <
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['basic_bbcode']">
                <
li class="editor_control_group_item">
                    <
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['color_bbcode']">
                <
li class="popupmenu menubutton colors imagemenu nomouseover nohovermenu editor_control_group_item" 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>
                    <
div class="editorpopupbody popupbody popuphover">
                        <
ul id="colorrow">
                            {
vb:raw colors}
                                                </
ul>
                    </
div>
                </
li>
                </
vb:if>
                <
vb:if condition="$show['url_bbcode'] OR $show['img_bbcode']">
                <
li class="editor_control_group_item">
                    <
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}" /></vb:if>
                    <
vb:if condition="$show['img_bbcode']">
                        <
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 class="editor_control_group_item">
                    <
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>                
            </
ul>
        </
div
REPLACE :
PHP Code:
        <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
if you want to show the smile on the quick reply, then you GO TO
your ROOT : includes/functions_editor.php

FIND :
PHP Code:
    if ($editor_type == 'qr' OR $editor_type == 'qr_small')
    {
        
// no smilies
    
}
    else if (
$allowsmilie AND $show['editor_toolbar'])
    { 
Uncomment the first conditional part by includind it between '/* ...... */' or replace as the following:
so that the code will be:
PHP Code:
/*    if ($editor_type == 'qr' OR $editor_type == 'qr_small')
    {
        // no smilies
    }
    else */
if ($allowsmilie AND $show['editor_toolbar'])
    { 
enjoy .........

Screenshots

File Type: jpg aaaediteditor.JPG (24.2 KB, 0 views)

Supporters / CoAuthors

    Show Your Support

    • This modification may not be copied, reproduced or published elsewhere without author's permission.

    Comments
      #42  
    Old 04-04-2010, 10:59 AM
    MichelangeloITA's Avatar
    MichelangeloITA MichelangeloITA is offline
     
    Join Date: Dec 2009
    Location: Italy, Rimini
    Posts: 58
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by tormento View Post
    hi to all

    i have this problem



    this append also with FF IE and Chrome
    Ciao, hai qualche altra mod installata che vada in conflitto con questa?

    Translate:

    Have you installed any other mod similar to this one?
    Reply With Quote
      #43  
    Old 04-12-2010, 05:28 PM
    movslow movslow is offline
     
    Join Date: Aug 2008
    Posts: 297
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Does this work ok with 4.03?
    Reply With Quote
      #44  
    Old 04-12-2010, 08:30 PM
    MichelangeloITA's Avatar
    MichelangeloITA MichelangeloITA is offline
     
    Join Date: Dec 2009
    Location: Italy, Rimini
    Posts: 58
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Yes, it does
    Reply With Quote
      #45  
    Old 11-30-2010, 04:43 PM
    goxy63 goxy63 is offline
     
    Join Date: Oct 2008
    Location: its like another planet:D
    Posts: 657
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    works great with 4.0.8 pl2
    Thanks
    Reply With Quote
      #46  
    Old 03-19-2013, 02:54 PM
    vimarc vimarc is offline
     
    Join Date: Feb 2013
    Location: SnappyFizz.com
    Posts: 234
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I tried to find showthread_quickreply template in 4.2.0 but didn't find
    Reply With Quote
      #47  
    Old 03-21-2013, 04:47 PM
    K4GAP K4GAP is offline
     
    Join Date: Mar 2008
    Posts: 1,255
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by vimarc View Post
    I tried to find showthread_quickreply template in 4.2.0 but didn't find
    Maybe it's because this was released 4 years ago?
    Reply With Quote
    Reply


    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT. The time now is 06:36 AM.


    Powered by vBulletin® Version 3.8.12 by vBS
    Copyright ©2000 - 2024, vBulletin Solutions Inc.
    X vBulletin 3.8.12 by vBS Debug Information
    • Page Generation 0.05988 seconds
    • Memory Usage 2,495KB
    • Queries Executed 23 (?)
    More Information
    Template Usage:
    • (1)SHOWTHREAD
    • (1)ad_footer_end
    • (1)ad_footer_start
    • (1)ad_header_end
    • (1)ad_header_logo
    • (1)ad_navbar_below
    • (1)ad_showthread_beforeqr
    • (4)bbcode_php
    • (2)bbcode_quote
    • (1)footer
    • (1)forumjump
    • (1)forumrules
    • (1)gobutton
    • (1)header
    • (1)headinclude
    • (1)modsystem_post
    • (1)navbar
    • (4)navbar_link
    • (120)option
    • (1)pagenav
    • (1)pagenav_curpage
    • (2)pagenav_pagelink
    • (7)post_thanks_box
    • (7)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (7)post_thanks_postbit_info
    • (6)postbit
    • (1)postbit_attachment
    • (7)postbit_onlinestatus
    • (7)postbit_wrapper
    • (1)spacer_close
    • (1)spacer_open
    • (1)tagbit_wrapper 

    Phrase Groups Available:
    • global
    • inlinemod
    • postbit
    • posting
    • reputationlevel
    • showthread
    Included Files:
    • ./showthread.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_threadinfo_query
    • fetch_threadinfo
    • fetch_foruminfo
    • style_fetch
    • cache_templates
    • global_start
    • parse_templates
    • global_setup_complete
    • showthread_start
    • showthread_getinfo
    • forumjump
    • showthread_post_start
    • showthread_query_postids
    • showthread_query
    • bbcode_fetch_tags
    • bbcode_create
    • showthread_postbit_create
    • postbit_factory
    • 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_attachment
    • postbit_display_complete
    • post_thanks_function_can_thank_this_post_start
    • pagenav_page
    • pagenav_complete
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete