Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Disabling draft auto-saves
Mikhael
New
Is it possible to disable the Draft auto-save? I don't need or want it, and know that some users will find it confusing that a message pops up saying stuff was saved when they didn't ask for it. (Apologies if this has already been covered, but searching didn't give me an answer).
3
Comments
I've noticed that some people just say, "I noticed it auto-saving my text, which is neat", while others say, "Why is it doing things I didn't tell it to? Am I missing something important that I should have set?" I use various packages for different sites, and making everything plain and simple is usually the largest part of my work, as is convincing people that "it really is simple ... honest!"
Any pointers as to where to look first to disable Draft auto-saves..?
<?php if (!defined('APPLICATION')) exit(); /* GNU GPL bit here. */ $PluginInfo['DisableAutosave'] = array( 'Name' => 'Disable Autosave', 'Description' => "Stops auto-saving of Draft posts.", 'Version' => '1.0', 'Author' => 'Mikhael' ); function PostController_Render_Before($Sender) { $this->RemoveJsFile('autosave.js'); } function DiscussionController_Render_Before($Sender) { $this->RemoveJsFile('autosave.js'); }
It seems to work ok, but I'm concerned that it's overriding hiding core functionality. I tried setting up a class to extend Garden functions, but it turned into a bit of a nightmare. Any advice gratefully received.
@Todd; Any idea why the dev docs say, "An indent is 3 spaces, never a tab"? That adds 3 times the characters to every indent, which is a lot of extra junk when it's all a added up. And the Minify plugin causes some pages to display naked and nasty, so that's no help it seems...
The developers decided on spaces instead of tabs as the coding standard. It just comes down to personal preference.
What is the plugin?
In my case, auto saves makes that comments, in Internet explorer, can't work well. When you spend time write your comment and the auto save work, the write comment button appears disabled and can't write a comment.
It is really annoying for users
Umm in my case it doesn't work. The problem with Internet explorer continue. Furthemore when I write a comment with explorer, appears an navigation error with this message:
error in disscusion.js in line 89, character 13
and the message isn't it published.
Someone more had this problem?
My Vanilla version is 2.0.
Yes, version 2.0 and the IE version is 8
Vanilla Forums COO [GitHub, Twitter, About.me]
On the other hand, it's not causing any adverse effects either so overall it's not a problem.