Page 195 of 198

Re: Website Suggestions

PostPosted: November 13th, 2015, 5:17 pm
by PositronWildhawk
Well I can use the sig code


Re: Website Suggestions

PostPosted: November 13th, 2015, 6:05 pm
by Doram
Well, no. Sig has worked for me before too, but this time it was glitching out in the presence of all those other tags for some reason, so I'm going to have to figure THAT out. And, yes, I forgot [quote].

Well, it's not as simple as a div, but, yes, you have that level of control over the border with fulltable.
"Quoted from BBCodes Thread": show
Tables just got an upgrade!



For all of you budding web designers out there that are frustrated by the limitations of your everyday BBCode, I present FullTables. Coded with about 80% of the full CSS capabilities of tables, You can decorate these beauties to the hilt, now.

It's a beast of a BBCode, with a ton of parameters, but I'll go over them, and show you an example...

The two new BBCodes are fulltable and fulltd (tr really didn't need any upgrades, and would only have confused things more). Both are similar to what you have seen in HTML and CSS, but with a few twists brought about by the maze of php and JavaScript that your post has to wander through before it makes it to the screen. Each parameter has certain data types that it has to contain, to maintain the security of the forums (thus the limitations of BBCode). I have worked around some of those limitations, but not all (thus the 80%).

Left Test Center Test Right Test

Code: Select all
[fulltable width=500 width_type=pixels height=0 height_type=none text_color=yellow bg_color=blue bg_img=http://runouw.com/forums/images/spacer.gif align=center border_size=5 border_color=#ffaaaa border_style=outset][tr][fulltd width=0 width_type=none height=0 height_type=none text_color=white bg_color=black bg_img=http://runouw.com/forums/images/spacer.gif align=right border_size=3 border_color=red border_style=dashed padding=3px 3px 7px]Left Test[/fulltd][fulltd width=0 width_type=none height=0 height_type=none text_color=black bg_color=#aaaa44 bg_img=http://runouw.com/forums/images/spacer.gif align=center border_size=3 border_color=white border_style=double padding=5px]Center Test[/fulltd][fulltd width=0 width_type=none height=0 height_type=none text_color=purple bg_color=green bg_img=http://runouw.com/forums/images/spacer.gif align=left border_size=3 border_color=white border_style=inset padding=10px 3px 0px]Right Test[/fulltd][/tr][/fulltable]


Have fun.

Things to keep in mind:
  • There must be something in every parameter, thus the width=0 width_type=none (meaning width unspecified - resulting code drops the declaration)
  • There must be a link in the background image, thus "http://runouw.com/forums/images/spacer.gif" if you don't want to set an image.
  • width_type and height_type can take "pixels", "percent", and "em" However, border_size is only a number, and is specified in pixels.
  • border_type can take any valid CSS2 border type: "dashed" "groove" "solid" "double" "inset" "outset" etc.
  • All features can be set at the table level (fulltable) and at the table cell level (fulltd).
  • Can set both bg color and bg image - again, for table overall, and per cell.
  • It has advanced code for properly aligning the overall table ("align=center" broken in HTML, so puts "style=margin:5px auto;" there instead - td simply uses text-align CSS)
  • Padding is locked for table (fulltable) elements at 3px, but padding can be set for cell (fulltd) elements, and can follow the full CSS Box model with the exception that it cannot be set in percent (since the % symbol makes the BBCode fail, and is the required symbole per CSS rules - so, px and em are Ok, and you can set them all in one, or split top, right, bottom, and left up...)
    If there is only one value, it applies to all sides. If there are two values, the top and bottom margins are set to the first value and the right and left margins are set to the second. If there are three values, the top is set to the first value, the left and right are set to the second, and the bottom is set to the third. If there are four values, they apply to the top, right, bottom, and left, respectively.


Full Breakdown of fulltd (fulltable is just missing the padding parameter)
  • width=700
    • Number only, usual max post width is 700px
  • width_type=pixels
    • Words only, can take "pixels" "percent" and "em"
  • height=0
    • Same as Width - Number only. For both width and height, if you are not going to set it, put a zero there.
  • height_type=none
    • Same as Width - Words only, can take "pixels" "percent" and "em" For both width and height, if you are not going to set it, put "none" there.
  • text_color=white
    • Can take any CSS authorized entry - named color, hex RGB (#FF8800), etc.
  • bg_color=black
    • Can take any CSS authorized entry - named color, hex RGB (#FF8800), etc.
  • bg_img=http://runouw.com/forums/images/spacer.gif
    • MUST be set. If you are not going to use it, set it to an empty spacer, as I have done here.
  • align=right
    • takes "left" "center" and "right"
  • border_size=3
    • Number only. Automatically in pixels.
  • border_color=red
    • Can take any CSS authorized entry - named color, hex RGB (#FF8800), etc.
  • border_style=inset
    • Can take any CSS authorized entry - "dashed" "dotted" "groove" "ridge" "solid" "double" "inset" and "outset"
  • padding=3px 3px 7px
    • Can take any CSS authorized entry - all unit types, with the exception of percentage (do not forget that you DO have to put the unit type here, as versus above), separate sides per the box model

Re: Website Suggestions

PostPosted: November 13th, 2015, 6:09 pm
by PositronWildhawk
Hey Doram, did you see my HTML border box?
Code: Select all
<div style="width:200px;height:100px;padding:10px;border:10px solid yellowgreen;">

Box with a border

</div>

Re: Website Suggestions

PostPosted: November 13th, 2015, 6:12 pm
by Doram
Yes.

Box with a border
Code: Select all
[fulltable width=200 width_type=pixels height=100 height_type=pixels text_color=yellow bg_color=blue bg_img=http://runouw.com/forums/images/spacer.gif align=center border_size=10 border_color=yellowgreen border_style=solid][tr][td]Box with a border[/td][/tr][/fulltable]

Re: Website Suggestions

PostPosted: November 13th, 2015, 6:17 pm
by PositronWildhawk
I don't think I can use Fulltable, sorry. It's too complicated for me.

Re: Website Suggestions

PostPosted: November 13th, 2015, 10:58 pm
by Kimonio
I'm kind of curious what sets it off from the others. What is it used for? Why will it be used? Who would use it?

All three criteria must be answered, preferably detailed or summarized. The bbcode has to be something the majority would use aside from other options, otherwise it's just a waste of bytes and takes up space in the script.

I mean, I personally don't see a use for left-slant. A quick search even confirms as far back as '08 that a custom font type is needed to be used, which would mean plugging the metatag in to call the font over, which would strain the server load, either by a margin or a wedge.

If you're talking along the lines of something like this for the bordered text, this would be a table, but a table that increases in width and height in accordance to the paragraph itself. I personally see that as an eyesore on web pages, because you'll have things such as this:

Image

That^ in itself is a web design no no. It's overly abstract, and very unorganized. That's why I don't like the idea.

Also, fulltable is literally the html you put. BBCode calls from a script that plugs html into a post.

Re: Website Suggestions

PostPosted: November 22nd, 2015, 12:01 pm
by Oranjui
Maybe add a shadowlink to all of the various Rules threads in the Rules subforum?

Name Changes
Art Rules
Rules on commenting in the portal
Rules topic template: Level Posting Rules and Guides (might want to clean up the formatting of the post though) [edit: oops, this is already there]

Might be missing some.

Also, are we ever going to get rid of Flash Player Showcase and merge it with Gaming?

Re: Website Suggestions

PostPosted: November 22nd, 2015, 4:43 pm
by Doram
That sounds like an excellent idea...

Re: Website Suggestions

PostPosted: November 28th, 2015, 5:51 am
by Supershroom
Is it actually possible to remove the "Notify me on new messages" option in the "Board preferences" section of the UCP? I don't see any point in turning it off, and it could just be the cause for newbies not noticing messages from the staff on e.g. having posted a level somewhere else than the LDP.

EDIT: The way I remember it, this option is default "Yes" after registering, so you have to know already what a PM is in order to turn this off ... and yes I'd second making them a bit more shiny.

Re: Website Suggestions

PostPosted: November 28th, 2015, 5:59 am
by l.m
Supershroom wrote:Is it actually possible to remove the "Notify me on new messages" option in the "Board preferences" section of the UCP? I don't see any point in turning it off, and it could just be the cause for newbies not noticing messages from the staff on e.g. having posted a level somewhere else than the LDP.


I don't think it would help on anything. There's a big chance newbies don't know what even a PM is. I suggest instead a way of making the PMs stand out more - but then again that belongs in the Forum Header Re-arrange topic.