The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I have a few custom BB code buttons that I use on the full WYSIWYG editor, but I would like to add a couple of them to the quick reply editor. How would I accomplish this?
Thanks :up: |
|
#2
|
|||
|
|||
|
editor_construct hook
I found this somewhere on the board and it works Code:
if ($this->editor_type == 'qr')
{
$this->config['toolbar'][] = array();
$this->addCustomToolbarButtons();
}
|
| Благодарность от: | ||
| BigAl205 | ||
|
#3
|
||||
|
||||
|
That works perfectly, thanks!
Just to clarify for others... In Admin CP-->Plugins and Products-->Plugin Manager--> scroll to bottom and Add New Plugin Product: vBulletin Hook Location: editor_construct Title: New QR Buttons Plugin PHP Code: PHP Code:
Save and you're done. All the extra buttons from the advanced editor will now show in the Quick Response. :up: |
| 2 благодарности(ей) от: | ||
| AndrewSimm, MarkFL | ||
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
||||
|
||||
|
|
|
#6
|
|||
|
|||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|