Show message based on date user created

More
5 months 3 weeks ago #155483 by blocka
blocka created the topic: Show message based on date user created
I need a way to show a user a message during login, based on a condition around their user account's create date -- basically, to remind them that it has been more than 30 days and they should reset their password.

I'd like to present the message in the same way that an invalid password is presented on the login screen.

Can anyone point me towards a solution?

Please Log in to join the conversation.

More
5 months 2 weeks ago #155520 by holch
holch replied the topic: Show message based on date user created
I think this is rather a question for the developers forum, because from my understanding you would either have to create a plugin for that, or if it is not possible with a plugin, you probably need to "hack" the LS core.

So I'll move this question to the developers forum.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
5 months 2 weeks ago #155642 by DenisChenu
DenisChenu replied the topic: Show message based on date user created
A lot of things to do

1. Create a table to save the datetime of last password change
2. Use afterLoginFormSubmit event to redirect a page dedicated for updating the password after login
3. Create the password update page
4. Disallow all other admin page (beofreControllerAction)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!