2009-10-12, 01:38 PM
2009-10-12, 02:21 PM
Someone, please respond to this thread.
Just need an answer on how to edit this part.
http://community.mybboard.net/thread-126...#pid409362
After adding new buttons, the text area misaligned.
@Skiilz, you probably looked at the wrong post.
http://community.mybboard.net/thread-126...#pid237840
Just need an answer on how to edit this part.
http://community.mybboard.net/thread-126...#pid409362
After adding new buttons, the text area misaligned.
@Skiilz, you probably looked at the wrong post.
http://community.mybboard.net/thread-126...#pid237840
2009-10-12, 04:21 PM
Yeah.. I did!
Thanks mate.
Thanks mate.
2009-10-14, 08:18 PM
thanx good job...
but i cant finde ( editor.appendChild(toolbar2) in my editor ?? plz how can help
thanx good job...
but i cant finde ( editor.appendChild(toolbar2) in my editor ?? plz how can help
but i cant finde ( editor.appendChild(toolbar2) in my editor ?? plz how can help
thanx good job...
but i cant finde ( editor.appendChild(toolbar2) in my editor ?? plz how can help
2009-10-14, 08:47 PM
(2009-10-14, 08:18 PM)mazin46 Wrote: [ -> ]thanx good job...
but i cant finde ( editor.appendChild(toolbar2) in my editor ?? plz how can help
thanx good job...
but i cant finde ( editor.appendChild(toolbar2) in my editor ?? plz how can help
You should read the thread again. #62
2009-10-15, 01:52 AM
I am in the middle of this as I consider it useful but, I stopped because...what if myBB updates version and replaces this 3 files in the future?
Is there a plugin instead available?
Is there a plugin instead available?
2009-11-29, 06:22 AM
Thx for tuto,but this thread needs reorganization and the tuto needs update.
It's very important and useful for users here .
It's very important and useful for users here .
2010-02-19, 08:19 PM
(2008-08-12, 12:29 PM)Michael S. Wrote: [ -> ]The changes in the files functions.php and global.php are the same. For editor.js open the file and search for:
Above add:// Create our new text area
After that open the file jscripts/editor_themes/*theme*/stylesheet.css and add at the end of the file:this.createToolbar('mytoolbar', { container: 'bottom', items: [ {type: 'button', name: 'flash', sprite: 'flash', insert: 'flash', title: this.options.lang.title_flash}, {type: 'button', name: 'video', sprite: 'video', insert: 'video', title: this.options.lang.title_video}, {type: 'button', name: 'quick', sprite: 'quick', insert: 'quick', title: this.options.lang.title_quick}, {type: 'button', name: 'stream', sprite: 'stream', insert: 'stream', title: this.options.lang.title_stream} ] });
The graphics for the buttons have to be in the folder jscripts/editor_themes/*theme*/images/..messageEditor .toolbar_button .toolbar_sprite_flash { background: url(images/flash.gif) no-repeat; } .messageEditor .toolbar_button .toolbar_sprite_video { background: url(images/video.gif) no-repeat; } .messageEditor .toolbar_button .toolbar_sprite_quick { background: url(images/quick.gif) no-repeat; } .messageEditor .toolbar_button .toolbar_sprite_stream { background: url(images/stream.gif) no-repeat; }
This one seemed to worked perfectly, however the youtube button doesnt show in line with the code or php button, i tried removing the add new toolbar thingy, and add the code after php, and the editor disappeared. And this is how the youtube button is showing below now:-
2010-02-28, 08:05 AM
Doesn´t work with the new version of mybb when I add this i lost my buttons.