View Full Version : Mini Mods - BBCode: [fieldset]
Floris
06-06-2006, 10:00 PM
Due to the recent announcement of Internet Brands telling they are suing XenForo, I decided to immediately stop updating my vBulletin modifications, because I am not supporting this action.
GrCh_Jeff
06-07-2006, 10:25 PM
INSTALLED.Thank you.
Floris
06-10-2006, 11:42 PM
Thanks for taking the time to click install ;)
rogersnm
06-29-2006, 06:41 PM
Simple but effective :)
Red Matrix
06-29-2006, 11:08 PM
What is fieldset, or what does it do?
good2laugh
07-14-2006, 07:24 PM
cool thanks I like this :)
cheesegrits
07-18-2006, 02:43 AM
Excellent little mod. True value for effort, only took 2 minutes to set up, works like a charm.
-- hugh
vietConnecting
07-22-2006, 02:07 PM
<font color="Red">INSTALLED</font>.Thank you.
cheesegrits
07-22-2006, 05:02 PM
What is fieldset, or what does it do?
Nobody else answered this one, so I guess I'll give it a shot.
The fieldset code lets you create a border, or frame, around a given chunk of text in your post, with a title ("legend") embedded in the top line of the border. The border has rounded corners. And as with all (well, most) bbcodes, it can be used in conjunction with other bbcodes. So in this case, you could have your framed chunk of text be in a different font, size, color, whatever.
The way this mod works is, it gives you an extra button (in with the code, quote and php buttons). You select the text you want framed, and hit the button. It then asks you for the title (legend) to embed in the border at the top.
This is an excellent way of hiliting certain text, or creating footnote type annotations, or simply for decorative effect. I highly recommend it.
-- hugh
Jim O
07-27-2006, 02:30 AM
Installed. Thank you Floris.
TPOCJames
08-02-2006, 07:01 AM
Screenshots?
cheesegrits
08-02-2006, 05:35 PM
Screenshots?
Attached should be an example screenshot. I'm using "Preview Post", so you can see the final result in the top half, and the BBCode's themselves in the bottom half.
-- hugh
Floris
08-02-2006, 05:49 PM
Attached should be an example screenshot. I'm using "Preview Post", so you can see the final result in the top half, and the BBCode's themselves in the bottom half.
-- hugh
Thank you for contributing to this thread ! :)
cheesegrits
08-02-2006, 06:31 PM
Floris,
Thank you for contributing to this thread ! :)
No problem. Like i said in my first post, this is one of the best "value for time" mods I've ever applied. 5 minutes work gets us a very useful stylistic addition to WYSIWG'ing our posts. And anything I can do to encourage people to install this is my way of saying Thank You. Heck, I'd like to see them add this bbcode to vborg itself.
One question ... is there any way we can constrain the width of the fieldset, rather than it automatically assuming X% of the width of the containing object?
For instance, if I use it to provide a fieldset frame for a thumbnail with some descriptive text, like this:
51409
... which is fine, only I'd like to have the fieldset wrap around just the content, with a little padding, without stretching right across the post.
I'm probably being lazy here. I'm sure if I dug aorund I could find if there are any other options that can be given to the fieldset tag. But I was hoping you might just have that info in your short term memory cache. :D
-- hugh
y2krazy
08-25-2006, 11:49 PM
Installed and modified. :D
This is actually as close to an exact copy as I could make of the "fieldset" used in the MEMBERINFO template:
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0"><tr><td><fieldset class="fieldset"><legend>{option}</legend><table cellpadding="0" cellspacing="3" border="0"><tr><td>{param}</td></tr></table></fieldset></td></tr></table>
Of course, you can paste the following to include the optional step (don't forget to modify the CSS properties in your specific style):
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0"><tr><td><fieldset class="bbfieldset"><legend class="bblegend">{option}</legend><table cellpadding="0" cellspacing="3" border="0"><tr><td>{param}</td></tr></table></fieldset></td></tr></table>
The [FIELDSET] BB Code can still be centered by using the [CENTER] BB Code, so there was no need for me to keep align="center". I removed the width="90%" from the code as well because with my version, it will just have the spacing outside of what the {param} is. IMO, this is a better code as it retains much of the vB code for a fieldset. Enjoy! :)
SCS_Rocket-Devi
08-27-2006, 12:14 PM
Installed, Thanks :)
blankoboy
08-28-2006, 08:19 AM
Nice bb code mod Floris! I a question, is possible to have a the editor pre-populate with specific bb codes when a user goes to make a new post?
I am creating a review site and I would like to encourage users to follow a set format similar to the fieldset.
Snake
08-30-2006, 04:03 PM
Thanks for the hack! I'll install it right away... :)
E.Blackadder
09-02-2006, 04:51 PM
this looks great...just one minor aesthetic point though..
in the fieldset!....if you look at the finished article the border comes to within one space of the 'H' in hello, but at the end of 'hello' there is no space at the end of the 'o' how do I ballance the appearance of the border?
cheers folks.
y2krazy
09-05-2006, 03:43 PM
Modifed to look just like the fieldsets on MEMBERINFO:
https://vborg.vbsupport.ru/showpost.php?p=1060632&postcount=15
snikle
11-22-2006, 09:39 PM
Works great! Thanks a bunch!
Ev!L ErN!E
01-04-2007, 12:15 PM
I tried this and for some reason its not showing up in the editor, any ideas?
arena
01-21-2007, 02:11 AM
Installed. Thank you Floris.:)
Ev!L ErN!E
01-22-2007, 07:53 PM
I tried this and for some reason its not showing up in the editor, any ideas?
anybody?
compact123
06-02-2007, 10:37 AM
thanks for field set
Red Matrix
07-30-2007, 05:31 PM
Nobody else answered this one, so I guess I'll give it a shot.
Thanks. (a year later)
dave
Yours Truly
07-30-2007, 05:38 PM
Thanks. (a year later)
dave
Lol poor dave :p
Kaasie
08-10-2007, 06:18 PM
thank you
ringleader
08-14-2007, 12:33 PM
anybody?
You have to manually add it to the editor template, I think.
abus3d
08-30-2009, 04:46 PM
its nice one :)
great installed
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.