Holy Worlds Christian Forum
https://archive.holyworlds.org/

Post Auto-save feature?
https://archive.holyworlds.org/viewtopic.php?f=37&t=6203
Page 1 of 1

Author:  Evening L. Aspen [ May 4th, 2012, 8:38 pm ]
Post subject:  Post Auto-save feature?

After accidentally closing windows on a post-in-progress three times this afternoon, I got to wondering if it could be possible to have an auto-save feature for forum posts. I don't know anything about programming so I don't know how difficult this would be to instate...just throwing the idea out there. It would sure be a benefit for chronic post-losers like me! :P

Author:  Jay Lakewood [ May 4th, 2012, 10:09 pm ]
Post subject:  Re: Post Auto-save feature?

At its current state, posting auto save is limited to the cache that your browser saves for the page. It is highly possible though, and maybe quickly attained. :)

Author:  Lady Eruwaedhiel [ May 6th, 2012, 8:02 pm ]
Post subject:  Re: Post Auto-save feature?

Sometimes if I accidentally hit a link or something I can just hit the back button and the post will still be there. Only sometimes, though. Don't know if that would help; I'm not sure if "unclosing" the tab would work that way.

Upon investigation, it does, in Firefox. *scratches head*

Author:  kingjon [ May 6th, 2012, 10:56 pm ]
Post subject:  Re: Post Auto-save feature?

There is a "save" [draft] feature already; it might be possible to automatically trigger it (or, preferably, ask if you want to trigger it) after a period of inactivity. (Someone with more JavaScript experience than I might even be able to write a GreaseMonkey script to do this, and you might want to search the library of existing scripts for one, since phpBB is a very common blog platform.)

I've noticed that the browser objects (with an "are you sure?" confirmation dialog) when I try to close a tab with unsaved "form data" on some sites. I don't know what triggers this, but it might be possible to leverage this to warn about closing tabs with HW posts in progress.

Author:  AzlynRose [ May 7th, 2012, 10:22 am ]
Post subject:  Re: Post Auto-save feature?

This looks like it could be a very handy feature. I lose posts all the time. :P

Author:  Danko Sandai [ May 7th, 2012, 11:01 am ]
Post subject:  Re: Post Auto-save feature?

As Aliza says, It would be handy, and I lose my posts all the time.

Author:  Evening L. Aspen [ May 7th, 2012, 12:02 pm ]
Post subject:  Re: Post Auto-save feature?

E, I tried doing that in Chrome (closing and then reopening a tab of a post in progress) and it didn't work for me. However, I do remember it working in Safari exactly as you described.

That's a really good idea, Kingjon, to have a pop-up that warns the user before closing a tab with a post in progress. Seems like it might be easier than setting up an auto-save feature...my question with the auto-saved drafts is, where would they go? Would they go with all other saved drafts?

Author:  kingjon [ May 7th, 2012, 12:52 pm ]
Post subject:  Re: Post Auto-save feature?

Lady Eva Mimetes wrote:
E, I tried doing that in Chrome (closing and then reopening a tab of a post in progress) and it didn't work for me. However, I do remember it working in Safari exactly as you described.

That reminds me: I do kno that there are Chrome and Firefox extensions (the name I remember for a Firefox one is "Lazarus", I think) that "remember" text box contents like that for you, even past a browser restart.

Lady Eva Mimetes wrote:
That's a really good idea, Kingjon, to have a pop-up that warns the user before closing a tab with a post in progress. Seems like it might be easier than setting up an auto-save feature...

When I've seen the "unsaved form data" warning, it's been clearly a browser feature, triggered by something about the page in question. As I have no idea whatsoever what makes some sites trigger it and some sites not, I have my doubts on how easy it might turn out to be to implement.
Lady Eva Mimetes wrote:
my question with the auto-saved drafts is, where would they go? Would they go with all other saved drafts?

If it's implemented client-side (as a Greasemonkey script, for example) I expet they would go with other saved drafts, while if it were implemented on the server side they could be sent to a special folder for "auto-saves." (This is a detail that would not have occurred to me, since my "saved drafts" folder is nearly always empty.)

Author:  Andrew Amnon Mimetes [ June 22nd, 2012, 11:53 pm ]
Post subject:  Re: Post Auto-save feature?

I'm filing this stuff away in my head, y'all - I'll see what I can do, but no guarantees. Meantime, this thread can be locked/archived :)

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/