![]() |
Multiple Options BBCode
Hello,
I've found this for another VB version, but not for vers. 4.x.x. I would like to mention the following example: <img src="{param}" width="{option1}" height="{option2}"> [imgsize=100;200]http://.........[/imgsize] Thanks a lot. Greets |
This code was for a BB Code mod here: https://vborg.vbsupport.ru/showthread.php?t=90869
But that doesn't work for VB 4 and it hasn't been updated. By default you can't use multiple options in vBulletin BB Codes, but if you want to control height and width you could make the following: imgsize Replacement: <img {option} src="{param}" /> Example: [imgsize="width='100' height='200'"]http://... url ...[/imgsize] You will get a warning from vBulletin but you can hit continue and it will work. Warning though- this could be a little dangerous- someone who knew what they were doing could exploit it to run arbitrary HTML. |
It doen't work. You have to write width="100" and this isn't allowed to...
|
you can use single quotes ' instead of " around the numbers, per my example.
--------------- Added [DATE]1291580188[/DATE] at [TIME]1291580188[/TIME] --------------- I've tested this on 4.0.8 and it works fine. |
Oh sorry, I had forgotten to activate {option}, it's working now, thanks ;)
|
All times are GMT. The time now is 07:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|