[BB Code] [3.0.0] [fieldset]boo[/fieldset]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    [BB Code] [3.0.0] [fieldset]boo[/fieldset]

    [BB Code] [3.0.0] [fieldset]boo[/fieldset]

    On-line manual on how to add a new custom bb code: Custom BB Codes


    Here is the code that I use:

    Code:
    <table width="90%" border="0" align="center" cellpadding="2" cellspacing="2"><tr><td><fieldset><legend>{option}</legend>{param}</fieldset></td></tr></table>


    This will let you use:

    [fieldset=title]content[/fieldset]

    The =title for {option} is required and not optional. If you don't want to use a title make a new bbcode called [setfield] with the same code without the <legend>{option}</legend> part in it.

    Example: thread on vbnl



    ENJOY!
  • the Sandman
    Senior Member
    • Jul 2003
    • 1539
    • 3.7.x

    #2
    Great stuff Floris... Thanks!
    The Admin Zone - Resources for Forum Administrators
    Articles - Forum Review
    Interviews:
    KierScottJerryAndreasSteveWayneJakeFlorisLogicianErwin
    Paul M

    Comment

    • Floris
      Senior Member
      • Dec 2001
      • 37767

      #3
      I am glad someone likes it

      Comment

      • mOdEtWo
        Senior Member
        • Dec 2003
        • 334
        • 3.7.x

        #4
        Nice, I'll add that one!
        meow

        Comment

        • Zachery
          Former vBulletin Support
          • Jul 2002
          • 59097

          #5
          Floris why the table?

          Comment

          • Grover
            Senior Member
            • May 2001
            • 4005
            • 3.8.x

            #6
            Looks great Floris!

            Can you give some more examples/ideas on what occassions you can use this BBcode? It looks great, but I'm not sure where or when I could use it.

            Thanks,
            How much do you love XenForo?

            Comment

            • Floris
              Senior Member
              • Dec 2001
              • 37767

              #7
              Originally posted by mOdEtWo
              Nice, I'll add that one!
              Thank you.


              Originally posted by Zachery
              Floris why the table?
              A quick markup for the width. It is not mandatory and can also be done in 5 different ways, I choose tables for I like to type the word <table>


              Originally posted by Grover
              Looks great Floris!

              Can you give some more examples/ideas on what occassions you can use this BBcode? It looks great, but I'm not sure where or when I could use it.

              Thanks,
              Grouping info, gathering data, easier overview, enhanced quoting, listing of items, etc.

              Comment

              • Zachery
                Former vBulletin Support
                • Jul 2002
                • 59097

                #8
                divs would be less code ^_^

                Comment

                • Grover
                  Senior Member
                  • May 2001
                  • 4005
                  • 3.8.x

                  #9
                  'Grouping info, gathering data, easier overview, enhanced quoting, listing of items, etc.' Alright, alright, alright, alright, alright! I get it!
                  How much do you love XenForo?

                  Comment

                  • zetetic
                    Member
                    • Apr 2004
                    • 83
                    • 3.6.x

                    #10
                    Originally posted by Zachery
                    divs would be less code ^_^
                    How would you do that, Zachery?

                    Also I'm trying to find a something to make expanding and collapsing code boxes like this, but haven't found anything.

                    Any ideas?

                    Comment

                    • Zachery
                      Former vBulletin Support
                      • Jul 2002
                      • 59097

                      #11
                      HTML Code:
                      <center><div style="width: 90%"><fieldset><legend>{option}</legend>{param}</fieldset></div></center>
                      Give that a try

                      Comment

                      • Ocean
                        Senior Member
                        • Mar 2004
                        • 839
                        • 3.0.3

                        #12
                        Originally posted by Zachery
                        HTML Code:
                        <center><div style="width: 90%"><fieldset><legend>{option}</legend>{param}</fieldset></div></center>
                        Give that a try
                        All the text inside the box ends up centered.


                        Oh, and in addition - as with the original version, the Title Text is a bit smaller than normal text. However, it's placement and color distinguish it enough, in my opinion. How can I make the title text larger?
                        echo $ocean_signature;

                        ;)

                        Comment

                        • Zachery
                          Former vBulletin Support
                          • Jul 2002
                          • 59097

                          #13
                          Bleh sometimes i hate not using tables.

                          youll need to add a class to the legend tag or a style setting.

                          you can remove the center tags and see how that works

                          Comment

                          • zetetic
                            Member
                            • Apr 2004
                            • 83
                            • 3.6.x

                            #14
                            Removing the center tags makes the text align left as it should, but then the whole box isn't centered (of course).

                            Hey any idea about that expanding/collapsing box I mentioned above, Zachery?

                            Comment

                            • Zachery
                              Former vBulletin Support
                              • Jul 2002
                              • 59097

                              #15
                              whosa what now?

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...