PDA

View Full Version : Add buttons to Quick Reply


DRJ
07-26-2013, 12:46 AM
In vBulletin 4.2 how can I add a button, such as the code tag to the quick reply? I don't see the templates to edit.

Thanks

nerbert
07-26-2013, 02:34 AM
I don't think there's any way to add anything. It's all hard coded in the editor script

DRJ
07-26-2013, 05:43 AM
Thanks, I found that script and was able to edit it.

DRJ
08-26-2013, 06:07 PM
I have been able to edit the ckeditor.php to add buttons to the quick reply but I have not been able to add the attachment button. It seems to work a little differently, can anyone provide some assistance?

tbworld
08-26-2013, 09:55 PM
Show the code that you have... and then we can see what you are doing.

DRJ
08-27-2013, 03:44 AM
$toolbar[] = array('Smiley');
$toolbar[] = array('Attach', '-', 'Undo', 'Redo');
$toolbar[] = array('Link', 'Email', 'Unlink', 'Image', 'Video', '-', 'Quote', 'Code', 'Html');



This is from the ckeditor.php file int he forum/vb folder. I added the Attach line below the Smiley lines in a couple places in the file. I just copied it from the other section that had it for the advanced reply.

The undo and redo work fine but the attach button doesn't show up.

Thanks

rharbison
04-11-2014, 03:41 AM
Having the same issue, can't add attachment button to quickreply. Anyone find a way to make it work?

vBNinja
04-11-2014, 03:55 AM
take a look at this:
https://vborg.vbsupport.ru/showthread.php?t=278828