PDA

View Full Version : An easy way to include smilies in quickreply?


MichelangeloITA
03-12-2010, 06:02 PM
Hi all,

I know there are few mod's that do what I need, but none of them are bugless.

Well, I'm look for a simple method to include smilies in quickreply, such as CMS and Blog. I think it is possible.

Any idea?

Thank's :D

P.s. For ex, this mod is just and edit, pity does not work, anyone could make it possible?

https://vborg.vbsupport.ru/showthread.php?t=231212&highlight=smilies

if you want to show the smile on the quick reply, then you GO TO
your ROOT : includes/functions_editor.php

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

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