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

This forum is a storehouse for all Finalized Suggestions to be periodically reviewed during Feature Updates.

Moderators: Suggestions Team, Global Moderators

Forum rules
Please read the Community Guidelines before posting.

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

Postby greenoaks on Wed Jun 22, 2011 1:05 am

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
Sergeant 1st Class greenoaks
Tech Contributor
Tech Contributor
 
Posts: 9997
Joined: Mon Nov 12, 2007 12:47 am
Medals: 138
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (4) Quadruples Achievement (3) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (4) Freestyle Achievement (4) Polymorphic Achievement (1) Nuclear Spoils Achievement (4)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (2) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (4) Ratings Achievement (4) Tournament Achievement (30) General Achievement (3) Clan Achievement (14)
Tournament Contribution (34) General Contribution (4)

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

Postby rdsrds2120 on Sat Jun 25, 2011 12:03 am

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
Image
User avatar
Corporal 1st Class rdsrds2120
Retired Administrator
 
Posts: 7220
Joined: Fri Jul 03, 2009 3:42 am
Medals: 90
Conquer Cup Bronze Achievement (1) Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3)
Terminator Achievement (3) Assassin Achievement (3) Manual Troops Achievement (4) Freestyle Achievement (4) Nuclear Spoils Achievement (3)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (3) Battle Royale Achievement (3) Ratings Achievement (3) Tournament Achievement (4) General Achievement (9)
Clan Achievement (7) Training Achievement (3) Tournament Contribution (4) General Contribution (9)

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

Postby ender516 on Sat Jun 25, 2011 7:45 am

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
Sergeant 1st Class ender516
Tech Contributor
Tech Contributor
 
Posts: 4451
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

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

Postby jpcloet on Sat Jun 25, 2011 1:01 pm

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.
Image
User avatar
Captain jpcloet
 
Posts: 4426
Joined: Sat Mar 17, 2007 9:18 am
Medals: 69
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Speed Achievement (1) Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (3) Battle Royale Achievement (1)
Ratings Achievement (3) Tournament Achievement (7) General Achievement (7) Clan Achievement (5) Tournament Contribution (8)
General Contribution (8)

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

Postby ender516 on Sat Jun 25, 2011 8:11 pm

I think you have to have something to separate rows from one another and cells within a row, so if you use only one code, you need some special syntax inside the code. Why make it special? Just use the [].

I don't know what you mean by [th].
User avatar
Sergeant 1st Class ender516
Tech Contributor
Tech Contributor
 
Posts: 4451
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

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

Postby blakebowling on Sun Jun 26, 2011 9:23 pm

My original idea was to have BBCodes that went along with the HTML <table>, <tr>, <td>, and <th> tags. It was requested that I come up with a solution that uses only one BBCode. The only solution that fit this would be a CSV sort of system. So you would have a table tag [table], each set of cells would be Comma-Separated, and each set of rows would be semi-colon separated.

So input would look something like:
[table]1,2,3;A,B,C;[/table]
And output would look something like:
1 | 2 | 3
A | B | C

To summarize, my original solution would provide a wider array of options, and more customization, at the cost of ease-of-use. The second solution would provide an easier option to use, at the cost of options and customization.

I'm for the first solution, however I'm willing to pursue whatever the community is most supportive of.

If you want this done, please keep this suggestion afloat guys.
12:39:59 AM rdsrds2120: sorry, I had a lot of lasagna tonight
12:40:06 AM rdsrds2120: I'm pretty out of it. CRAAZZYYY NIGHT
12:31:04 * Metsfanmax quit (kicked from Social by Metsfanmax - reason: haha gotcha now)
12:59:32 * #1_stunna gropes blakebowling
Cadet blakebowling
Operations Manager
Operations Manager
 
Posts: 4997
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1
Medals: 41
Standard Achievement (3) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (1) Freestyle Achievement (3) Fog of War Achievement (3) Speed Achievement (3)
Teammate Achievement (1) Random Map Achievement (1) Ratings Achievement (3) Tournament Achievement (1) General Achievement (3)
Tournament Contribution (3) General Contribution (10)

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

Postby ender516 on Mon Jun 27, 2011 12:43 am

Using commas and semicolons to delimit the cells and rows would mean that those characters would need special treatment to appear in a cell. I would much prefer the first solution as well, as it seems to be the standard as described at BBCode.org. I didn't know about the [th] codes until just now, and they would be nice, but are hardly necessary, if, for example, the bold BBCode still works inside the [td] tag.
User avatar
Sergeant 1st Class ender516
Tech Contributor
Tech Contributor
 
Posts: 4451
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

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

Postby greenoaks on Mon Jun 27, 2011 2:23 am

i am in favour of the 1st option. i can handle having to use 3 codes.

how difficult would it be to implement, with or without the buttons as i use strikethrough and color and there is no button for them
User avatar
Sergeant 1st Class greenoaks
Tech Contributor
Tech Contributor
 
Posts: 9997
Joined: Mon Nov 12, 2007 12:47 am
Medals: 138
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (4) Quadruples Achievement (3) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (4) Freestyle Achievement (4) Polymorphic Achievement (1) Nuclear Spoils Achievement (4)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (2) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (4) Ratings Achievement (4) Tournament Achievement (30) General Achievement (3) Clan Achievement (14)
Tournament Contribution (34) General Contribution (4)

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

Postby iamkoolerthanu on Mon Jun 27, 2011 9:47 am

There are buttons for color

I really want this implemented lol
rds is awesome!
Image
User avatar
Private 1st Class iamkoolerthanu
 
