The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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 |
Благодарность от: | ||
tbworld |
#3
|
||||
|
||||
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.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|