09-06-2015, 06:57 AMTropical Wrote: 09-06-2015, 06:56 AMHug Wrote: 09-06-2015, 06:53 AMTropical Wrote: 09-06-2015, 06:41 AMHug Wrote: 09-06-2015, 06:39 AMSexual Wrote: 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: 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 whatever you say. not dealing with people like you :rly: people like me? what kind of people am I then :rly: Just be kind to everyone :noh:
09-06-2015, 06:56 AMHug Wrote: 09-06-2015, 06:53 AMTropical Wrote: 09-06-2015, 06:41 AMHug Wrote: 09-06-2015, 06:39 AMSexual Wrote: 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: 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 whatever you say. not dealing with people like you :rly: people like me? what kind of people am I then :rly:
09-06-2015, 06:53 AMTropical Wrote: 09-06-2015, 06:41 AMHug Wrote: 09-06-2015, 06:39 AMSexual Wrote: 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: 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 whatever you say. not dealing with people like you :rly:
09-06-2015, 06:41 AMHug Wrote: 09-06-2015, 06:39 AMSexual Wrote: 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: 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
09-06-2015, 06:39 AMSexual Wrote: So how do i sort this out?
<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>
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'); } }
09-06-2015, 06:40 AMTropical Wrote: I help run a forum :rly: I know a lot of MyBB :yus: I am a web dev :noh:
Loading Info...