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
  #22  
Old 02-01-2010, 12:49 PM
eSe7en eSe7en is offline
 
Join Date: Jul 2008
Location: Egypt
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, there is an issue that should be determined first;
Do you want a random set of smiles across all the categories or from a specific category?

As vBulletin displays the category title befor smilies
Reply With Quote
  #23  
Old 02-09-2010, 08:41 PM
409industries 409industries is offline
 
Join Date: Jan 2008
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kolbi View Post
Used this also in 3.x and I think it?s a very nice feature.
Quote:
Originally Posted by Sador View Post
Installed, had this in vBulletin 3 as well. Thank you.
Did you guys use this exact code edit in 3.X and it worked, or was there another version? I can't find it. I would like to use this mod in my forums running on 3.8.4.

A link would be greatly appreciated to the 3.X version. Thank you!
Reply With Quote
  #24  
Old 02-10-2010, 01:35 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this: https://vborg.vbsupport.ru/showthread.php?t=215447
Reply With Quote
  #25  
Old 02-10-2010, 03:53 PM
409industries 409industries is offline
 
Join Date: Jan 2008
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kolbi View Post
Thank you sir... this is exactly what i was looking for! Sorry i took this slightly off topic.

This thread has been bookmarked for when we eventually migrate to vB4! Thank you!
Reply With Quote
  #26  
Old 02-21-2010, 04:42 PM
aouni_tahech aouni_tahech is offline
 
Join Date: Jan 2006
Location: Lebanon
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason, whenever I click on the smilies icon in the QR, a black narrow rectangle appears. Smilies are not showing off though I followed your instructions. Vb Version 4.0.2

Thanks.
Reply With Quote
  #27  
Old 02-21-2010, 06:03 PM
eSe7en eSe7en is offline
 
Join Date: Jul 2008
Location: Egypt
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't tried it in vB4.0.2 yet ... But Intend to do this soon

Meanwhile, you can use Marco's hack here
Reply With Quote
  #28  
Old 02-23-2010, 04:08 AM
Kingdombuilder's Avatar
Kingdombuilder Kingdombuilder is offline
 
Join Date: Oct 2009
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked well for me right off the bat, thank you for sharing...
Reply With Quote
  #29  
Old 02-23-2010, 04:20 PM
shyguy82 shyguy82 is offline
 
Join Date: Feb 2010
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed,

GREAT!
Reply With Quote
  #30  
Old 02-23-2010, 07:10 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aouni_tahech View Post
For some reason, whenever I click on the smilies icon in the QR, a black narrow rectangle appears. Smilies are not showing off though I followed your instructions. Vb Version 4.0.2

Thanks.
Same here.
Reply With Quote
  #31  
Old 02-24-2010, 05:14 PM
Reed_HCT Reed_HCT is offline
 
Join Date: Jan 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fungsten View Post
Same here.
The same for me
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 03:49 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.07439 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
  • (2)bbcode_php
  • (5)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