Poll: Automatically preserve in progress form data when logging in
You do not have permission to vote in this poll.
Potentially useful
100.00%
3 100.00%
Not likely useful
0%
0 0%
Total 3 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Feature Solve data loss with wrong login sequence issue
#1
Not sure if this is the right place to make a request?

I would like to see a solution to the long standing problem whereby anybody composing a post to a forum they are registered users of, but who happen to not yet be logged in, will unwittingly lose that work once they do attempt to log in - typically when it comes time to submit the post they have been labouring over (quite possibly this will be the point at which they first realise they were not already logged in - perhaps because they had cleared browser cookies for some reason recently).
Paul King
MyBB version: 1.8.21
Forum: www.nzarchitecture.net.nz
Webpage: www.prime.net.nz
Reply
#2
I think a simpler solution would be something like a warning window box that pops up telling the user that they are not logged in.

That way the user doesn't waste a lot of time doing a post only to find out that it will not be retained because he/she didn't realize that they were not logged on.
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: y3xr3cj5]
Reply
#3
(09-29-2019, 02:10 AM)Serpius Wrote: I think a simpler solution would be something like a warning window box that pops up telling the user that they are not logged in.

Modals should not be used to display login issues. A banner would work better; it’s there and won’t screw with the user experience.
[Image: kAhpvOW.png]
Reply
#4
(09-29-2019, 05:08 AM)Ben Cousins Wrote:
(09-29-2019, 02:10 AM)Serpius Wrote: I think a simpler solution would be something like a warning window box that pops up telling the user that they are not logged in.

Modals should not be used to display login issues. A banner would work better; it’s there and won’t screw with the user experience.

A banner would only show up if the user is not logged onto the website.

If he/she is logged in, then the banner would not show up.

Would a plugin work in this manner?
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: y3xr3cj5]
Reply
#5
(09-29-2019, 01:14 PM)Serpius Wrote:
(09-29-2019, 05:08 AM)Ben Cousins Wrote:
(09-29-2019, 02:10 AM)Serpius Wrote: I think a simpler solution would be something like a warning window box that pops up telling the user that they are not logged in.

Modals should not be used to display login issues. A banner would work better; it’s there and won’t screw with the user experience.

A banner would only show up if the user is not logged onto the website.

If he/she is logged in, then the banner would not show up.

Would a plugin work in this manner?

Correct. Banner would only display errors.

If you’re dealing with errors, this should be inbuilt into MyBB, and you should be able to leverage it with template edits. I’d advocate against unnecessary and redundant plugins.
[Image: kAhpvOW.png]
Reply
#6
The best way to solve this is to store the reply in localstorage. As long as they don't clear their entire browser data it should work nicely.
No longer involved in the MyBB project.
Reply
#7
(09-30-2019, 02:04 AM)Nathan Malcolm Wrote: The best way to solve this is to store the reply in localstorage. As long as they don't clear their entire browser data it should work nicely.

Ah, yes; had forgotten about LocalStorage.
[Image: kAhpvOW.png]
Reply
#8
(09-30-2019, 02:04 AM)Nathan Malcolm Wrote: The best way to solve this is to store the reply in localstorage. As long as they don't clear their entire browser data it should work nicely.
Yep, that should work so long as the user has JS enabled. The other option is to store it in the session.
Reply
#9
(09-30-2019, 07:05 PM)Euan T Wrote:
(09-30-2019, 02:04 AM)Nathan Malcolm Wrote: The best way to solve this is to store the reply in localstorage. As long as they don't clear their entire browser data it should work nicely.
Yep, that should work so long as the user has JS enabled. The other option is to store it in the session.

It would require JS either way so considering the data hasn't been sent to the server at this point it's better to just let the client handle it.
No longer involved in the MyBB project.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)