Posts: 4184
Joined: Sun Dec 31, 2006 6:56 pm
Location: looking at my highest score: 2715, #170
Medals: 99
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (3) Manual Troops Achievement (3) Freestyle Achievement (3) Nuclear Spoils Achievement (3) Fog of War Achievement (3)
Trench Warfare Achievement (2) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (4) Tournament Achievement (8) General Achievement (5) Clan Achievement (8) Tournament Contribution (31)
General Contribution (1)

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

Postby blakebowling on Mon Jun 27, 2011 11:32 am

The first BBCode option would take literally a few minutes to implement (considering I've already written the codes, and all that needs to be done is Andy installing them on the website)

The second option would require a wholly new mod in phpBB (eg a bunch of code changes), so it would take much longer to implement.
12:39:59 AM rdsrds2120: sorry, I had a lot of lasagna tonight
12:40:06 AM rdsrds2120: I'm pretty out of it. CRAAZZYYY NIGHT
12:31:04 * Metsfanmax quit (kicked from Social by Metsfanmax - reason: haha gotcha now)
12:59:32 * #1_stunna gropes blakebowling
Cadet blakebowling
Operations Manager
Operations Manager
 
Posts: 4997
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1
Medals: 41
Standard Achievement (3) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (1) Freestyle Achievement (3) Fog of War Achievement (3) Speed Achievement (3)
Teammate Achievement (1) Random Map Achievement (1) Ratings Achievement (3) Tournament Achievement (1) General Achievement (3)
Tournament Contribution (3) General Contribution (10)

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

Postby ender516 on Mon Jun 27, 2011 11:41 am

blakebowling wrote:The first BBCode option would take literally a few minutes to implement (considering I've already written the codes, and all that needs to be done is Andy installing them on the website)

The second option would require a wholly new mod in phpBB (eg a bunch of code changes), so it would take much longer to implement.

Sounds like a no-brainer choice to me.
User avatar
Sergeant 1st Class ender516
Tech Contributor
Tech Contributor
 
Posts: 4451
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

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

Postby greenoaks on Mon Jun 27, 2011 12:16 pm

blakebowling wrote:The first BBCode option would take literally a few minutes to implement (considering I've already written the codes, and all that needs to be done is Andy installing them on the website.

does this include shortcut buttons for ease of use
User avatar
Sergeant 1st Class greenoaks
Tech Contributor
Tech Contributor
 
Posts: 9997
Joined: Mon Nov 12, 2007 12:47 am
Medals: 138
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (4) Quadruples Achievement (3) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (4) Freestyle Achievement (4) Polymorphic Achievement (1) Nuclear Spoils Achievement (4)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (2) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (4) Ratings Achievement (4) Tournament Achievement (30) General Achievement (3) Clan Achievement (14)
Tournament Contribution (34) General Contribution (4)

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

Postby blakebowling on Mon Jun 27, 2011 1:09 pm

greenoaks wrote:
blakebowling wrote:The first BBCode option would take literally a few minutes to implement (considering I've already written the codes, and all that needs to be done is Andy installing them on the website.

does this include shortcut buttons for ease of use

BBCodes are installed directly in the ACP, when you add a new BBCode, you have the option (it's a checkbox) to add the BBCode to the posting page. If you check that box, the button will appear on the posting page.
12:39:59 AM rdsrds2120: sorry, I had a lot of lasagna tonight
12:40:06 AM rdsrds2120: I'm pretty out of it. CRAAZZYYY NIGHT
12:31:04 * Metsfanmax quit (kicked from Social by Metsfanmax - reason: haha gotcha now)
12:59:32 * #1_stunna gropes blakebowling
Cadet blakebowling
Operations Manager
Operations Manager
 
Posts: 4997
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1
Medals: 41
Standard Achievement (3) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (1) Freestyle Achievement (3) Fog of War Achievement (3) Speed Achievement (3)
Teammate Achievement (1) Random Map Achievement (1) Ratings Achievement (3) Tournament Achievement (1) General Achievement (3)
Tournament Contribution (3) General Contribution (10)

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

Postby greenoaks on Mon Jun 27, 2011 1:44 pm

that is a lot easier than i imagined.

please submit option 1 for implementation.
User avatar
Sergeant 1st Class greenoaks
Tech Contributor
Tech Contributor
 
Posts: 9997
Joined: Mon Nov 12, 2007 12:47 am
Medals: 138
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (4) Quadruples Achievement (3) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (4) Freestyle Achievement (4) Polymorphic Achievement (1) Nuclear Spoils Achievement (4)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (2) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (4) Ratings Achievement (4) Tournament Achievement (30) General Achievement (3) Clan Achievement (14)
Tournament Contribution (34) General Contribution (4)

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

Postby blakebowling on Mon Jun 27, 2011 2:13 pm

greenoaks wrote:that is a lot easier than i imagined.

please submit option 1 for implementation.

It was submitted during a MOD's project that I was doing a while ago. However the admins thought it would be too complicated for the average user.

After we get some more people to comment on the options, and if a large majority say they prefer option 1, I'll get Andy and lack to review this thread.
12:39:59 AM rdsrds2120: sorry, I had a lot of lasagna tonight
12:40:06 AM rdsrds2120: I'm pretty out of it. CRAAZZYYY NIGHT
12:31:04 * Metsfanmax quit (kicked from Social by Metsfanmax - reason: haha gotcha now)
12:59:32 * #1_stunna gropes blakebowling
Cadet blakebowling
Operations Manager
Operations Manager
 
Posts: 4997
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1
Medals: 41
Standard Achievement (3) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (1) Freestyle Achievement (3) Fog of War Achievement (3) Speed Achievement (3)
Teammate Achievement (1) Random Map Achievement (1) Ratings Achievement (3) Tournament Achievement (1) General Achievement (3)
Tournament Contribution (3) General Contribution (10)

PreviousNext

Return to Submitted Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

Login