MyBB Hacks

Full Version: help with integrating CKeditor in mybb 1.6
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I replaced mybb editor with FckEditor by editing the newthread and other templates. here was the code i added -

after head tag----

Code:
</script><script type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'message' ) ;
oFCKeditor.BasePath = "/forum/fckeditor/" ;
oFCKeditor.Width = 1000 ;
oFCKeditor.Height = 500 ;
oFCKeditor.ReplaceTextarea() ;
}
</script>


i also removed the {codebuttons}

Can someone please write a code that will work with CKeditor?
P.S. i am new to coding

Reference URL's