The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to change button placement in message toolbars
Hey guys. How do I change the placement of the buttons in the message toolbars? I recently added a strikethrough button, but it appears at the end of the toolbar. I would like to move it so that it's located in the text emphasis group with the bold, italic, and underline buttons.
Thanks! |
#2
|
|||
|
|||
Bumpity bump. I'd still like to move the new strikethrough button so that it's adjacent to the bold/italics/underline buttons in the toolbar. Any ideas? Anyone?
|
#3
|
|||
|
|||
Since you already have your plugin working:
The easiest way to do this is to edit the file "/vb/ckeditor.php". Find the class::method "SetToolbar" (around line #258) and add your ckeditor plugin reference directly to the toolbars. You can easily rearrange the toolbars in this class::method. If you need to do this via a plugin you can recreate/rearrange the toolbar arrays and use the hook: 'editor_toolbar_set'. Example: (for "/vb/ckeditor.php"). PHP Code:
Sincere thanks for all the 'pioneers' that indirectly (years ago) took the time to point me in the right direction via your articles and posts. You guys/gals never get praised enough: @Cellarius, @Nerbert, @Lynne, @Kh99. If I missed anyone I apologize. |
#4
|
|||
|
|||
Thanks, tbworld! That worked perfectly.
My only issue now is that the new BBCode button appears in both places: with the bold/italics/underline group (which is what I wanted, yay!), and at the very end of the last toolbar. How do I remove it from the latter location? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|