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).
Comments
Vanilla co-founder
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..?
public function PostController_Render_Before($Sender) {
$this->RemoveJsFile('autosave.js');
}
public function DiscussionController_Render_Before($Sender) {
$this->RemoveJsFile('autosave.js');
}
Vanilla co-founder
<?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.
Vanilla developer [GitHub, Twitter]
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.
Vanilla co-founder
Yes, version 2.0 and the IE version is 8
Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
Vanilla developer [GitHub, Twitter]
On the other hand, it's not causing any adverse effects either so overall it's not a problem.
@Lykaon; What browser are you using?
Problem with IE8 continue. Is imposible write a comment in the forum without have to reload the site.
In one minute that you have start to write the comment, the auto saved work, and button post answer appears disable.
Now I am writting in this forum with IE 8 and the auto saved works well.
It isn't only my case, because the users of my foro have the same problem.
If you want, my forum is www.bolsacafe.com.
Thank you very much
Edit; @tonip392; I'm on Vanilla 2.0.3. Just tried IE8 in 'Compatability mode' and the same thing happens; the Disable Autosave plugin has no effect, drafts are still auto-saved, but comment posting works fine.
And you use 2.0 version too?
I think that post problems start at the first moment. I don't know if the cause is an addon.
Here works very well both
I hope that @Todd will have a minute for this problem :)
I will be waiting!
Thanks again!