MyBB Community Forums

Full Version: Get more smileys button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,
In the editor the get-more-smileys button has no effect, except the up and down slider disappears (overlay pb?)
After upgrading from mybb 1.8.10 to 21

Seems related to javascript, may be related also to this problem of the same kind : https://community.mybb.com/thread-224798.html

Not found a solution on this forum.
Thanks
MyBB 1.8.21 has some changes on the editor, not sure if it's relating to your issue though.
Check this thread https://community.mybb.com/thread-223638.html and try to see if it'd help.
Thx, I overlooked this important thread. But I am not so experienced and would prefer an MYBB-approved solution. Isnt worth to go directly to 1.8.22 instead ?
Tkx for your support
Read 1.8.22 release note here: http://blog.mybb.com/2019/12/30/mybb-1-8...e-release/ , it has several security issues addressed and functional bugs fixed.

Anyway, you have to check if your updated forum has the SCEditor issue fixed, because the changes to the SCeditor is since 1.8.21.
Well, my editor is working except the get more smileys button, so I guess the problem comes from some template that uses an erroneous javascript, but not able to do it myself. Disabling all plug-ins dont solve the problem.
Thx
Try to troubleshoot it with the browser's developer tools. For example, Firefox's: https://developer.mozilla.org/en-US/docs...oper_tools

On the console tab, there might be printing some error output for JavaScript errors.
Dont see errors
I found in Default templates/smilieinsert_getmore :

<tr>
<td class="trow2" align="center"><span class="smalltext"><strong>[<a href="javascript:void(0)" onclick="MyBB.popupWindow('/misc.php?action=smilies&popup=true&amp;editor=MyBBEditor&modal=1'); return false;">{$lang->smilieinsert_getmore}</a>]</strong></span></td>
</tr>

that develops in html as :

<tr>
<td class="trow2" align="center"><span class="smalltext"><strong>[<a href="javascript:void(0)" onclick="MyBB.popupWindow('/misc.php?action=smilies&popup=true&editor=MyBBEditor&modal=1'); return false;">plus</a>]</strong></span></td>
</tr>

I guess it is the template that triggers the new window with more smilies.
Is that correct for V1.8.21?
Hi,

you have a problem with your modals, so check the answer given by HLFadmin and add this code in your headerinclude template:

var templates = {
		modal: '{$jsTemplates['modal']}',
		modal_button: '{$jsTemplates['modal_button']}'
	};

After var MyBBEditor = null; for example.
(2020-01-08, 01:40 PM)NoRules Wrote: [ -> ]Hi,

you have a problem with your modals, so check the answer given by HLFadmin and add this code in your headerinclude template:

var templates = {
		modal: '{$jsTemplates['modal']}',
		modal_button: '{$jsTemplates['modal_button']}'
	};

After var MyBBEditor = null; for example.


I have made the change to no avail, same behaviour.
Can you give me the full headerinclude of the standard 1.8.21?
THX a lot.
(2020-01-08, 02:01 PM)papa2fois Wrote: [ -> ]I have made the change to no avail, same behaviour.
Can you give me the full headerinclude of the standard 1.8.21?
THX a lot.

If you're on MyBB 1.8.21, for modified templates that are highlighted in green (none modified, i.e., same as default, are in blue) you can click right-hand "Option" button and click "Diff Report" to see changes between your version's and the standard 1.8.21's.
Pages: 1 2