Customizing SMF > SMF Coding Discussion
Smileys In Quick Reply
FrizzleFried:
Does anyone know of a mod (free or commercial) that enables smileys for the QUICK REPLY other than the WYSIWYG QUICK REPLY mod? Unfortunately that mod is not compatible with the SMFPacks WYSIWYG editor... it kills the QUOTE function.
Thanks!
FrizzleFried:
Looks like this code has something to do with it... but I've tried pasting it various places in display.template.php with no success... at all...
:)
--- Code: --- // What about smileys?
if (!empty($context['smileys']['postform']) || !empty($context['smileys']['popup']))
echo '
<div id="smileyBox_message"></div>';
echo '
', template_control_richedit($context['post_box_name'], 'smileyBox_message', 'bbcBox_message');
--- End code ---
The above code is from the post.template.php file.
Arantor:
It won't work without all the guts of the smiley loading code to be added too, which is inside Subs-Editor.php, and is a surprising amount of extra code.
FrizzleFried:
--- Quote from: Arantor on July 06, 2012, 07:38:54 PM ---It won't work without all the guts of the smiley loading code to be added too, which is inside Subs-Editor.php, and is a surprising amount of extra code.
--- End quote ---
Would it be correct of me to assume that code would then be added to the display.php file? Any hints/tips would be greatful. Basically, I can't use the SMFPacks WYSWYG unless I can get the smileys to work in Quick Reply....
:(
Arantor:
Then you should go talk to Nibogo about it.
The bottom line is that a lot of code would have to be added, some of which is JavaScript, and I really do not have the time or patience to go through and figure it all out a third time (having already done so twice in the past, once in SimpleDesk and once in Wedge)
Navigation
[0] Message Index
[#] Next page
Go to full version