10-12-2009, 01:38 PM
10-12-2009, 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
10-12-2009, 04:21 PM
Yeah.. I did!
Thanks mate.
Thanks mate.
10-14-2009, 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 helpthanx good job...
but i cant finde ( editor.appendChild(toolbar2)
in my editor ??
plz how can help10-14-2009, 08:47 PM
(10-14-2009 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
10-15-2009, 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?
11-29-2009, 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 .
02-19-2010, 08:19 PM
(08-12-2008 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:Code:
// Create our new text area
After that open the file jscripts/editor_themes/*theme*/stylesheet.css and add at the end of the file:Code:
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/.Code:
.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:-
![[Image: 51045210.png]](http://img402.imageshack.us/img402/6127/51045210.png)
02-28-2010, 08:05 AM
Doesn´t work with the new version of mybb when I add this i lost my buttons.