2007-12-13, 05:26 PM
thanks for this nice tutorial

Official Arabic Translator.
Tutorial: Adding Extra Function Buttons to the Editor.
|
The proble is, that after such editing, when new version of MyBB comes, I will have edit some of these files again... Am I right? Is there better way to add new buttons?
Ok, I found that you don't need to edit other files besides editor.js... In codebuttons template find
Add after:
Where title_xxx is previously defined title for button. I've got no idea if it's correct way of doing this, but it seems to work ![]()
2008-06-18, 05:53 PM
How would you create a drop down box and how would you create a popup box like, the hyperlink button?
2008-08-08, 07:08 AM
how i can make this in mybb 1.4???
the line to find in the editor.js is lost, i can't find it ![]()
2008-08-12, 12:29 PM
The changes in the files functions.php and global.php are the same. For editor.js open the file and search for:
Above add: After that open the file jscripts/editor_themes/*theme*/stylesheet.css and add at the end of the file: The graphics for the buttons have to be in the folder jscripts/editor_themes/*theme*/images/.
2008-08-12, 02:21 PM
Open the file editor.js again and search for:
Replace with:
2008-08-13, 03:42 PM
I just want to report, that doing what it says to edit in global.lang.php you get an error whilst going to download or visiting last post.
Am I doing it wrong or does everyone get this error?
i think you are doing wrong, works perfect to me
|
« Next Oldest | Next Newest »
|