Login | Register







Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: Post Auto-save feature?
PostPosted: May 4th, 2012, 8:38 pm 
Foundational Member
Foundational Member
User avatar

Joined: December 2nd, 2009, 11:01 pm
Posts: 1461
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


Top
 Offline Profile  
 
 Post subject: Re: Post Auto-save feature?
PostPosted: May 4th, 2012, 10:09 pm 
Foundational Member
Foundational Member
User avatar

Joined: February 13th, 2012, 9:47 pm
Posts: 738
Location: Umm...
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. :)

_________________
- Jay Lakewood

Visit my website on writing!

Current Works:
Master of Iron: Plot Development


Top
 Offline Profile  
 
 Post subject: Re: Post Auto-save feature?
PostPosted: May 6th, 2012, 8:02 pm 
Moderator
Moderator
User avatar

Joined: November 16th, 2009, 9:13 pm
Posts: 2045
Location: Eniret
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*

_________________
2 Corinthians 3:17 ~ Now the Lord is that Spirit: and where the Spirit of the Lord is, there is liberty.

eleutheria - Greek for liberty

My blog:
http://exhortationsbyelizabeth.blogspot.com
A fan of my book?
http://facebook.com/wingstrilogy/


Top
 Offline Profile  
 
 Post subject: Re: Post Auto-save feature?
PostPosted: May 6th, 2012, 10:56 pm 
Moderator
Moderator
User avatar

Joined: June 21st, 2011, 1:27 pm
Posts: 1408
Location: Southeast MI
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.

_________________
Originally inspired to write by reading C.S. Lewis, but can be as perfectionist as Tolkien or as obscure as Charles Williams.

Author of A Year in Verse, a self-published collection of poetry: available in paperback and on Kindle; a second collection forthcoming in 2022 or 2023, God willing (betas wanted!).

Creator of the Shine Cycle, an expansive fantasy planned series, spanning over two centuries of an imagined world's history, several universes (including various alternate histories and our own future), and the stories of dozens of characters (many from our world).

Developer of Strategic Primer, a strategy/simulation game played by email; currently in a redesign phase after the ending of "the current campaign" in 2022.

Read my blog!


Top
 Offline Profile  
 
 Post subject: Re: Post Auto-save feature?
PostPosted: May 7th, 2012, 10:22 am 
Foundational Member
Foundational Member
User avatar

Joined: July 24th, 2011, 11:21 pm
Posts: 3255
Location: The wide open prairies under a cloudless blue sky
This looks like it could be a very handy feature. I lose posts all the time. :P

_________________
~AzlynRose~

Devote yourselves to prayer so that your conversations may be full of grace
and seasoned with salt, with the purpose of glorifying Christ Jesus in everything.


Top
 Offline Profile  
 
 Post subject: Re: Post Auto-save feature?
PostPosted: May 7th, 2012, 11:01 am 
Writer
Writer
User avatar

Joined: October 17th, 2011, 5:50 pm
Posts: 544
Location: Over the rainbow.
As Aliza says, It would be handy, and I lose my posts all the time.

_________________
I guess my knight is dead. Poor Sir Chocolate. -Princess Chocolate


In the end we're all just memories. So make sure people remember you as a good one, and not a foul one.


Top
 Offline Profile  
 
 Post subject: Re: Post Auto-save feature?
PostPosted: May 7th, 2012, 12:02 pm 
Foundational Member
Foundational Member
User avatar

Joined: December 2nd, 2009, 11:01 pm
Posts: 1461
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?


Top
 Offline Profile  
 
 Post subject: Re: Post Auto-save feature?
PostPosted: May 7th, 2012, 12:52 pm 
Moderator
Moderator
User avatar

Joined: June 21st, 2011, 1:27 pm
Posts: 1408
Location: Southeast MI
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.)

_________________
Originally inspired to write by reading C.S. Lewis, but can be as perfectionist as Tolkien or as obscure as Charles Williams.

Author of A Year in Verse, a self-published collection of poetry: available in paperback and on Kindle; a second collection forthcoming in 2022 or 2023, God willing (betas wanted!).

Creator of the Shine Cycle, an expansive fantasy planned series, spanning over two centuries of an imagined world's history, several universes (including various alternate histories and our own future), and the stories of dozens of characters (many from our world).

Developer of Strategic Primer, a strategy/simulation game played by email; currently in a redesign phase after the ending of "the current campaign" in 2022.

Read my blog!


Top
 Offline Profile  
 
 Post subject: Re: Post Auto-save feature?
PostPosted: June 22nd, 2012, 11:53 pm 
Grease Monkeys
Grease Monkeys
User avatar

Joined: May 14th, 2010, 4:43 am
Posts: 4458
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 :)

_________________
I am a dreamer of big dreams: a student of wisdom, a reader of books, and a crafter of words. I am a servant of my Master who has rescued me. I am an adventurer, living my life to the fullest. Will you join me on this wild journey?


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron