Results 91 to 120 of 287
Thread: Upcoming TABLE Code Changes
-
2014-02-23, 08:01 PM (ISO 8601)
- Join Date
- Dec 2008
- Location
- Malsheem, Nessus
- Gender
Re: Upcoming TABLE Code Changes
So, for anyone who wants it, I whipped up a quick Java program to convert old-style tables to new-style tables. It can turn this:
Code:{table=head]Header 1|Header 2 Item 1|Item 2 Item 3|Item 4[/table]
Code:{table="class:grid"] [tr][th]Header 1[/th][th]Header 2[/th][/tr] [tr][td]Item 1[/td][td]Item 2[/td][/tr] [tr][td]Item 3[/td][td]Item 4[/td][/tr] [/table]
Code:{table="class:grid"] [tr] [th]Header 1[/th] [th]Header 2[/th] [/tr] [tr] [td]Item 1[/td] [td]Item 2[/td] [/tr] [tr] [td]Item 3[/td] [td]Item 4[/td] [/tr] [/table]
Mods, is it okay for me to post a Dropbox link here for people to download it, or should this be handled over PM/email?
-
2014-02-23, 08:27 PM (ISO 8601)
- Join Date
- Sep 2005
- Location
- Australia
- Gender
Re: Upcoming TABLE Code Changes
"My Hobby: Replacing your soap with gravy" by rtg0922, Doll and Clint "Rawhide" Eastwood by Sneak
-
2014-02-23, 11:07 PM (ISO 8601)
- Join Date
- Jan 2012
- Location
- Ruling Mordor
- Gender
Re: Upcoming TABLE Code Changes
dawizard?
Anywho, I cannot wait. Please, Hurry this up, I want eeeeet!
-
2014-02-23, 11:24 PM (ISO 8601)
- Join Date
- May 2012
- Location
- The Algol System
- Gender
Re: Upcoming TABLE Code Changes
Avatar by FinnLassie
A few odds and ends.
-
2014-02-24, 12:49 AM (ISO 8601)
- Join Date
- Jun 2004
- Location
- Lincoln, RI
- Gender
Re: Upcoming TABLE Code Changes
Here is a bit about that.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.- Benjamin Franklin
I disapprove of what you say, but I will defend to the death your right to say it. -Evelyn Beatrice Hall
-
2014-02-24, 05:44 AM (ISO 8601)
- Join Date
- Sep 2005
- Location
- Australia
- Gender
Re: Upcoming TABLE Code Changes
We will not be endorsing any such scripts due to the risk of developer abuse. If you wish to make it available, I suggest you make the code open source and upload it somewhere like github. Then, multiple members of the community will be able to see if the code is safe.
P.S. For proper formatting, the spaced out option should tab intent the TD (and TH) cells.
Also linked in the first post.
"My Hobby: Replacing your soap with gravy" by rtg0922, Doll and Clint "Rawhide" Eastwood by Sneak
-
2014-02-24, 10:58 AM (ISO 8601)
- Join Date
- Jun 2004
- Location
- Lincoln, RI
- Gender
Re: Upcoming TABLE Code Changes
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.- Benjamin Franklin
I disapprove of what you say, but I will defend to the death your right to say it. -Evelyn Beatrice Hall
-
2014-03-08, 12:27 PM (ISO 8601)
- Join Date
- Oct 2010
- Location
- Here and there.
- Gender
Re: Upcoming TABLE Code Changes
Hellllooooo.
I'll update it eventually. Probably around a month after the change once I fully understand it and it seems necessary.
I've worked with these kinds of tables already on other sites, and while I generally dislike them and have always wished other tables worked like what GITP had due to it's intuitive nature, I get how they work and after playing with the tables I can fix the tablemaking tutorial and presets.
I'm very disappointed with the change though. For the reasons I said, the table system we have now is intuitive and anyone can use it really, with my tutorial just sort of reaffirming what someone could guess giving it a try on their own and showing them a trick or two they wouldn't naturally stumble across to help the tables look nicer in one way or another.
One thing is for sure, I'll definitely see if I can fix my presets. Since I imagine a LOT of people wont want to work with the tables after the update. So they could just plug a preset table in and edit the text.
Edit: That probably didn't look promising if you read that while my signature was failing >,..,>Last edited by Cipher Stars; 2014-03-08 at 05:45 PM.
-
2014-03-09, 05:18 PM (ISO 8601)
- Join Date
- Feb 2011
Re: Upcoming TABLE Code Changes
Originally Posted by Cipherthe3vil
For the reasons I said, the table system we have now is intuitive and anyone can use it really, with my tutorial just sort of reaffirming what someone could guess giving it a try on their own and showing them a trick or two they wouldn't naturally stumble across to help the tables look nicer in one way or another.
And I may be relying on your table presets with the new system, too.
-
2014-03-09, 09:43 PM (ISO 8601)
- Join Date
- Oct 2010
- Location
- Here and there.
- Gender
Re: Upcoming TABLE Code Changes
Thanks for the kind words. Not everything comes easily to everyone, I didn't mean to be so generalizing in my statement. I didn't fully think the subject through. But that's what I made the topic for, to make it so anyone can use tables and join the homebrewing community when they otherwise might not have.
-
2014-03-10, 12:43 AM (ISO 8601)
- Join Date
- Jan 2009
- Location
- Auckland
- Gender
Re: Upcoming TABLE Code Changes
So when are the table changes scheduled to occur?
President and founder of the "Jonathan Harker Was The True Hero of Dracula" Fan club.
To join, you may either add J.H.W.T.T.H.O.D to your sig or modify the sig above.
(Avatar darkwizard.png by Teutonic Knight.)
-
2014-03-10, 03:54 AM (ISO 8601)
- Join Date
- Sep 2005
- Location
- Australia
- Gender
-
2014-03-10, 08:19 AM (ISO 8601)
- Join Date
- Jan 2012
- Location
- Secret Lair on Sol c
- Gender
Re: Upcoming TABLE Code Changes
when are the forum upgrades scheduled to occur then?
-
2014-03-10, 09:18 AM (ISO 8601)
- Join Date
- Feb 2012
- Location
- Germany
Re: Upcoming TABLE Code Changes
Problems with [table]?
All you want to know about [table]!The Order of the Stick
Kickstarter Reward Collection
Last updated: 2016/08/09, containing:
9 Crayon Drawings | 21 Stick its | 47 Signature Doodles
Custom Avatar made by the Giant.
Thanks!
-
2014-03-10, 09:44 AM (ISO 8601)
- Join Date
- Jan 2004
- Location
- Bensalem, PA
- Gender
Re: Upcoming TABLE Code Changes
Some time in the future.
*
As for the tables themselves: I've done some playing around. I don't find them too terribly difficult to work with once you get used to it. If you plan to work entirely in the WYSIWYG editor, it's really simple, actually. Couple clicks, fill in some numbers for number of rows and columns, and there's you're table - with the ability to easily add new rows/columns etc.
Even in text mode (like making a post here now) once you get the hang of it, it's pretty easy - though it does require more tags. Being able to use white space (for example, being able to put each cell on its own line) is a huge help for me.John Ling
Frog God Games Lead Pathfinder Developer
Note: unless explicitly stated otherwise, opinions in my posts are my own and not those of Frog God Games.
-
2014-03-13, 06:19 AM (ISO 8601)
- Join Date
- May 2011
Re: Upcoming TABLE Code Changes
After all the time I spent turning a pair of Custom Bloodlines I made on another site, into a working table here, and it's going back to how I had it?
Ugh. If I weren't always so angry, I'd accept the amount of time wasted without complaining. This is me complaining btw.
-
2014-03-13, 08:44 AM (ISO 8601)
- Join Date
- Jun 2013
- Gender
-
2014-03-13, 08:49 AM (ISO 8601)
- Join Date
- May 2012
- Location
- Aldain
- Gender
Re: Upcoming TABLE Code Changes
Last edited by TheWombatOfDoom; 2014-03-13 at 08:49 AM.
Scientific Name: Wombous apocolypticus | Diet: Apocolypse Pie | Cuddly: Yes
World Building Projects:
Magic: The Stuff of Sentience | Fate: The Fabric of Physics | Luck: The Basis of Biology
Order of the Stick Projects:
Annotation of the Comic | Magic Compendium of the Comic | Transcription of the Comic
Dad-a-chum? Dum-a-chum? Ded-a-chek? Did-a-chick?
Extended Signature | My DeviantArt | Majora's Mask Point Race
(you can't take the sky from me)
-
2014-03-13, 10:33 PM (ISO 8601)
- Join Date
- Dec 2006
- Location
- In the shadows
- Gender
-
2014-03-13, 11:52 PM (ISO 8601)
- Join Date
- May 2012
- Location
- California
- Gender
Re: Upcoming TABLE Code Changes
-
2014-03-14, 03:01 AM (ISO 8601)
- Join Date
- Dec 2006
- Location
- In the shadows
- Gender
Re: Upcoming TABLE Code Changes
Playground Squares? Ha! I have tables everywhere, including two small schedule tables in post two and two huge ones in post 8 of the Werewolf Central OP.
I'm just hoping that it'll be a lot easier than it's sounding. If it's anything like Myth-Weavers tables, I'm certain to not be happy. For a little while at least.
-
2014-03-14, 07:38 AM (ISO 8601)
- Join Date
- Feb 2012
- Location
- Germany
Re: Upcoming TABLE Code Changes
I can't say if it will be easy for you or not. But if you have a basic table without any fancy stuff (the most critical being presumably spanning columns), then it should be rather easy.
Basically you only need to replace your newlines with " [/TD][/TR][TR][TD] " and your " | " with " [/TD][TD] " and start the table with "{TABLE="class:grid"][TR][TD] " and close it with " [/TD][/TR][/TABLE] ". And while that looks maybe rather horrifying for some, Rawhide said that there will be a editor tool that will help you with creating tables. So you shouldn't need to worry about remember that stuff any time soon. You basically should only need it if you don't want to use the editor or maybe if you're trying to do more fancy stuff than the editor provides. But this case is true even with the current table version.
If your table is a an easy to change one, these changes are rather easy to apply with search & replace and copy/paste stuff a basic text editor should offer. So the best approach to update a table is copy the table code to a text editor, replace those stuff and see if it works (and than try to fix or if you think you can't fix it somehow to use the table editor to and copy the content of the table. Or ask others forumites nicely if they can do for you, especially if they participating in that thread.) But since it doesn't need to work that easy with more complicated tables (e.g. I'm not sure if that approach would work with nested tables. And since there is no option for spanning columns [at least right now] there is just no way to port that directly.)
It doesn't even matter if you do some linebreaks or other whitespace between cell tags any more, so you can put each table cell in a separate line if you want. Or if you want you could put your entire table in one line. You can use whitespace between table cells/rows however you like. There is only a switch of the delimiter used (+ a small change of available options/renaming some of the carried over options). Others have said that there even should be a TH tag that can be used instead of TD to represent a table header cell. [Which also should be equally valid to be used in any row or only for certain cells in a single row. But I'm not 100% certain on that, so don't get mad at me if it doesn't work.] The ="class:grid" isn't strictly required, but is needed if you want a table grid (like it is the current default. In fact you actually gain the ability to do tables without a grid if you prefer.)
[As for "Myth-Weavers tables": I found a quick tutorial on their Wiki, and it uses a different code. For example you will not need to specify which table row/column a certain TD tag is or specify how many rows/columns your table will have at the beginning. Though I have to say the option to specify for each cell which row/column it is can enable quite neat stuff, since you aren't forced to have the same order in your post as you want in your table. Though for forum usage it is most likely overkill.]
Also I just thought that the boarder-less table could allow some fun stuff with signatures, since it could be a workaround to have some left-centered stuff and right centered stuff in the same line [The more I think about this change the more I like it! ]
Problems with [table]?
All you want to know about [table]!The Order of the Stick
Kickstarter Reward Collection
Last updated: 2016/08/09, containing:
9 Crayon Drawings | 21 Stick its | 47 Signature Doodles
Custom Avatar made by the Giant.
Thanks!
-
2014-03-14, 08:57 AM (ISO 8601)
- Join Date
- Dec 2006
- Location
- In the shadows
- Gender
-
2014-03-14, 10:02 AM (ISO 8601)
- Join Date
- Jan 2004
- Location
- Bensalem, PA
- Gender
Re: Upcoming TABLE Code Changes
I think a chunk of fixing old ones can be done "manually" via search/replace processes. If you use MS Word, you can use "^p" (without the quotes) to find the newline characters Christian mentioned. So then you're search / replace commands would be:
^p --> [/TD][/TR][TR][TD]
| --> [/TD][TD]
{table] (or {table=head])--> {table="class:grid"][TR][TD]
[/table] --> [/TD][/TR][/table]
I think that would cover most of it, barring lots of column spanning and such.
When I was playing around with it a few weeks ago, I found the interface to be very similar to creating a table in Word, actually. You press the button, you get promted for some details including how many columns and how many rows. You can add new columns and rows via buttons on the toolbar; you can also add a new row to the end of the table (I believe) by presing tab while in the last cell.
If you were to opt to go with text-mod input (like what we have here), you have the benefit of being able to cells from a row on multiple lines of input. For example:
Code:{table="class:grid"] [TR] [TD]Cell One[/TD] [TD]Cell Two[/TD] [/TR] [TR] [TD]Row two, Cell one[/TD] [TD]Row two, Cell two[/TD] [/TR] [TR] [TD]Row three ... and, hey! look! I can now have a cell that spans rows just by hitting my return key! Woohoo! *high fives everybody in the thread*[/TD] [TD]*takes a deep breath and calms down* [/TR] [/table]
John Ling
Frog God Games Lead Pathfinder Developer
Note: unless explicitly stated otherwise, opinions in my posts are my own and not those of Frog God Games.
-
2014-03-15, 01:16 PM (ISO 8601)
- Join Date
- Oct 2009
- Location
- Central Florida, USA
- Gender
Re: Upcoming TABLE Code Changes
So, switching from a straightforwards and well working format to something that makes me take screencaps of the tables to avoid the hassle?
Alright, I guess... Gonna go rev up my screencap engine...Avatar by Ceika.
Steam account. Add me to argue aboutphilosophywhatever!
Advertized Homebrew: Fire Emblem 4's Holy Blood as Bloodlines
Extended Signature.
Using a different color of text for sarcasm is so original.
-
2014-03-15, 01:56 PM (ISO 8601)
- Join Date
- Feb 2012
- Location
- Germany
Re: Upcoming TABLE Code Changes
As Rawhide said it wasn't possible to keep the old table function/syntax while upgrading the forum.
Since from what I heard the forum upgrade might have some really good stuff in store (possible return of the search function or return of the polls are two things I have heard), I think it is a good choice anyway.
Also I really like the new syntax (using whitespace as delimiter for rows is imo just really bad), so I would even like this f it is the only change that will happen.
Also since a graphical interface for table generation is announced, you should see whether that will make it easier for you.
@Zherog: In your "demonstration" table you said "I can now have a cell that spans rows just by hitting my return key!". I think you probably mean "multiple lines" (or something saying that you can have linebreaks inside table cells easily - which is also a nice bonus we will get ), but spanning rows/columns is not a thing that is going to happen right now [at least that is what Rawhide has said].t
Problems with [table]?
All you want to know about [table]!The Order of the Stick
Kickstarter Reward Collection
Last updated: 2016/08/09, containing:
9 Crayon Drawings | 21 Stick its | 47 Signature Doodles
Custom Avatar made by the Giant.
Thanks!
-
2014-03-15, 02:58 PM (ISO 8601)
- Join Date
- Oct 2009
- Location
- Central Florida, USA
- Gender
Re: Upcoming TABLE Code Changes
I know, I know. Still doesn't mean I don't want it to stay how it is.
Also since a graphical interface for table generation is announced, you should see whether that will make it easier for you.
My usual method is "Copy table, copy new malformated table back, replace [Tab-spaces] with |, copy it BACK, slap on the tags.", so if it makes it simpler than that, I guess I can live with it.
Otherwise, I'm probably gonna go make some .pngs of my tables and link 'em.Avatar by Ceika.
Steam account. Add me to argue aboutphilosophywhatever!
Advertized Homebrew: Fire Emblem 4's Holy Blood as Bloodlines
Extended Signature.
Using a different color of text for sarcasm is so original.
-
2014-03-15, 05:23 PM (ISO 8601)
- Join Date
- Feb 2012
- Location
- Germany
Re: Upcoming TABLE Code Changes
I don't know how this graphical editor will work, so I can't say that.
But what I say you can still use the same approach. As Zherog and I have said, you simple need to replace the kind of delimiters.
So instead of replacing "\t" (tab) with "|" you need to replace it with "[/TD][TD]" and you need to replace "\n" (newline) with "[/TD][/TR][TR][TD]" and use "{table="class:grid"][TR][TD]" to begin and "[/TD][/TR][/table]" to end your table.
You can (and imo should) use newlines before you open a new cell/row and indent cells, but you don't need to if you don't want. Obviously you shouldn't replace newlines outside the table code.
Yes, it is a bit more complicated (and maybe some people will say it is harder to remember), but especially if you do basically some kind of Search&Replace anyway, it shouldn't be hard to replace it with different stuff instead.
Problems with [table]?
All you want to know about [table]!The Order of the Stick
Kickstarter Reward Collection
Last updated: 2016/08/09, containing:
9 Crayon Drawings | 21 Stick its | 47 Signature Doodles
Custom Avatar made by the Giant.
Thanks!
-
2014-03-17, 09:36 AM (ISO 8601)
- Join Date
- Jan 2004
- Location
- Bensalem, PA
- Gender
-
2014-03-18, 12:04 AM (ISO 8601)
- Join Date
- Jan 2012
- Location
- Ruling Mordor
- Gender
Re: Upcoming TABLE Code Changes
So...do...we have a date for this switch?