Page 1 of 1

Tabbles? BBCODE generally?

Posted: Tue Jun 09, 2009 6:34 am
by BSquared
I tried to compose a table in a PM today, but apparently the [table] bbcodes were ignored (and came out in the preview as "[table]," just as they do in this posting). Which bbcode codes are supported here? Just the ones in the little square boxes on the posting pages? In my quest, I went to the FAQ, which says something about a link on the posting page to bbcode help, and I couldn't find that, either. ](*,)

Re: Tabbles? BBCODE generally?

Posted: Tue Jun 09, 2009 8:30 am
by ERIC
BSquared wrote:I tried to compose a table in a PM today, but apparently the [table] bbcodes were ignored (and came out in the preview as "[table]," just as they do in this posting). Which bbcode codes are supported here? Just the ones in the little square boxes on the posting pages? In my quest, I went to the FAQ, which says something about a link on the posting page to bbcode help, and I couldn't find that, either. ](*,)
Nope. Sorry, BSquared. Tables are not an option because A) I'm not convinced the custom BBCode is entirely secure, B) because that custom BBCode is complicated to use and I really don't have the time to teach people how to use it and/or trouble shoot problems I know most people will have, and C) because depending on how someone configures a table within a thread it might affect (stretch maybe?) the layout of the page frames. To demonstrate my point about complexity, here's an example of what you'd have to manipulate in order to add a simple table to a thread:

Code: Select all

    [table][tr][tdo=5]Styled CSS table[/tdo][/tr][tr][td][b]Some text[/b][/td][td][b]Stoker[/b][/td][td][b]Nerdy[/b][/td][td][b]Peters[/b][/td][td][b]BBCode Bot[/b][/td][/tr][tr][td][b]Home:[/b][/td][td]test[/td][td]test[/td][td]test[/td][td]test[/td][/tr][tr][td][b]1 - 2:[/b][/td][td]test[/td][td]test[/td][td]test[/td][td]test[/td][/tr][tr][td][b]3 - 4:[/b][/td][td]test[/td][td]test[/td][td]test[/td][td]test[/td][/tr][tr][td][b]5 - 6:[/b][/td][td]test[/td][td]test[/td][td]test[/td][td]test[/td][/tr][tr][td][b]7 - 8:[/b][/td][td]test[/td][td]test[/td][td]test[/td][td]test[/td][/tr][tr][td][b]9 - 10:[/b][/td][td]test[/td][td]test[/td][td]test[/td][td]test[/td][/tr][/table]

Yes, the BBCode help section link is on the posting page. It's a text link located just below the red devil emoticon. Here's a shortcut to the link to make it easier: faq.php?mode=bbcode" onclick="window.open(this.href);return false;

Re: Tabbles? BBCODE generally?

Posted: Tue Jun 09, 2009 8:49 am
by BSquared
ERIC wrote:...To demonstrate my point about complexity, here's an example of what you'd have to manipulate in order to add a simple table to a thread:

Code: Select all

    [table][tr][tdo=5]Styled CSS table[/tdo][/tr][tr][td][b]Some text[/b][/td][td][b]Stoker[/b][/td][td][b]Nerdy[/b][/td][td][b]Peters[/b][/td][td][b]BBCode Bot[/b][/td][/tr][tr][td][b]Home:[/b][/td][td]test[/td]...

Yes, the BBCode help section link is on the posting page. It's a text link located just below the red devil emoticon. Here's a shortcut to the link to make it easier: faq.php?mode=bbcode" onclick="window.open(this.href);return false;
Why, sonofagun, there it is, part of "BBCode is ON." OK, points well taken (although I did find a page that would generate the BBCode for you if you typed in a more "normal" table). Tabs don't seem to work, either. How would you advise someone who wanted to post, say, a schedule of one's projected JMT hike? :nod:

Re: Tabbles? BBCODE generally?

Posted: Tue Jun 09, 2009 10:48 am
by ERIC
BSquared wrote:...(although I did find a page that would generate the BBCode for you if you typed in a more "normal" table).
BBCode tags in phpBB3 will only work if the associated html replacement has been added to the BBCode admin area.
BSquared wrote:Tabs don't seem to work, either. How would you advise someone who wanted to post, say, a schedule of one's projected JMT hike? :nod:
I've added a simple 3 column and a simple 2 column BBCodes you can play with. The buttons are named "col3" and "col2" and are next to the "Font colour" button in the posting screen. Here's an example of the 3 column code.:

Code: Select all

[col3]This is the first column.  I hope you really enjoy reading the important content of this first column.|This is the second column.  I really hope you enjoy reading the important content of this second column.|This is the third column.  I really hope you enjoy reading the important content of this third and final column.[/col3]
And here's what it looks like when you post it:
This is the first column. I hope you really enjoy reading the important content of this first column.This is the second column. I really hope you enjoy reading the important content of this second column.This is the third column. I really hope you enjoy reading the important content of this third and final column.

Re: Tabbles? BBCODE generally?

Posted: Tue Jun 09, 2009 10:50 am
by ERIC
BSquared wrote:Tabs don't seem to work, either. How would you advise someone who wanted to post, say, a schedule of one's projected JMT hike? :nod:
Your other option is to attach an Excel spreadsheet to your post. :)

Re: Tabbles? BBCODE generally?

Posted: Tue Jun 09, 2009 11:00 am
by rlown
I was trying to figure out tables when i did my "what does your pack weigh" summary. The example really helps.

Thanks Eric.

Re: Tabbles? BBCODE generally?

Posted: Tue Jun 09, 2009 11:02 am
by ERIC
You're welcome.

Re: Tabbles? BBCODE generally?

Posted: Tue Jun 09, 2009 11:22 am
by rlown
ok.. Thought of a simple problem with the example. :retard: If i have, let's say a two column list in excel or word, and i want to post it as a table using the "col3" example, i must decouple the table into the two separate columns and then work madly at the spacing between the columns, esp if i want spacing between the items. There's no way to just import from either excel or word into a "table" area?

Russ

Re: Tabbles? BBCODE generally?

Posted: Tue Jun 09, 2009 11:37 am
by ERIC
rlown wrote:ok.. Thought of a simple problem with the example. :retard: If i have, let's say a two column list in excel or word, and i want to post it as a table using the "col3" example, i must decouple the table into the two separate columns and then work madly at the spacing between the columns, esp if i want spacing between the items. There's no way to just import from either excel or word into a "table" area?

Russ
If you have a two column list, you use the "col2" BBCode button mentioned above. And unfortunately, no, there's no way to simply cut and paste from an Excel spreadsheet or Word doc with columns and place the content into a column BBCode. Also keep in mind these are column BBCodes, not table BBCodes. An example two column list would be typed something like this:

Code: Select all

[col2]1.
2.
3.
4.|One
Two
Three
Four[/col2]
And it turns out looking like this:
1. 2. 3. 4.One Two Three Four

Another option would be to create multiple columns stacked on top of one another, like this:

Code: Select all

[col2]1.
2.
|One
Two
[/col2][col2]3.
4.
|Three
Four
[/col2]
Turns out looking like this:
1. 2.One Two
3. 4.Three Four