View Full Version : Add button to Quick Reply
BigAl205
04-29-2015, 10:35 AM
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:
AndrewSimm
05-01-2015, 12:39 AM
editor_construct hook
I found this somewhere on the board and it works
if ($this->editor_type == 'qr')
{
$this->config['toolbar'][] = array();
$this->addCustomToolbarButtons();
}
BigAl205
05-01-2015, 08:09 AM
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:
if ($this->editor_type == 'qr')
{
$this->config['toolbar'][] = array();
$this->addCustomToolbarButtons();
}Plugin is Active: Yes
Save and you're done. All the extra buttons from the advanced editor will now show in the Quick Response.
:up:
chloe101
06-10-2017, 03:05 PM
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:
if ($this->editor_type == 'qr')
{
$this->config['toolbar'][] = array();
$this->addCustomToolbarButtons();
}Plugin is Active: Yes
Save and you're done. All the extra buttons from the advanced editor will now show in the Quick Response.
:up:
Awesome! Thanks
MarkFL
06-10-2017, 03:11 PM
Awesome! Thanks
For added control over the BBCode buttons in your Quick Reply editor, see:
Quick Editor Buttons (https://vborg.vbsupport.ru/showthread.php?t=322109)
chloe101
06-26-2017, 03:27 AM
For added control over the BBCode buttons in your Quick Reply editor, see:
Quick Editor Buttons (https://vborg.vbsupport.ru/showthread.php?t=322109)
I just saw this. Thank you! This is exactly what I need because it changes the Quick edit editor also. Awesome!!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.