PDA

View Full Version : Re-order BBcodes in WYSIWYG?


Ellendway
02-10-2011, 07:43 AM
Yo guys! I'm using some custom bb codes on my website. is there any chance how to re-orded bb codes in wysiwyg editor?

Something like this
http://ellendway.eu/obrz/editor.png

fxwoody
02-10-2011, 08:40 AM
I'ved been asking the same question Ellendway and had no answer too :(

Anyone with some info????

Ellendway
02-10-2011, 02:12 PM
You can change the order of custom bb codes in database (I think and I hope), but I wanna change more! :)

Ellendway
10-12-2013, 09:50 AM
Nobody answered for more than two years. Can I expect that vBulletin is so bad in this? Instead of doing normal and proper things, they did vB5.

Anyone found a way how to do it?

nerbert
10-12-2013, 10:36 AM
You can build a plugin that goes in "editor_toolbar_set" hook location that can completely re-order everything.

Check out vb/ckeditor.php starting on line 251. vBulletin builds up a "$toolbar" array of blocks of bbcodes for each editor version. In the plugin you can start over and build up your own array "$this->config['toolbar']" any way you want.