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 - Smilies Popup Box in Quick Reply (https://vborg.vbsupport.ru/showthread.php?t=232686)

eSe7en 01-09-2010 10:00 PM

Smilies Popup Box in Quick Reply
 
1 Attachment(s)
Purpose:
Add Smilies Button in the toolbar of the quick reply box.

How to mod:
1. In the file 'includes/functions_editor.php', locate these lines (Line No. 545-550 in vB 4.0.0):

PHP Code:

    if ($editor_type == 'qr' OR $editor_type == 'qr_small')
    {
        
// no smilies
    
}
    else if (
$allowsmilie AND $show['editor_toolbar'])
    { 

2. Uncomment the first conditional part by including it between '/* ...... */' or replace as the following:

PHP Code:

/*    if ($editor_type == 'qr' OR $editor_type == 'qr_small')
    {
        // no smilies
    }
    else */
if ($allowsmilie AND $show['editor_toolbar'])
    { 

3.Open the template 'showthread_quickreply' and locate the following lines:

Code:

                <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>

and add the following lines after them:

Code:

<!- BEGIN: eSe7en - Smilies at quick reply -->
                <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>
<!- END: eSe7en - Smilies at quick reply -->

That's it Folcks :D

Kolbi 01-10-2010 09:30 AM

Thank you!

Used this also in 3.x and I think it´s a very nice feature.

eSe7en 01-10-2010 09:41 AM

Quote:

Originally Posted by Kolbi (Post 1951792)
Thank you!

Used this also in 3.x and I think it?s a very nice feature.

Good News :D

Ur welcome

Sador 01-10-2010 10:07 AM

Installed, had this in vBulletin 3 as well. Thank you.

akee 01-10-2010 10:45 AM

Nice :)

Can you upgrade this mod, like this: https://vborg.vbsupport.ru/showthread.php?t=180330

Thanks

silverfox_uw 01-10-2010 11:02 AM

Thank you

Sador 01-10-2010 11:04 AM

Quote:

Originally Posted by akee (Post 1951836)
Nice :)

Can you upgrade this mod, like this: https://vborg.vbsupport.ru/showthread.php?t=180330

Thanks

I'm really in favor of that, thread management and so on from quick reply is very useful.

Hope someone will upgrade that one at least.

I.am 01-10-2010 11:28 AM

Thank you useful mod, installed.

eSe7en 01-10-2010 12:18 PM

Quote:

Originally Posted by akee (Post 1951836)
Nice :)

Can you upgrade this mod, like this: https://vborg.vbsupport.ru/showthread.php?t=180330

Thanks

Did you ask the original developer?

princeedward 01-10-2010 12:21 PM

installed...thanks ;)


All times are GMT. The time now is 05:39 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.01228 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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