[Forum] Add BBCode support for [table][/table]

Have any bright ideas? Share and discuss them with the community

Moderator: Community Team

Forum rules
Please read the Community Guidelines before posting.

And don't forget to search for previously suggested ideas first!
User avatar
newline
Posts: 196
Joined: Fri Jun 08, 2007 9:25 pm
Location: lost in a rabbit hole!

[Forum] Add BBCode support for [table][/table]

Post by newline »

Official Suggestion:
ender516 wrote:Concise description:
  • The BBCode constructs of [
    , , and allow forum posters to construct tables of information without pasting in images or painful exercises in code boxes with monospaced text. However, the current CC forum does not support this feature.

Specifics/Details:
  • Modify the phpBB code to support this feature. This may be something already available from phpBB, or we may need some development done. The phpBB website does seem to have an active community, but I am not familiar enough with it to say just what it would entail to implement my suggestion.

How this will benefit the site and/or other comments:
  • In the Map Foundry in particular, tables of information can be very useful for discussion and development. Being able to avoid the intermediate steps of creating an image, posting it to a sharing site, and inserting an image link would be very welcome.





<-------------------->

<Subject>:

*
BBCode tags


<Body>:

*
BBCode tags
* Would make a table with multiple rows and columns.
* Why it is needed: To help tournament organizers record and display player options in a post. It would tidy up and put all the information in one neat spot, making it easy for entries to make sure their info is correct.


<-------------------->
Image
User avatar
hecter
Posts: 14632
Joined: Tue Jan 09, 2007 6:27 pm
Gender: Female
Location: Tying somebody up on the third floor
Contact:

Post by hecter »

Something like this may come out with phpBB 3.0, but I don't really know. It is really a suggestion you should be posing to them, as lack won't be implementing it (at least not any time soon). Besides, it would require a lot of coding to be able to just make the table. You're better off with a screenshot of something you made in exel or something like that... I mean, really, what would be more difficult? PrntScrn or:

Code: Select all

[table]
    [th colspan=5]
         Tourny Title
    [/th]
    [tr]
    tourny info, row 1
    [/tr]
*do the above step four more times*
*do the same as above for the next row*
[/table]
In heaven... Everything is fine, in heaven... Everything is fine, in heaven... Everything is fine... You got your things, and I've got mine.
Image
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

Create a spredsheet - save as "Formatted Text (Space Delimited) (*.prm)"

Then copy and paste the contents into a [code] tag.

C.
Image
Highest score : 2297
User avatar
Coleman
Posts: 5402
Joined: Tue Jan 02, 2007 10:36 pm
Gender: Male
Location: Midwest

Post by Coleman »

Yeah, but we could nest images into a table tag, we can't do that with code.
Warning: You may be reading a really old topic.
User avatar
hecter
Posts: 14632
Joined: Tue Jan 09, 2007 6:27 pm
Gender: Female
Location: Tying somebody up on the third floor
Contact:

Post by hecter »

Coleman wrote:Yeah, but we could nest images into a table tag, we can't do that with code.

I think an addition to code tags, say, an [BBcode] tag would be neat. It would allow you to use BBcode in Code tags. I think it would be nice... But that's PHP, not CC.
In heaven... Everything is fine, in heaven... Everything is fine, in heaven... Everything is fine... You got your things, and I've got mine.
Image
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

Coleman wrote:Yeah, but we could nest images into a table tag, we can't do that with code.


Why you need an image in yer table?!

C.
Image
Highest score : 2297
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

[Forum] Add BBCode support for [table][/table]

Post by ender516 »

Concise description:
  • The BBCode constructs of [table][[/table], [tr][/tr], and [td][/td] allow forum posters to construct tables of information without pasting in images or painful exercises in code boxes with monospaced text. However, the current CC forum does not support this feature.

Specifics/Details:
  • Modify the phpBB code to support this feature. This may be something already available from phpBB, or we may need some development done. The phpBB website does seem to have an active community, but I am not familiar enough with it to say just what it would entail to implement my suggestion.

How this will benefit the site and/or other comments:
  • In the Map Foundry in particular, tables of information can be very useful for discussion and development. Being able to avoid the intermediate steps of creating an image, posting it to a sharing site, and inserting an image link would be very welcome.
User avatar
iamkoolerthanu
Posts: 4119
Joined: Sun Dec 31, 2006 6:56 pm
Gender: Male
Location: looking at my highest score: 2715, #170

Re: Add BBCode support for [table][/table]

Post by iamkoolerthanu »

I might use this for tournaments, if it wasn't too complicated to use
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: Add BBCode support for [table][/table]

Post by ender516 »

You can see an example of this on the BBCode Wikipedia page: http://en.wikipedia.org/wiki/BBCode

Basically, the [table][/table] construct surrounds [tr][/tr] (table row) which surrounds [td][/td] (table data). It might get a bit bulky, but should be straightforward to use.
User avatar
rdsrds2120
Posts: 6274
Joined: Fri Jul 03, 2009 3:42 am
Gender: Male

Re: Add BBCode support for [table][/table]

Post by rdsrds2120 »

I had brought this up to Andy a while ago, and I think they put it down to be worked on so that it could be operable with less tags. Good suggestion nonetheless, however.

-rd
User avatar
greenoaks
Posts: 9977
Joined: Mon Nov 12, 2007 12:47 am

Re: Add BBCode support for [table][/table]

Post by greenoaks »

it would make my life easier as a TO. i have a lot of tournaments where i use the code tags to create a table showing win/lost for each player.

great idea
User avatar
natty dread
Posts: 12877
Joined: Fri Feb 08, 2008 8:58 pm
Location: just plain fucked

Re: Add BBCode support for [table][/table]

Post by natty dread »

I like this suggestion!
Image
User avatar
AndyDufresne
Posts: 24935
Joined: Fri Mar 03, 2006 8:22 pm
Location: A Banana Palm in Zihuatanejo
Contact:

Re: Add BBCode support for [table][/table]

Post by AndyDufresne »

Blakebowling actually did some work on this, but his solution to getting such BBCode was something like 6 separate BBCodes that work together to make a table, which seemed very un-userfriendly. However, I think he was onto a much better solution with only 1 BBCode. Perhaps I'll see if I can jump start that again.


--Andy
User avatar
Metsfanmax
Posts: 6722
Joined: Wed Apr 11, 2007 11:01 pm
Gender: Male

Re: Add BBCode support for [table][/table]

Post by Metsfanmax »

rdsrds2120 wrote:I had brought this up to Andy a while ago, and I think they put it down to be worked on so that it could be operable with less tags. Good suggestion nonetheless, however.

-rd


A latex style table input with "&" separating cells and "\\" ending rows would be a good idea, for example. But then I guess you'd need a way to escape an & symbol if you actually needed it in your table.
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: Add BBCode support for [table][/table]

Post by ender516 »

Metsfanmax wrote:
rdsrds2120 wrote:I had brought this up to Andy a while ago, and I think they put it down to be worked on so that it could be operable with less tags. Good suggestion nonetheless, however.

-rd


A latex style table input with "&" separating cells and "\\" ending rows would be a good idea, for example. But then I guess you'd need a way to escape an & symbol if you actually needed it in your table.

The standard(?) method of [td][/td] around cells and [tr][/tr] around rows would not be much more to type, and the system already has to recognize [anything][/anything]. It's probably better not to throw different syntactical forms into the mix.
User avatar
greenoaks
Posts: 9977
Joined: Mon Nov 12, 2007 12:47 am

Re: Add BBCode support for [table][/table]

Post by greenoaks »

ender516 wrote:
Metsfanmax wrote:
rdsrds2120 wrote:I had brought this up to Andy a while ago, and I think they put it down to be worked on so that it could be operable with less tags. Good suggestion nonetheless, however.

-rd


A latex style table input with "&" separating cells and "\\" ending rows would be a good idea, for example. But then I guess you'd need a way to escape an & symbol if you actually needed it in your table.

The standard(?) method of [td][/td] around cells and [tr][/tr] around rows would not be much more to type, and the system already has to recognize [anything][/anything]. It's probably better not to throw different syntactical forms into the mix.

i'd be happy to use the 3 codes to bring a table together if they implement it as i can't imagine how 1 BBCode would know where my cells & rows end
User avatar
Metsfanmax
Posts: 6722
Joined: Wed Apr 11, 2007 11:01 pm
Gender: Male

Re: Add BBCode support for [table][/table]

Post by Metsfanmax »

ender516 wrote:
Metsfanmax wrote:
rdsrds2120 wrote:I had brought this up to Andy a while ago, and I think they put it down to be worked on so that it could be operable with less tags. Good suggestion nonetheless, however.

-rd


A latex style table input with "&" separating cells and "\\" ending rows would be a good idea, for example. But then I guess you'd need a way to escape an & symbol if you actually needed it in your table.

The standard(?) method of [td][/td] around cells and [tr][/tr] around rows would not be much more to type, and the system already has to recognize [anything][/anything]. It's probably better not to throw different syntactical forms into the mix.


You or I might think that, having worked with, say, HTML for many years. But I'm not convinced that the "average" forum-goer would find this mix of syntax confusing, since many don't have a reasonable expectation of what code should look like anyway.
dowian2
Posts: 1482
Joined: Wed Feb 04, 2009 8:18 pm

Re: Add BBCode support for [table][/table]

Post by dowian2 »

I'm in favor of this suggestion as well. Would be very useful for tournaments.
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: Add BBCode support for [table][/table]

Post by ender516 »

Metsfanmax wrote:
ender516 wrote:
Metsfanmax wrote:
rdsrds2120 wrote:I had brought this up to Andy a while ago, and I think they put it down to be worked on so that it could be operable with less tags. Good suggestion nonetheless, however.

-rd


A latex style table input with "&" separating cells and "\\" ending rows would be a good idea, for example. But then I guess you'd need a way to escape an & symbol if you actually needed it in your table.

The standard(?) method of [td][/td] around cells and [tr][/tr] around rows would not be much more to type, and the system already has to recognize [anything][/anything]. It's probably better not to throw different syntactical forms into the mix.


You or I might think that, having worked with, say, HTML for many years. But I'm not convinced that the "average" forum-goer would find this mix of syntax confusing, since many don't have a reasonable expectation of what code should look like anyway.

Maybe so, but mixing syntax leads to weird stuff. As it is now, if your post has something in square brackets, it is special, otherwise it is plain text. I wouldn't want to have to watch for other special strings as well. But, in the end, what really matters is a feature that works. The rest is detail.
User avatar
Metsfanmax
Posts: 6722
Joined: Wed Apr 11, 2007 11:01 pm
Gender: Male

Re: Add BBCode support for [table][/table]

Post by Metsfanmax »

ender516 wrote:Maybe so, but mixing syntax leads to weird stuff. As it is now, if your post has something in square brackets, it is special, otherwise it is plain text. I wouldn't want to have to watch for other special strings as well. But, in the end, what really matters is a feature that works. The rest is detail.


Absolutely. I don't want to bog this thread down with syntax discussions anyway. Let it suffice to say that this would be a neat thing to implement, although perhaps with not too grand of a scope outside Tournaments.
User avatar
rdsrds2120
Posts: 6274
Joined: Fri Jul 03, 2009 3:42 am
Gender: Male

Re: Add BBCode support for [table][/table]

Post by rdsrds2120 »

The Academy might be able to find use for this. Keeping charts of progress for students, perhaps.

-rd
User avatar
greenoaks
Posts: 9977
Joined: Mon Nov 12, 2007 12:47 am

Re: Add BBCode support for [table][/table]

Post by greenoaks »

rdsrds2120 wrote:The Academy might be able to find use for this. Keeping charts of progress for students, perhaps.

-rd

Clans and Usergroups could use it much the same way to track & display their member's activities.
User avatar
rdsrds2120
Posts: 6274
Joined: Fri Jul 03, 2009 3:42 am
Gender: Male

Re: Add BBCode support for [table][/table]

Post by rdsrds2120 »

To expand on this, I think that having 2 tags would be sufficient. We already have the list function, which can use two (one for bullets, one for [list]), and this probably is one of those things that could be used similarly. Just a thought, as it would be incredibly useful!

-rd
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: Add BBCode support for [table][/table]

Post by ender516 »

I think you will need three tags. With the list, you have the tag around the whole list and the tags that mark the separations. In a sense, it marks positions in one dimension. WIth a table, you need to mark positions in two dimensions: row markers and column markers.
User avatar
jpcloet
Posts: 4317
Joined: Sat Mar 17, 2007 9:18 am
Gender: Male
Location: Greater Toronto Area

Re: Add BBCode support for [table][/table]

Post by jpcloet »

If you are going for a display all you really need is a single bbcode and a javascript to go with it. I'm not sure what you think people are going to do with the [th] anyways.
Post Reply

Return to “Suggestions”