PDA

View Full Version : vBcode Tables


zetetic
07-15-2004, 06:42 PM
I know it's easy to make simple table, th, tr, and td vBcode tags, but is there a good way to give more complex table making options without enabling HTML? Like to let people choose their own width, border, cellspacing, cellpadding, etc.?

Xenon
07-15-2004, 08:07 PM
hmm, it might be possible to create a kind of html tag, and within you can allow table-th-tr-td html tags, and do the parsing just to rip of other html tags and scripts.

but, you would have to hack functions_bbcodeparse.php for that.

zetetic
07-15-2004, 08:10 PM
hmm, it might be possible to create a kind of html tag, and within you can allow table-th-tr-td html tags, and do the parsing just to rip of other html tags and scripts.

but, you would have to hack functions_bbcodeparse.php for that.
Ah, that makes sense.

Any takers? I couldn't hack my way out of a wet paper bag. :nervous: