MyBB Community Forums

Full Version: BB Code box disappeared
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I just applied this fix to correct [undefined=undefined] error on firefox. I did all steps uploaded the editors.js file to jscripts folder and changed codebuttons value from 1600 to 1608. But now my BB code box won't show at all. What should I do?
Make sure you have the closing script tag in your codebuttons template:

<script type="text/javascript" src="jscripts/editor.js?ver=1608"></script>
I have closing tag in place everything is right but still no BB codes. And i can't even click smilies
Where did you get the editor js file? Did you download it from the thread linked in the sticky post?
Yes i get this from the post link given in sticky.
Please provide a forum url and testing account.
http://forums.fifarebels.us/

Testing account:
username : testuser
password : testuser
You seem to be missing a chunk of code from the codebuttons tempate.

Please navigate to AdminCP -> Templates & Style -> Templates -> Your Theme's Templates -> Ungrouped Templates -> codebuttons

Replace the template with the following:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/editor.js?ver=1608"></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>