QB64 Phoenix Edition
tables in forums editor? - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11)
+--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2)
+--- Thread: tables in forums editor? (/showthread.php?tid=2756)

Pages: 1 2 3 4 5


RE: tables in forums editor? - admin - 05-30-2024

Nothing wrong with the "NO".... It's basically just stray typing I screwed up on with the replacement. LOL!

Code: (Select All)
<table border="0" cellspacing="1" cellpadding="3" class="tborder" style="width:$1%;">$2</table>
No

^See it sitting there all natural and acting like it belongs to that /table statement? Big Grin


RE: tables in forums editor? - admin - 05-30-2024

Everyone kindly ignore all the talk about "No".... It was a glitch, but it's gone now. I know me and madscijr may *SEEM* crazy from time to time, but we really aren't this time!

The forum WAS posting "No" at the bottom of all tables. Now it's now. I'm just that awesome, as the table proves! Big Grin


RE: tables in forums editor? - PhilOfPerth - 05-30-2024

Great to be able to use Tables in the code - pretty annoying having to space 
all the items with Tabs and Locates.  Big Grin


RE: tables in forums editor? - SMcNeill - 05-30-2024

As for adding it to the button menu...   I have no clue how the heck to go about doing that.   If you ask nicely, and email him a whole bunch of cookies, @grymmjack may be able to help with that, as he's the one who added in those nice QB64 buttons for QB64 code for us.  

(If you can, grymm -- and I have no idea how much work it might be -- could you perhaps also look into adding a button for SPOILER as well?  If it's too much work, don't worry over it.  I just thought I'd mention it on the off-chance you might be able to just pop into the admin, blink twice, and magically make those type buttons appear for us.  LOL!)

Show Content

The main thing I think spoilers would be useful for, is forming quick and simple *collapsable* text, so someone could make a post like:

The joys of coding
Show Content

The woes of coding
Show Content

How awesome is Steve?
Show Content

Long sections of explaination (which could be useful with Keyword of the Day and such), all kept neatly together inside one collapsable text block.  Wink


RE: tables in forums editor? - Kernelpanic - 05-30-2024

It would be much easier to finally impose the harshest punishments on the "full quota"! How about whipping? No? OK, how about sending them to the Gulag in Russia?
Putin is looking for people for his mines in Siberia.  Tongue


RE: tables in forums editor? - madscijr - 05-30-2024

(05-30-2024, 10:05 PM)admin Wrote: Nothing wrong with the "NO"....  It's basically just stray typing I screwed up on with the replacement.  LOL!

Code: (Select All)
<table border="0" cellspacing="1" cellpadding="3" class="tborder" style="width:$1%;">$2</table>
No

^See it sitting there all natural and acting like it belongs to that /table statement?  Big Grin

"Just act natural like you belong there, no one'll notice!" they said!

Tongue

(05-30-2024, 10:19 PM)SMcNeill Wrote: As for adding it to the button menu...   I have no clue how the heck to go about doing that.   If you ask nicely, and email him a whole bunch of cookies, @grymmjack may be able to help with that, as he's the one who added in those nice QB64 buttons for QB64 code for us.  

(If you can, grymm -- and I have no idea how much work it might be -- could you perhaps also look into adding a button for SPOILER as well?  If it's too much work, don't worry over it.  I just thought I'd mention it on the off-chance you might be able to just pop into the admin, blink twice, and magically make those type buttons appear for us.  LOL!)

Show Content

The main thing I think spoilers would be useful for, is forming quick and simple *collapsable* text, so someone could make a post like:

The joys of coding
Show Content

The woes of coding
Show Content

How awesome is Steve?
Show Content

Long sections of explaination (which could be useful with Keyword of the Day and such), all kept neatly together inside one collapsable text block.  Wink

The spoiler feature can definitely be useful! 

A toolbar button would be nice but we're all programmers, I think we can handle code view, LoL!


RE: tables in forums editor? - grymmjack - 05-31-2024

There may be a way to add table stuff to the toolbar. It is probably doable.

Yep I see table here: https://www.sceditor.com/

LMK @SMcNeill.


RE: tables in forums editor? - grymmjack - 05-31-2024

Also there is a drag and drop plugin.

https://www.sceditor.com/posts/drag-drop-upload-demo/

Anyway, here if needed to implement the stuff.


RE: tables in forums editor? - grymmjack - 05-31-2024

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    |

I believe this is a markdown table format. However, I have looked into it and it seems Markdown is a long requested feature in MyBB that has yet to be implemented as a plugin.

It's a bummer, but thems the breaks.

Feel free to search online for MyBB Markdown SCEditor and if you find anything, I will look at it. Odds are good I've previously found it too and tried to implement but ya never know.

Take it easy.


RE: tables in forums editor? - madscijr - 05-31-2024

(05-31-2024, 12:10 AM)grymmjack Wrote: Also there is a drag and drop plugin.

https://www.sceditor.com/posts/drag-drop-upload-demo/

Anyway, here if needed to implement the stuff.
That's awesome, thanks. 

For me personally the most useful thing would be the ability to copy some cells in Excel to the clipboard and paste it into the editor as a table. I don't suppose it can do that? Big Grin

But seriously, unless this is fun for you and you don't have anything more important on your plate, I wouldn't want to take up your time with this stuff. 

But maybe the other users would like a button? I can't speak for them.

Thanks again!