Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tables in forums editor?
#1
Is there a way to post tables in forum posts? 
I tried searching the forums for "table" but no luck. 
I tried some markdown from the source view but it doesn't seem to do the trick...
I tried some HTML too, but no dice. 
Any ideas? Being able to include tables in posts would be useful for sharing certain information... 

| **Header A** | **Header B** | **Header C** |
| ------------ | ------------ | ------------ |
| A1          | B1          | B1          |
| A2          | B2          | B2          |
| A3          | B3          | B3          |

| Month    | Savings |
| -------- | ------- |
| January  | $250    |
| February | $80    |
| March    | $420    |

<table><th><td>Header A</td><td>Header B</td><td>Header C</td></th><tr><td>A1</td><td>B1</td><td>C1</td></tr><tr><td>A2</td><td>B2</td><td>C2</td></tr><tr><td>A3</td><td>B3</td><td>C3</td></tr></table>

<html><table><th><td>Header A</td><td>Header B</td><td>Header C</td></th><tr><td>A1</td><td>B1</td><td>C1</td></tr><tr><td>A2</td><td>B2</td><td>C2</td></tr><tr><td>A3</td><td>B3</td><td>C3</td></tr></table></html>
Reply
#2
I'm afraid codeblocks are the only place which allows for such preformatted constructs. Maybe it works also if you use a monospaced font for your post or at least the tables.

The forum admins could look around, if there's a plugin module available which adds something like a
BBCode element.

Code: (Select All)
| Header A | Header B | Header C |
| -------- | -------- | -------- |
| A1       | B1       | B1       |
| A2       | B2       | B2       |
| A3       | B3       | B3       |

| Month    | Savings |
| -------- | ------- |
| January  | $250    |
| February | $80     |
| March    | $420    |
Reply
#3

PersonAwesomeness
SteveULTIMATE!!!
Everyone Elsemeh...
Reply
#4
(05-30-2024, 09:45 PM)admin Wrote:
PersonAwesomeness
SteveULTIMATE!!!
Everyone Elsemeh...
Awesome!! 
Thank you
Reply
#5
So where the heck is that "No" coming from at the end of my test posting above?  Tongue
Reply
#6
(05-30-2024, 09:52 PM)SMcNeill Wrote: So where the heck is that "No" coming from at the end of my test posting above?  Tongue
I just figured you were messing with me, LOL
Reply
#7
@madscijr -- Can you see the basic syntax via clicking REPLY or QUOTE or such?  It's not that hard to sort out.

Code: (Select All)
[table=something]
[tr]     [/tr]    <-- table rows
[th]     [/th]   <-- table headers (the black colored highlight text rows)
[td]     [/td]   <-- table divider
[/table]         <-- end of table
Reply
#8
(05-30-2024, 09:23 PM)RhoSigma Wrote: I'm afraid codeblocks are the only place which allows for such preformatted constructs. Maybe it works also if you use a monospaced font for your post or at least the tables.

The forum admins could look around, if there's a plugin module available which adds something like a
BBCode element.

It seems they looked around!


The code:


Code: (Select All)
[table=test]
[tr][th]Header A[/th][th]Header B[/th][th]Header C[/th][/tr]
[tr][td]A1[/td][td]B1[/td][td]C1[/td][/tr]
[tr][td]A2[/td][td]B2[/td][td]C2[/td][/tr]
[tr][td]A3[/td][td]B3[/td][td]C3[/td][/tr]
[/table]


yields:


Header AHeader BHeader C
A1B1C1
A2B2C2
A3B3C3


But it seems there's some weird quirk that inserts the word "No" after a table ?? 

Big Grin
Reply
#9
PersonAwesomeness
SteveULTIMATE!!!
Everyone Elsemeh...

No what?  No where?

PersonAwesomeness
SteveULTIMATE!!!
Everyone Elsemeh...


The table= is to set the percentage width of the table.  For example, the first is table=70, the second is table=30....

As for the No..   Maybe my mybbcode isn't 100% perfect.  Let me go check it back out a bit.  Big Grin
Reply
#10
(05-30-2024, 09:55 PM)SMcNeill Wrote: @madscijr -- Can you see the basic syntax via clicking REPLY or QUOTE or such?  It's not that hard to sort out.
Code: (Select All)
[table=something]
[tr]     [/tr]    <-- table rows
[th]     [/th]   <-- table headers (the black colored highlight text rows)
[td]     [/td]   <-- table divider
[/table]         <-- end of table

Yes and thanks. 

I'm seeing a "No" after my tables too... weird! If you can find the HTML or whatever template is used to render the table, maybe the "No" is in that? 

tables are working
do I know why it's printing the word 'No'?

(05-30-2024, 10:02 PM)SMcNeill Wrote: The table= is to set the percentage width of the table.  For example, the first is table=70, the second is table=30....
Oh cool, that can come in handy. Thanks!
Reply




Users browsing this thread: 12 Guest(s)