Register Members List Search Today's Posts Mark Forums Read

Mod Options
Message auto-save/drafts Details »
Message auto-save/drafts
Mod Version: 0.5, by MoMan (Coder) MoMan is offline
Developer Last Online: Sep 2017 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (8 votes - 5.00 average) Installs: 53
Released: 14 Sep 2011 Last Update: 18 Sep 2011 Downloads: 218
Not Supported Template Edits Additional Files Re-usable Code Is in Beta Stage  

An auto-save feature was recently added to vB4, so I figured it would be nice if we vB3 users could also get something similar

While this this isn't a server-side solution, I think that it's still pretty solid, as it relies on the localStorage system in your browser, which is supported by Safari, FF 3.5+, Opera, Chrome, and IE8+.

I have tested this on FF6, the latest Safari and Chrome, and IE9. I wrote it with IE8 in mind, but haven't tested IE8 as my forum skin doesn't support it (yup, it's a terrible browser).

For now, I am marking this as a beta release until we're sure it works in all browsers that support localStorage and there aren't any outstanding bugs.

Where does this work?
  • Quick reply
  • New reply/New thread
  • PM quick reply
  • New PM
  • PM regular reply
  • Anywhere else you want, given that the page contains a form named "vbform" and a textarea named "message" (or the vbulletin wysiwyg editor)

How does this work?
You can start typing a post, close your browser, open the same page, and the post will still be there. Note that this mod keys data by URL in order to avoid collisions.

The mod automatically and silently restores posts when possible. However, if the editor already contains something when you load the page (i.e. PM quick reply), then you will receive a prompt asking you whether or not you want to work with the recovered text.

This mod works even if you disable the WYSIWYG editor and it will quite likely work with older versions of vB all the way down to 3.5.

Installation is simple.
  1. [1]Download the attached file (or download the file directly and skip step 2)
    [2]Change the extension to .js from .js.txt
    [3]Upload it to your forum's clientscript directory
    [4]Add the following code to the bottom of your forum templates* wherever you want this mod to work:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you don't care about http overhead, you can put this code in your footer template as it will die gracefully on pages without an editor. However, I recommend only putting it in templates that use it. On my forum, I've added it to the following templates: SHOWTHREAD, newreply, newthread, pm_showpm, pm_newpm On top of that, if you don't allow guests to post, wrap the code in a member-only conditional: <if condition="$show['member']">...</if>

*the script tags must be placed after the editor text area element; this doesn't necessarily have to be the very end of the template, although it's good practice to do so

You are free to use, modify, re-post and re-distribute the code as long as you credit me in the script comments. Improvements and derivatives are welcome!

Note: This is a CLIENT-SIDE mod. Please be sure that any issues you may report aren't related to the fact that a. your browser is misconfigured or b. you are using an old/unsupported browser.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Save Drafts (Remember Everything) Updated! why-not vBulletin 3.0 Full Releases 91 12 Feb 2009 14:56
Save Drafts (New Topics, New Reply, PM(s)) Updated March 04, 2005 why-not vBulletin 3.0 Beta Releases 23 06 Mar 2005 20:54

Old 19 Jan 2012, 02:45
MoMan MoMan is offline
Join Date: Oct 2005
Should work fine on 3.7, as it's client-side and I don't think the editor templates were changed.

Admin of - Big-Board
Reply With Quote
Old 03 Feb 2012, 06:20
navarro navarro is offline
Join Date: Jan 2007
it didnt work for me. tried on ff and chrome
Reply With Quote
Old 14 Feb 2012, 08:02
ali_ahr7 ali_ahr7 is offline
Join Date: Feb 2012

i installed it , and doesnt work at all

can u tell me , where can i exactly use this code in my template.

for example its my temp code in showthread:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Old 16 Feb 2012, 06:43
ali_ahr7 ali_ahr7 is offline
Join Date: Feb 2012
excuseme,please answer me,i need the answer !
Reply With Quote
Old 18 Feb 2012, 18:03
BR_Advocate BR_Advocate is offline
Join Date: Mar 2010
Originally Posted by ali_ahr7 View Post
excuseme,please answer me,i need the answer !
Put it at the bottom after $footer
Reply With Quote
Old 19 Feb 2012, 12:02
tommydamic68's Avatar
tommydamic68 tommydamic68 is offline
Join Date: Jan 2009
Does it work?

first, how do you know if it works, i have it installed, went to close browser (safari) in the middle of a post as you said to do and i get this message see attachment. Here is the code i put in all threads you mentioned and i placed the code after &footer in all templates you suggested. Also changed the .txt to .js and uploaded the file to the client script folder. Am i doing something wrong?

Thanks in advanced.

<if condition="$show['member']"><script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_autosave.js"></script></if>
Attached Images
File Type: png Screen shot 2012-02-19 at 6.56.13 AM.png (43.9 KB, 75 views)
Reply With Quote
Old 11 Mar 2012, 12:09
quitsmoking's Avatar
quitsmoking quitsmoking is offline
Join Date: Mar 2006
Location: Egypt
Great mod, thanks. But it doesn't work for me on IE9. Any idea why?
Reply With Quote
Old 09 Jul 2014, 20:22
dknelson dknelson is offline
Join Date: Oct 2004
I as excited about this mod but it doesn't seem to do anything on 3.8.7 PL4

I installed it and get no errors but it just doesn't seem to do anything. Started typing a new thread, saved the URL and then closed the browser. Went to the link that I had save and there was nothing there. Am I misunderstanding how it works and/or how to test it?
Reply With Quote
Old 25 Mar 2016, 23:31
DRIVER1ksa DRIVER1ksa is offline
Join Date: Jun 2012
only firefox
chrom and edge not workin

need more support
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

New To Site? Need Help?

All times are GMT. The time now is 10:33.

Layout Options | Width: Wide Color: