Jump to content

Table BBCode


Octavian Dima

Recommended Posts

Table BBCode


IMPORTANT NOTE:

  • A new version of this BBCode maintained by Fallen Legion is available here.
  • For IP. Board 4.0 please download this plugin.
  • If the you can't add more then 50-100 rows or something like that, please add in conf_global.php this
    $INFO['max_bbcodes_per_post'] = 600; // 600 you can change it to any value.

What does it do?
Creates HTML tables within post content.
 
Exemples:
Note: This mod was tested on IP Board 3.4.6.

[table]
   [tr]
       [th]Row 1 / Column 1[/th]

       [th]Row 1 / Column 3[/th]

       [th]Row 1 / Column 3[/th]
  [/tr]
  [tr]
       [td]Row 2 / Column 1[/td]

       [td]Row 2 / Column 3[/td]

       [td]Row 2 / Column 3[/td]
  [/tr]

  [tr]
       [td]Row 3 / Column 1[/td]

       [td]Row 3 / Column 3[/td]

       [td]Row 3 / Column 3[/td]
  [/tr]
[/table]

 

NOTE:

  • I won't update this table anymore. Why? Because IP Board 4.0 will have this already in it.

Link to comment
Share on other sites

I see what you mean, I've switched the bbcode to yours instead of the other one :P O btw. I have an correction to your readme:

File which need to be uploaded

Table BBCode.xml in

/admin/sources/classes/text/parser/bbcode/

shouldn't that be table.php instead of Table BBCode.xml? ;)

Link to comment
Share on other sites

Are you going to add support for attribute options so we could set rowspan, colspan, width, height etc.?

Would be sorta done the same way as the quote system works now a days. It has 3-4 attribute options you can set and I bet the same way could be done with the table/tr/td/th in this bbcode!

So for TABLE you could have the ability to set width, height, border. For TD and TH you could have rowspan, colspan, width, height, align maybe style.

What do you think?

Link to comment
Share on other sites

I see what you mean, I've switched the bbcode to yours instead of the other one tongue.png O btw. I have an correction to your readme:

shouldn't that be table.php instead of Table BBCode.xml? wink.png

Oh, sorry. I will upload it soon.

Are you going to add support for attribute options so we could set rowspan, colspan, width, height etc.?

Would be sorta done the same way as the quote system works now a days. It has 3-4 attribute options you can set and I bet the same way could be done with the table/tr/td/th in this bbcode!

So for TABLE you could have the ability to set width, height, border. For TD and TH you could have rowspan, colspan, width, height, align maybe style.

What do you think?

This is a good ideea. I wil try it. Thank you.

If I can do it I will post here.

Link to comment
Share on other sites

  • 4 months later...
  • 3 months later...

Suggestion, some are not using 4.0 yet due to the lack of modifications for it so many of us are sticking with 3.4.x until more modifications have been released for 4.0, so maybe keep this updated until there is a substantial amount of 4.0 modifications so those of us on 3.4.x can still get support and ask questions.

I currently use this right now, but won't ask for support until I know if you will keep this updated temporarily. Otherwise I can take it over and support it since you moved on to 4.0 as I figured out a few new additions that I customized in my version.

Link to comment
Share on other sites

Suggestion, some are not using 4.0 yet due to the lack of modifications for it so many of us are sticking with 3.4.x until more modifications have been released for 4.0, so maybe keep this updated until there is a substantial amount of 4.0 modifications so those of us on 3.4.x can still get support and ask questions.

I currently use this right now, but won't ask for support until I know if you will keep this updated temporarily. Otherwise I can take it over and support it since you moved on to 4.0 as I figured out a few new additions that I customized in my version.

​Hello,

 

First thank you for using it :)

If you want, you can take it over and support it.

Link to comment
Share on other sites

Version 2.0.0 is nearly complete. It has been turned into an entire application instead of just BBCode import. This will allow for settings, customizing row colors, etc. 2.0.0 will be in a new release but will introduce settings and row coloring. 2.1.0 will introduce more features plus those requested.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...