Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Smilies Popup Box in Quick Reply Details »»
Smilies Popup Box in Quick Reply
Version: 1.00, by eSe7en eSe7en is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.0 Rating:
Released: 01-09-2010 Last Update: Never Installs: 47
Template Edits
Re-useable Code Code Changes  
No support by the author.

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

Screenshots

File Type: png qr.png (10.9 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 01-10-2010, 01:10 PM
akee's Avatar
akee akee is offline
 
Join Date: Feb 2007
Location: Hungary
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@eSe7en

yes, I ask, but no response
Reply With Quote
  #13  
Old 01-10-2010, 01:35 PM
zonaenlinea's Avatar
zonaenlinea zonaenlinea is offline
 
Join Date: Dec 2009
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you prefect
Reply With Quote
  #14  
Old 01-10-2010, 04:45 PM
MARCO1's Avatar
MARCO1 MARCO1 is offline
 
Join Date: Jun 2008
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by akee View Post
Nice

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

Thanks
I will do this , Just let me back to you in 2 days to complete the coding :up:
Reply With Quote
  #15  
Old 01-10-2010, 04:54 PM
abbasbsp's Avatar
abbasbsp abbasbsp is offline
 
Join Date: Jun 2008
Location: Indonesian, yogyakarta
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you want more complete https://vborg.vbsupport.ru/showthread.php?t=231212
Reply With Quote
  #16  
Old 01-10-2010, 05:12 PM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MARCO1 View Post
I will do this , Just let me back to you in 2 days to complete the coding :up:
You're great.
Reply With Quote
  #17  
Old 01-12-2010, 09:23 AM
baghdad4ever baghdad4ever is offline
 
Join Date: Apr 2007
Location: baghdad
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks i use this code

PHP Code:
 //if ($editor_type == 'qr' OR $editor_type == 'qr_small') 
    

        
// no smilies 
    

   
// else if ($allowsmilie AND $show['editor_toolbar']) 
    


installed
Reply With Quote
  #18  
Old 01-13-2010, 06:35 AM
Reed_HCT Reed_HCT is offline
 
Join Date: Jan 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you, installed
Reply With Quote
  #19  
Old 01-16-2010, 07:34 PM
shofolofo shofolofo is offline
 
Join Date: Aug 2007
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seven ... I can't un-install it .. our webmaster is stupid and can't remove it
Reply With Quote
  #20  
Old 01-16-2010, 07:43 PM
eSe7en eSe7en is offline
 
Join Date: Jul 2008
Location: Egypt
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default


I know you're not talking about me
Reply With Quote
  #21  
Old 01-31-2010, 06:15 PM
Aclikyano Aclikyano is offline
 
Join Date: Apr 2006
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please let us know how to make it so it shows random smilies each time!
thanks
Reply With Quote
Reply

Thread Tools

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 01:19 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.04663 seconds
  • Memory Usage 2,319KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (3)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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