View Full Version : Show Thread Enhancements - Smilies Popup Box in Quick Reply
eSe7en
01-09-2010, 10:00 PM
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):
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:
/* 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:
<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:
<!- 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"> </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
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.
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
Nice :)
Can you upgrade this mod, like this: https://vborg.vbsupport.ru/showthread.php?t=180330
ThanksI'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.
Thank you useful mod, installed.
eSe7en
01-10-2010, 12:18 PM
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 ;)
@eSe7en
yes, I ask, but no response
zonaenlinea
01-10-2010, 01:35 PM
Thank you prefect
MARCO1
01-10-2010, 04:45 PM
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:
abbasbsp
01-10-2010, 04:54 PM
if you want more complete https://vborg.vbsupport.ru/showthread.php?t=231212
Sador
01-10-2010, 05:12 PM
I will do this :), Just let me back to you in 2 days to complete the coding :up:You're great. :)
baghdad4ever
01-12-2010, 09:23 AM
thanks i use this code
//if ($editor_type == 'qr' OR $editor_type == 'qr_small')
{
// no smilies
}
// else if ($allowsmilie AND $show['editor_toolbar'])
{
installed
Reed_HCT
01-13-2010, 06:35 AM
thank you, installed
shofolofo
01-16-2010, 07:34 PM
seven ... I can't un-install it .. our webmaster is stupid and can't remove it :p
eSe7en
01-16-2010, 07:43 PM
:D
I know you're not talking about me :o
Aclikyano
01-31-2010, 06:15 PM
please let us know how to make it so it shows random smilies each time!
thanks :)
eSe7en
02-01-2010, 12:49 PM
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
409industries
02-09-2010, 08:41 PM
Used this also in 3.x and I think it?s a very nice feature.
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!
Kolbi
02-10-2010, 01:35 PM
Try this: https://vborg.vbsupport.ru/showthread.php?t=215447
409industries
02-10-2010, 03:53 PM
Try this: https://vborg.vbsupport.ru/showthread.php?t=215447
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!
aouni_tahech
02-21-2010, 04:42 PM
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.
eSe7en
02-21-2010, 06:03 PM
I haven't tried it in vB4.0.2 yet ... But Intend to do this soon
Meanwhile, you can use Marco's hack here (https://vborg.vbsupport.ru/showthread.php?t=232730)
Kingdombuilder
02-23-2010, 04:08 AM
Worked well for me right off the bat, thank you for sharing...
shyguy82
02-23-2010, 04:20 PM
Installed,
GREAT!
Fungsten
02-23-2010, 07:10 PM
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.
Reed_HCT
02-24-2010, 05:14 PM
Same here.
The same for me
vicelover
03-21-2010, 06:17 AM
The same for me
Have you saved the functions_editor.php file after editing ?
Do you mean this? (pls see the below image.)
114471
I just encountered and captured it before I saved the functions_editor.php.
After saving, it works fine.
raulin
03-25-2010, 07:54 AM
Thank you
Paladin32
03-30-2010, 07:55 AM
Hi,
i have the same problem like showen in your image. The admin could see the smilies, but other users didn´t. I also add a new user and give him admin privilegs, but couldn´t see the smilies. There are some rights i have to activate? Smilies are on for everyone.
thanks for help
Alex
I use vb4.0.2
installed works like a charm. The only one point after every update operation with file needs to be redone, any chance to make it as *.xml plugin ?
TwinsForMe
08-12-2011, 07:06 PM
This is no longer working for 4.1.5. The includes/functions_editor.php code is different now. Does anyone have a fix for me, please?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.