Solved: 1 Year, 10 Months, 2 Weeks ago Get more smileys button
#1
Solved: 1 Year, 10 Months, 2 Weeks ago
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
Reply
#2
Solved: 1 Year, 10 Months, 2 Weeks ago
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.
Could be wrong but worth a try.
Reply
#3
Solved: 1 Year, 10 Months, 2 Weeks ago
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
Reply
#4
Solved: 1 Year, 10 Months, 2 Weeks ago
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.
Could be wrong but worth a try.
Reply
#5
Solved: 1 Year, 10 Months, 2 Weeks ago
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
Reply
#6
Solved: 1 Year, 10 Months, 2 Weeks ago
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.
Could be wrong but worth a try.
Reply
#7
Solved: 1 Year, 10 Months, 2 Weeks ago
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?
Reply
#8
Solved: 1 Year, 10 Months, 2 Weeks ago
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 don't answer questions about localhost forums or forums without URL, I'm not a seer.  Cool
Reply
#9
Solved: 1 Year, 10 Months, 2 Weeks ago
(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.
Reply
#10
Solved: 1 Year, 10 Months, 2 Weeks ago
(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.
Could be wrong but worth a try.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)