Back to vBulletin 4.x Add-ons

Multiple Options BBCode
Mod Version: 2.0, by Master Of Unive

vB Version: 4.x.x Rating: (3 votes - 5.00 average) Installs: 7
Released: 13 Feb 2018 Last Update: 13 Feb 2018 Downloads: 59
Not Supported Uses Plugins  

Multiple Option BBCode By Andreas

NOTE: I do not own this plugin. I just refactor it a bit to be compatible with PHP 5.5
The original plugin has been archived and there is no vB4 thread so I created one.

That means the plugin works perfectly in vB4. Please see screenshot for example of multiple options for BBCode.

vBulletin gives you two default parameters to create BBCode: {option} and {param}
PHP Code:
<span style="color: {option}">{param}</span>
[
color=option]param[/color

But there is only one 'option', thus limits variety of BBCode. You can still do something like this
PHP Code:
<span {option}>{param}</span
However the above can risk your site, and it does not actually work because BBCode system automatically sanitizes {option} and remove malformed data.

Using this Plugin, you have better way
PHP Code:
<span style="color: {option1}; font-size: {option2}; font-family: {option3}">{param}</span>
[
BBCODE=red|20|Arial]something here[/BBCODE


You can also omit one or more options if you don't need them. But remember there must be one left.
PHP Code:
[BBCODE=red||]Something here[/BBCODE


Changelog:
2.0:
- Switch from deprecated /e to preg_replace_callback
- Change version check url

Download

File Type: %1$s product-multioptionbb.xml (2.1 KB, 60 downloads)

Screenshots

Click image for larger version
Name:	Selection_014.jpg
Views:	264
Size:	61.7 KB
ID:	156936  

Similar Mods

Multiple Option BBCode vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024