Page 1 of 1

Table BBCode

Posted: Sun Jan 08, 2012 11:41 pm
by Little Wolf
Hello forum! :D *I hope I placed in the right place. :oops: *

I am looking for a table BBCode like the one used on this forum. It looks like this when you set it up, but it can have more rows etc etc.

Image

The input of the code is:

Code: Select all

[table align=left][tr][td]TEXT[/td][td]TEXT[/td][td]TEXT[/td][/tr]
[tr][td]TEXT[/td][td]TEXT[/td][td]TEXT[/td][/tr]
[tr][td]TEXT[/td][td]TEXT[/td][td]TEXT[/td][/tr]
[tr][td]TEXT[/td][td]TEXT[/td][td]TEXT[/td][/tr]
[tr][td]TEXT[/td][td]TEXT[/td][td]TEXT[/td][/tr]
[tr][td]TEXT[/td][td]TEXT[/td][td]TEXT[/td][/tr][/table]
I couldn't get a few of the other codes I found to work right. I only found another that worked, but it took a lot of work and had features I didn't really want/need. It looked like this:

Code: Select all

[table=300,1][tr][td=50,red]1[/td]
    [td=50,red]2[/td][/tr]
  [tr][td=250,white]3[/td]
    [td=250,white]4[/td][/tr][/table]
Is there any Table BBCode similar to the above available to use?

Thanks,

Little Wolf~

Re: Table BBCode

Posted: Mon Jan 09, 2012 1:06 am
by 4_seven

Re: Table BBCode

Posted: Mon Jan 09, 2012 1:19 am
by Little Wolf
Ah, thanks 4seven for the link and help! :D

Is there a way to remove the need to put in height/color or turn it to auto pick (so my members don't have to manually edit the colors? It will make them not want to use it, I think.)?

Thanks,

Little Wolf~

Re: Table BBCode

Posted: Mon Jan 09, 2012 2:51 am
by 4_seven
The snippet is provided as it is, so take it, modify it or leave it.
Further you don't have to put in anything.
Setup only the count of columns and rows.
All other things are optional.

Re: Table BBCode

Posted: Mon Jan 09, 2012 3:15 am
by Little Wolf
Alright then, I'll try and install it and set up a tutorial post for those who don't know how to use it. :)

Thanks!

Little Wolf~

Re: Table BBCode

Posted: Mon Jan 09, 2012 4:41 pm
by doktornotor
This is just crazy. Get some WYSIWYG editor.

There are other similar solutions like Table BBcode but it plain sucks wrt usability.

Re: Table BBCode

Posted: Mon Jan 09, 2012 5:42 pm
by 4_seven
yeah, thats mine, so the same as my link ;)

Re: Table BBCode

Posted: Mon Jan 09, 2012 6:04 pm
by doktornotor
4_seven wrote:yeah, thats mine, so the same as my link ;)
:lol: :D