![]() |
Edit Toolbar Custom Images
For vBulletin 4.2 how can I add custom images to the quick and advanced edit toolbar? The images seems to be in a sprite file and I am just trying to add a custom image to run a new tag I have added.
Thanks |
In the Custom BB Codes feature there's an input for the path to a custom image for your tag. That puts them in the advanced editor. To get them into the Quick Editor you will have to edit the file vb/ckeditor.php. Starting around line 250 find protected junction setToolBar(), there you see how the various editors have their buttons selected. You want to add the line
$this->addCustomToolbarButtons(); to whichever is the quick editor, "qe" I assume |
Use custom bbcode just as you did with earlier versions of vbulletin add the path to the image like ./myimage.jpg and you should be good to go. If you want to replace images that already exist they'll take a bit more digging in the ckeditor templates to see what their name is and where they are called from.
|
All times are GMT. The time now is 07:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|