MyBB Support
Editor broke, smiles are unclickable.
Submitted by Sexual, 09-06-2015, 06:17 AM, Thread ID: 4639
Thread Closed
RE: Editor broke, smiles are unclickable.
09-06-2015, 06:39 AMSexual Wrote:09-06-2015, 06:36 AMHug Wrote:09-06-2015, 06:28 AMSexual Wrote:09-06-2015, 06:28 AMHug Wrote:Board URL?09-06-2015, 06:27 AMSexual Wrote: I'm on 1.6, and using a 1.6 theme :(
I will pm you it.
Question: Why do you need
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jq...ery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
?
and also, Your CodeButtons template is 1.8 while you are on 1.6
why?
09-06-2015, 06:35 AMTropical Wrote: It probably has to do with something in the theme nor a missing JS file :noh:
No.
Don't post if you aren't gonna help or if you don't know shit about the subject k thanks
So how do i sort this out?
Well, I would like to know why a '1.6' theme has 1.8 templates in it.
Correct CodeButtons template:
Code:
<script type="text/javascript" src="jscripts/editor.js?ver=1609"></script>
<script type="text/javascript">
<!--
{$editor_language}
var clickableEditor = new messageEditor("{$bind}", {lang: editor_language, rtl: {$lang->settings['rtl']}, theme: "{$theme['editortheme']}"});
if(clickableEditor)
{
clickableEditor.bindSmilieInserter("clickable_smilies");
}
// -->
</script>
edit:
Code:
var newbutbar = '';
if (!'spoiler,test'.trim() == ''){
newbut = 'spoiler,test';
newbutbar = ''+newbut+'|';
icm_but_rls = newbut.split(',');
for (var i = icm_but_rls.length-1; i >= 0; i--) {
mibutton(''+icm_but_rls[i]+'');
$(mibimage(''+icm_but_rls[i]+'')).insertAfter('textarea');
}
}
pretty sure some sssssdidn't know shit about what they were doig when adding this lol.
09-06-2015, 06:40 AMTropical Wrote:09-06-2015, 06:36 AMHug Wrote:09-06-2015, 06:28 AMSexual Wrote:09-06-2015, 06:28 AMHug Wrote:Board URL?09-06-2015, 06:27 AMSexual Wrote: I'm on 1.6, and using a 1.6 theme :(
I will pm you it.
Question: Why do you need
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jq...ery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
?
and also, Your CodeButtons template is 1.8 while you are on 1.6
why?
09-06-2015, 06:35 AMTropical Wrote: It probably has to do with something in the theme nor a missing JS file :noh:
No.
Don't post if you aren't gonna help or if you don't know shit about the subject k thanks
I help run a forum :rly:
I know a lot of MyBB :yus:
I am a web dev :noh:
idc
you don't
you aren't
Users browsing this thread: 3 Guest(s)