Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Multiple Options BBCode Details »
Multiple Options BBCode
Mod Version: 2.0, by Master Of Unive (Coder) Master Of Unive is offline
Developer Last Online: Nov 2018 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (3 votes - 5.00 average) Installs: 6
Released: 13 Feb 2018 Last Update: 13 Feb 2018 Downloads: 12
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}

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


But there is only one 'option', thus limits variety of BBCode. You can still do something like this

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



You can also omit one or more options if you don't need them. But remember there must be one left.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Selection_014.jpg
Views:	110
Size:	61.7 KB
ID:	156936  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Multiple Option BBCode Andreas vBulletin 3.5 Add-ons 57 17 Apr 2012 06:29

Comments
  #2  
Old 13 Feb 2018, 03:39
IggyP IggyP is offline
 
Join Date: May 2012
wow....really? just when i thought i milked the bbcodes to oblivion

eager to test whenever i can find time...

pretty powerful tool for vb, thank you
Reply With Quote
  #3  
Old 13 Feb 2018, 03:50
Master Of Unive's Avatar
Master Of Unive Master Of Unive is offline
 
Join Date: Oct 2009
Originally Posted by IggyP View Post
wow....really? just when i thought i milked the bbcodes to oblivion

eager to test whenever i can find time...

pretty powerful tool for vb, thank you
The plugin has been there for a long time, provide a powerful feature for BBCode, but not so many notice. It amazes me so I create a thread for vb4.

It is too late as current vB state though
__________________
Need something at bottom of the post.
Reply With Quote
  #4  
Old 13 Feb 2018, 04:09
IggyP IggyP is offline
 
Join Date: May 2012
haha yeah that is why it needs every tool it can get ;P.....by then it is superior in some lights at least....for a few more years then oh oh hmm...
Reply With Quote
  #5  
Old 13 Feb 2018, 17:36
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Andreas has really great mods, thanks for adding this thread.

Maybe if you add simple description in first post, I see it on image, but anyway would like to have it explained with text also.

Anyway, great addition.
Reply With Quote
  #6  
Old 13 Feb 2018, 20:45
IggyP IggyP is offline
 
Join Date: May 2012
tested and verified working....i like it to enrich bbcodes i already made and to combine some others....one thing i am not sure is good tho here....

it gives one option prompt, then the second option needs to be manually edited in? i didnt see a second prompt

it is fine for me, but you know these instagramming generation im not so sure about hmm
Reply With Quote
  #7  
Old 14 Feb 2018, 00:11
IggyP IggyP is offline
 
Join Date: May 2012
one other limitation i dont like....

if you do not manually edit in the second option it will break the bbcode in the cases i checked....

for example in one case with a highlighter bbcode i wish to let the default text color remain as black, yet give members the option to edit in if they are wanting another...

i tried it basic with a class/css rule to test specificity but noticed not adding that "option2" broke the whole code anyway and wouldnt display at all....so even if the specificity is correct i cant approach it like that....i also tried making a redundant color code with !important applied but also fail...

um if it helps to see the code i mean like this

basic 2 option highlighter bbcode....works unless you do not edit in option 2, which....most people would not do instinctively...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

my failed tries...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with the css in the last example being:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

trying to avoid adding confusion of more and more and similar buttons in editor hmm..any ideas or its just the limits built with it perhaps?
Reply With Quote
  #8  
Old 14 Feb 2018, 11:12
Master Of Unive's Avatar
Master Of Unive Master Of Unive is offline
 
Join Date: Oct 2009
Originally Posted by Alan_SP View Post
Andreas has really great mods, thanks for adding this thread.

Maybe if you add simple description in first post, I see it on image, but anyway would like to have it explained with text also.

Anyway, great addition.
I have done some text to clarify the feature, but in developer way

Originally Posted by IggyP View Post
tested and verified working....i like it to enrich bbcodes i already made and to combine some others....one thing i am not sure is good tho here....

it gives one option prompt, then the second option needs to be manually edited in? i didnt see a second prompt

it is fine for me, but you know these instagramming generation im not so sure about hmm
The logic of this plugin is just simple. What you want requires much more work. It's really worth to dig in if it was 8 years ago. vB has ended their support for forum add-on. vB4 is EOL also.
__________________
Need something at bottom of the post.
Reply With Quote
  #9  
Old 14 Feb 2018, 11:26
Master Of Unive's Avatar
Master Of Unive Master Of Unive is offline
 
Join Date: Oct 2009
Originally Posted by IggyP View Post
trying to avoid adding confusion of more and more and similar buttons in editor hmm..any ideas or its just the limits built with it perhaps?
I've added description at first post for your case.

If you create a bbcode with 2 options, you have to input 2 options. However you can leave some options blank like this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Otherwise bbcode won't show.

There is better way but it is also more complex.
__________________
Need something at bottom of the post.
Reply With Quote
  #10  
Old 14 Feb 2018, 17:24
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Thanks for textual clarification, it is more helpful, especially part that we need to enter all options, even if they remain blank.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:18.

Layout Options | Width: Wide Color: