inherit
247374
0
Jul 10, 2024 22:59:03 GMT -8
nuraman00
144
July 2017
nuraman00
|
Post by nuraman00 on Sept 5, 2017 15:59:42 GMT -8
Is there a plugin which can cache and restore posts within a thread that were lost due to a browser cache or server error when submitting the post?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Sept 5, 2017 16:03:27 GMT -8
Hi, nuraman00. Enabling drafts in Profile > Edit Profile > Settings is meant to serve this purpose. The post you're currently composing is periodically saved to your browser's local storage and you're prompted to restore it if you return to the same posting page you were on.
|
|
inherit
247374
0
Jul 10, 2024 22:59:03 GMT -8
nuraman00
144
July 2017
nuraman00
|
Post by nuraman00 on Sept 5, 2017 16:05:29 GMT -8
I see it now. I wish it hadn't been disabled by default.
As I lost a post that took me 20-30 mins to type during the web server outage earlier today.
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Sept 5, 2017 16:13:11 GMT -8
nuraman00 , Chris provided a script to put in your Global Header that will enable draft saving by default for you and your members. We have it on our forum and it works great.
<!-- Force Proboards Autosave to "on" --> <script> (function () { if (!pb.data('enable_autosave') || !pb.data('type')) { pb.data('enable_autosave', 1) if (pb.data('proboards.message')) { pb.data('type', 6) } if (pb.data('proboards.post')) { pb.data('type', 3) } if ("visualHtml" in proboards.dataHash || "bbcode_message" in proboards.dataHash) { switch (pb.data('route').name) { case "quote_messages": case "new_message": pb.data('type', 5); break; case "new_conversation": pb.data('type', 4); break; case "quote_posts": case "new_post": pb.data('type', 2); break; case "new_thread": pb.data('type', 1); break; } } } })()
</script>
|
|
inherit
247374
0
Jul 10, 2024 22:59:03 GMT -8
nuraman00
144
July 2017
nuraman00
|
Post by nuraman00 on Sept 5, 2017 18:30:48 GMT -8
nuraman00 , Chris provided a script to put in your Global Header that will enable draft saving by default for you and your members. We have it on our forum and it works great.
<!-- Force Proboards Autosave to "on" --> <script> (function () { if (!pb.data('enable_autosave') || !pb.data('type')) { pb.data('enable_autosave', 1) if (pb.data('proboards.message')) { pb.data('type', 6) } if (pb.data('proboards.post')) { pb.data('type', 3) } if ("visualHtml" in proboards.dataHash || "bbcode_message" in proboards.dataHash) { switch (pb.data('route').name) { case "quote_messages": case "new_message": pb.data('type', 5); break; case "new_conversation": pb.data('type', 4); break; case "quote_posts": case "new_post": pb.data('type', 2); break; case "new_thread": pb.data('type', 1); break; } } } })()
</script> Thanks. I'll ask the members of my forum if they want this by default, then enable it if enough say so.
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Sept 5, 2017 18:45:53 GMT -8
Thanks. I'll ask the members of my forum if they want this by default, then enable it if enough say so. Sure. But as you said above, "I wish it hadn't been disabled by default."
It's why I chose to add it. It's better to have it enabled by default than not. Most members don't even know it's there until it's needed and it's too late.
|
|
inherit
247374
0
Jul 10, 2024 22:59:03 GMT -8
nuraman00
144
July 2017
nuraman00
|
Post by nuraman00 on Sept 6, 2017 9:26:54 GMT -8
nuraman00 , Chris provided a script to put in your Global Header that will enable draft saving by default for you and your members. We have it on our forum and it works great.
<!-- Force Proboards Autosave to "on" --> <script> (function () { if (!pb.data('enable_autosave') || !pb.data('type')) { pb.data('enable_autosave', 1) if (pb.data('proboards.message')) { pb.data('type', 6) } if (pb.data('proboards.post')) { pb.data('type', 3) } if ("visualHtml" in proboards.dataHash || "bbcode_message" in proboards.dataHash) { switch (pb.data('route').name) { case "quote_messages": case "new_message": pb.data('type', 5); break; case "new_conversation": pb.data('type', 4); break; case "quote_posts": case "new_post": pb.data('type', 2); break; case "new_thread": pb.data('type', 1); break; } } } })()
</script> How do I get to the global header? Is that the same as "Forum Wrapper"? And does it go in the head or the body?
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,530
August 2015
socalso
|
Post by Scott on Sept 6, 2017 9:33:00 GMT -8
nuraman00, Go to Admin > Structure > Headers & Footers.
|
|