[DEV] TABLEK BBCode

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
ntvy95
Registered User
Posts: 69
Joined: Wed Jun 10, 2015 12:58 pm

[DEV] TABLEK BBCode

Post by ntvy95 » Thu Jul 09, 2015 11:31 am

Full syntax:

Code: Select all

[tablek html attributes | css attributes]
{first row html attributes | css atributes }
|first row first col html attributes [ css attributes } first row first col
first row first col second line
|first row second col html attributes [ css attributes } first row second col
{second row html attributes | css atributes }
|second row first col html attributes [ css attributes } second row first col
|second row second col html attributes [ css attributes } second row second col
second row second col second line
[/tablek]
HTML equivalence:

Code: Select all

<table  html attributes  style=" css attributes"><tr first row html attributes  style=" css atributes "><td first row first col html attributes  style=" css attributes "> first row first col<br />first row first col second line<br /></td><td first row second col html attributes  style=" css attributes "> first row second col<br /></td></tr><tr second row html attributes  style=" css atributes "><td second row first col html attributes  style=" css attributes "> second row first col<br /></td><td second row second col html attributes  style=" css attributes "> second row second col<br />second row second col second line<br /></td></tr></table>
Most minimum syntax:

Code: Select all

[tablek]
{}
|first row first col |first row second col
{}
|second row first col |second row second col
[/tablek]
HTML equivalence:

Code: Select all

<table><tr  style=""><td>first row first col </td><td>first row second col<br /></td></tr><tr  style=""><td>second row first col </td><td>second row second col<br /></td></tr></table>
You can mix those two for your best convenience.

No nested tablek bbcode allowed. You cannot put a tablek inside bbcode tablek, it does not cause any bug, the tablek bbcode just does not work out the way you want.

Download / Repository: GitHub

Please tell me any bug or the slow down you may meet with your forum. Thank you.
Last edited by ntvy95 on Mon Mar 05, 2018 12:39 pm, edited 2 times in total.

ntvy95
Registered User
Posts: 69
Joined: Wed Jun 10, 2015 12:58 pm

Re: [DEV] TABLEK BBCode

Post by ntvy95 » Tue Jul 14, 2015 5:35 am

Update: Allow case insensitive: [TABLEK] or [tablek] is all fine.

rrbailey89
Registered User
Posts: 248
Joined: Fri Oct 24, 2014 3:00 pm

Re: [DEV] TABLEK BBCode

Post by rrbailey89 » Wed Jul 15, 2015 3:53 am

Can we have a SS of this in action?

ntvy95
Registered User
Posts: 69
Joined: Wed Jun 10, 2015 12:58 pm

Re: [DEV] TABLEK BBCode

Post by ntvy95 » Wed Jul 15, 2015 4:41 am

rrbailey89 wrote:Can we have a SS of this in action?
What do you mean by SS?

ntvy95
Registered User
Posts: 69
Joined: Wed Jun 10, 2015 12:58 pm

Re: [DEV] TABLEK BBCode

Post by ntvy95 » Wed Jul 15, 2015 10:33 am

Update: Fix the error related to row attribute.

ntvy95
Registered User
Posts: 69
Joined: Wed Jun 10, 2015 12:58 pm

Re: [DEV] TABLEK BBCode

Post by ntvy95 » Wed Jul 15, 2015 11:19 am

Update: Fix the other serious error that I am too lazy to list here.

User avatar
nero
Registered User
Posts: 321
Joined: Fri Mar 13, 2015 8:18 am

Re: [DEV] TABLEK BBCode

Post by nero » Sun Jul 19, 2015 4:30 am

koutogima wrote:
rrbailey89 wrote:Can we have a SS of this in action?
What do you mean by SS?
He means a screen shot.

rrbailey89
Registered User
Posts: 248
Joined: Fri Oct 24, 2014 3:00 pm

Re: [DEV] TABLEK BBCode

Post by rrbailey89 » Tue Jul 21, 2015 3:15 am

nero wrote:
koutogima wrote:
rrbailey89 wrote:Can we have a SS of this in action?
What do you mean by SS?
He means a screen shot.
Yes please.

ntvy95
Registered User
Posts: 69
Joined: Wed Jun 10, 2015 12:58 pm

Re: [DEV] TABLEK BBCode

Post by ntvy95 » Tue Jul 21, 2015 5:14 am

rrbailey89 wrote:
nero wrote:
koutogima wrote:
rrbailey89 wrote:Can we have a SS of this in action?
What do you mean by SS?
He means a screen shot.
Yes please.
nero wrote:
koutogima wrote:
rrbailey89 wrote:Can we have a SS of this in action?
What do you mean by SS?
He means a screen shot.

I have updated the HTML equivalence and no screenshot because I do not style the table and let the user custom it in their ways.

If you insist on how it looks like then here is the demo: http://forum.worwor.net/viewtopic.php?f=5&t=12, the one below "Ứng dụng:" part.

rrbailey89
Registered User
Posts: 248
Joined: Fri Oct 24, 2014 3:00 pm

Re: [DEV] TABLEK BBCode

Post by rrbailey89 » Tue Jul 21, 2015 9:58 pm

koutogima wrote:
rrbailey89 wrote:
nero wrote:
koutogima wrote:
rrbailey89 wrote:Can we have a SS of this in action?
What do you mean by SS?
He means a screen shot.
Yes please.
nero wrote:
koutogima wrote:
rrbailey89 wrote:Can we have a SS of this in action?
What do you mean by SS?
He means a screen shot.

I have updated the HTML equivalence and no screenshot because I do not style the table and let the user custom it in their ways.

If you insist on how it looks like then here is the demo: http://forum.worwor.net/viewtopic.php?f=5&t=12, the one below "Ứng dụng:" part.
Sorry but that link is not working for me.

ntvy95
Registered User
Posts: 69
Joined: Wed Jun 10, 2015 12:58 pm

Re: [DEV] TABLEK BBCode

Post by ntvy95 » Thu Jul 23, 2015 11:00 am

nero wrote:
koutogima wrote:I have updated the HTML equivalence and no screenshot because I do not style the table and let the user custom it in their ways.

If you insist on how it looks like then here is the demo: http://forum.worwor.net/viewtopic.php?f=5&t=12, the one below "Ứng dụng:" part.
Sorry but that link is not working for me.
Now it should work. And even if it does not work, you can take a look at HTML equivalence (I think it has already stated the look of the BBCode clearly).

Post Reply

Return to “Extensions in Development”