• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

DataTables BB Code by Waindigo [Deleted]

Jon W

Well-known member
#1
Last edited:

tajhay

Well-known member
#3
When installed with the tabs addon, it doesnt allow the tabs option in ACP to be saved. Clicking on it and saving shows that only comma option is saved.
 
#6
Doesn't work so much
Code:
[table=head]
test|test|test|test|test|tets
[/table]
turns up as attachment . Doesn't matter if it's csv or pipe, neither work and display 6 separate table fields, it displays those as rows

[/COLOR]
 

Attachments

Last edited:

Jon W

Well-known member
#7
#8
Excellent, that update fixed that problem, thank you ;)
A couple thoughts, maybe for future dev?

Can we get the ability to edit column names, maybe take the first row as a column name, instead of having 'column 1', 'column 2', etc? So:
Code:
[table]
Time|Status|Show|18-49 demo|% demo change|Viewers (mil)|% mil change
would spit that out as the column heads... Just a thought. I know this is a young plugin, and believe me, I can't thank you enough, as this seems to be the only one to work right now ;)
 

Jon W

Well-known member
#9
Excellent, that update fixed that problem, thank you ;)
A couple thoughts, maybe for future dev?

Can we get the ability to edit column names, maybe take the first row as a column name, instead of having 'column 1', 'column 2', etc? So:
Code:
[table]
Time|Status|Show|18-49 demo|% demo change|Viewers (mil)|% mil change
would spit that out as the column heads... Just a thought. I know this is a young plugin, and believe me, I can't thank you enough, as this seems to be the only one to work right now ;)
Try putting [table=head] in your code above.
 

Ark Royal

Active member
#12
Looks brilliant but I can't use it as I have already installed Brogans BB code for tables that I needed for the tables I imported from phpbb :eek:
 
#13
Thanks for this great addon!

Is it maybe possible in a future release to disable borders for some tables?

And one small problem: Automatically calculate the optimum table and columns widths doesn't really work (if I understand this feature correctly). The table still uses the entire width.

table size.jpg
 
Last edited:

Jon W

Well-known member
#15
Thanks for this great addon!

Is it maybe possible in a future release to disable borders for some tables?
I'm sure you could just add some CSS code for this. It is designed so that it is easy for you to style yourself. We won't be adding any of our own styling to the add-on itself.

And one small problem: Automatically calculate the optimum table and columns widths doesn't really work (if I understand this feature correctly). The table still uses the entire width.

View attachment 57439
I believe this is how it is supposed to work. Again, you could probably add your own CSS for this.

@Waindigo Thanks for the update, looks good.

Just one issue though. If i have items from your Keyword Replace addon used within the tables, it shows up the html.
http://www.nzwarriors.com/threads/how-to-do-tables-in-posts.16853/#post-100450
Sounds like a bug. I'll look into it.
 
#17
I'm sure you could just add some CSS code for this. It is designed so that it is easy for you to style yourself. We won't be adding any of our own styling to the add-on itself.
I meant two different tables so that one has borders, and the other one not. With CSS I could just change all the tables.
 

Jon W

Well-known member
#18
Does this addon work with the code from this vb addon?
http://www.vbulletin.org/forum/showthread.php?t=107985
Mind the [table=[B]"[/B]head"] part of the code which includes quotation marks.
It will work with or without the quotes in your example. The other options in that add-on won't work though.

I meant two different tables so that one has borders, and the other one not. With CSS I could just change all the tables.
Ah OK, yes this would need to be added as an option to the bbcode. Drop me a pm if you wish to contribute to this.
 

Jon W

Well-known member
#20
Waindigo updated DataTables BB Code by Waindigo with a new update entry:

Version 1.0.2 released

New features:
  • Any BB code inside [TABLE] tags now shows as raw BB codes (rather than formatted text etc.) in the BB code editor to ensure that it appears correctly formatted and no line breaks are accidentally added.
  • Added options in Admin Control Panel to remove any code inside curly brackets and to remove any options separated by semi-colons. These option may help with backwards-compatibility with code produced for other add-ons and/or for other forum software.
Read the rest of this update entry...