Won't fix Is DIV Tag possible?

Discussion in 'Site Discussions & Suggestions' started by storm75x, Feb 23, 2015.

  1. storm75x
    OP

    storm75x Remember that thing I don't remember? Yeah, that!

    Member
    633
    823
    Jan 3, 2015
    __̴ı̴̴̡̡̡ ̡͌l̡̡̡ ̡͌l̡*̡̡ ̴̡ı̴̴̡ ̡̡͡|̲͡ ̲__
    BB Code Tag: div
    Supports Option Parameter: Yes
    HTML Replacement: <div style="{option}">{text}</div>

    Would it be possible here? I'd LOVE to have this. It could ultimately make many more threads more beautiful, ProjectPokemon have already adopted this method and project threads look gorgeous. It would also make siggies cleaner and more beautiful. :D
     
    Margen67 likes this.
  2. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,675
    Sep 1, 2010
    I personally love using div tags, but this is GBAtemp. People will probably abuse it. I'd be for it though if people won't be ignorant dicks with it.
     
  3. Tom Bombadildo

    Tom Bombadildo Honk!

    pip Contributor
    GBAtemp Patron
    Tom Bombadildo is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    10,907
    11,089
    Jul 11, 2009
    United States
    I forgot
    Well let's see...

    [divblock] test [/divblock]

    EDIT: So no current support here. Meh, I don't think it'd be abused much here, I doubt most of the kids who would abuse shit like that would know how to use it lol.

    But I also don't think it'd be used much anyways, so there'd be no point adding it IMO
     
  4. Lucifer666

    Lucifer666 all the world needs is me

    Member
    1,496
    733
    Apr 22, 2011
    The Fourth Dimension

    square brackets [] are used in BB Code (forum post formatting code) whereas a div is HTML, so you need to use these <>

    ?
     
  5. Tom Bombadildo

    Tom Bombadildo Honk!

    pip Contributor
    GBAtemp Patron
    Tom Bombadildo is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    10,907
    11,089
    Jul 11, 2009
    United States
    I forgot
    I believe he's asking for the BBCode equivalent, which is divblock.

    There's also the
    HTML:
    test
    , I wonder if this would work...

    So no, not really. Lol

    Let's try something else...

    HTML:
    test
    Oh neat, I did it. Not sure if normal users can, but try enabling "Enable HTML" at the bottom of your post, then use ["html]stuff[/html"] with HTML code and use that.
     
    Lucifer666 likes this.
  6. tj_cool

    tj_cool Site dev

    Supervisor
    9,993
    -1
    Jan 7, 2009
    Belgium
    This planet
    That option is for staff only. And the [html] BBcode is unrelated to that; it is to highlight HTML markup:
    HTML:
    <div class="something">Some <span style="color:red">text</span></div>
    Edit: Guess the highlighter isn't installed, oh well.

    ----

    As for implementing [div] or whatever, I don't see where it would be used. Perhaps you have examples of these "gorgeous project threads"? We already have loads of BBcodes for various purposes, though.
     
  7. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,749
    9,031
    Oct 27, 2002
    France
    Engine room, learning
    I suppose he wants to use it to make nice enclosure?
    we can't let users play with css inside a forum's post if you thought about positioning or colors.


    what could be useful are tables (or wiki integration, but it's not a good idea to allow users modify forum's structure by editing offsite content)
     
  8. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,675
    Sep 1, 2010
    No, how BBCode works is it takes whatever is put in them, and replaces them with their proper equivalent. For example:

    [css-div="{option}"]{text}[/css-div] would translate to <div style="{option}">{text}</div> through the forum software, the first being a form of bbcode, and the second is HTML. I'd definitely make use of it, it'd also make for some elegant forum signatures and would allow a larger degree of customization in threads, such as being able to create a sort of table for a thread, so you can have two divs side by side or something like that.
     
    Margen67 likes this.
  9. storm75x
    OP

    storm75x Remember that thing I don't remember? Yeah, that!

    Member
    633
    823
    Jan 3, 2015
    __̴ı̴̴̡̡̡ ̡͌l̡̡̡ ̡͌l̡*̡̡ ̴̡ı̴̴̡ ̡̡͡|̲͡ ̲__
    Oh bummer, I was hoping for more stylish posts in the future. I even made a siggy that utilises div tag already. XD
    But div can only be used so much, no? I fail to see the negative side considering we have wonderful active moderators.
     
    Margen67 likes this.