PDA

View Full Version : Profile Enhancements - Add custom bbcodes for Visitor Messages editor (plugin)


hazem_aliraqi
04-30-2015, 09:00 PM
Hello everyone



this is very simple plugin

allows you to add custom bbcodes for Visitor Messages editor



Product: vBulletin

Hook Location : editor_toolbar_filter

Title : add custom bbcodes for Visitor Messages editor

Execution order: leave default value

Plugin PHP Code :

if ($this->editor_type == 'qr_small')
{
$toolbar[] = '/';
$toolbar[] = $justify;
$toolbar[] = array('Quote','Attach', '-', 'Undo', 'Redo');
$toolbar[] = array('NumberedList', 'BulletedList', 'Outdent', 'Indent');
$toolbar[] = array('Table', 'TableProperties', 'DeleteTable', '-', 'InsertRowBefore', 'InsertRowAfter', 'DeleteRow', '-', 'InsertColumnBefore', 'InsertColumnAfter', 'DeleteColumn', '-', 'Subscript', 'Superscript', 'HorizontalRule', 'PageBreak', 'PreviewBreak');
$toolbar[] = array('Code', 'Html', 'Php');

}



Plugin is Active : yes

concepts
05-01-2015, 04:21 PM
Very nice addition

concepts
05-01-2015, 04:27 PM
Is there any way to get my other custom codes to show for Instagram, Vine, Twitter, etc..?

MarkFL
05-01-2015, 04:44 PM
Is there any way to get my other custom codes to show for Instagram, Vine, Twitter, etc..?

I haven't tested this, but you could try the code posted here:

https://vborg.vbsupport.ru/showpost.php?p=2544612&postcount=3