Table BBCode

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Anti-Spam Guide
Locked
User avatar
Little Wolf
Registered User
Posts: 30
Joined: Sun Apr 24, 2011 12:02 am
Location: Makȟá čhokáŋ

Table BBCode

Post by Little Wolf » Sun Jan 08, 2012 11:41 pm

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~
Image - Currently trying to learn! Image - Going to learn!

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Table BBCode

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

Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
Little Wolf
Registered User
Posts: 30
Joined: Sun Apr 24, 2011 12:02 am
Location: Makȟá čhokáŋ

Re: Table BBCode

Post by Little Wolf » Mon Jan 09, 2012 1:19 am

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~
Image - Currently trying to learn! Image - Going to learn!

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Table BBCode

Post by 4_seven » Mon Jan 09, 2012 2:51 am

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.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
Little Wolf
Registered User
Posts: 30
Joined: Sun Apr 24, 2011 12:02 am
Location: Makȟá čhokáŋ

Re: Table BBCode

Post by Little Wolf » Mon Jan 09, 2012 3:15 am

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~
Image - Currently trying to learn! Image - Going to learn!

User avatar
doktornotor
Registered User
Posts: 608
Joined: Fri Sep 09, 2011 7:41 am

Re: Table BBCode

Post by doktornotor » Mon Jan 09, 2012 4:41 pm

This is just crazy. Get some WYSIWYG editor.

There are other similar solutions like Table BBcode but it plain sucks wrt usability.
Support requests via PM go straight to /dev/null!

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Table BBCode

Post by 4_seven » Mon Jan 09, 2012 5:42 pm

yeah, thats mine, so the same as my link ;)
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
doktornotor
Registered User
Posts: 608
Joined: Fri Sep 09, 2011 7:41 am

Re: Table BBCode

Post by doktornotor » Mon Jan 09, 2012 6:04 pm

4_seven wrote:yeah, thats mine, so the same as my link ;)
:lol: :D
Support requests via PM go straight to /dev/null!

Locked

Return to “[3.0.x] MOD Requests”