- Posts: 409
- Thank you received: 34
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Show message based on date user created
- blocka
- Topic Author
- Offline
- Platinum Member
Less
More
6 years 9 months ago #155483
by blocka
Show message based on date user created was created by blocka
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?
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?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
6 years 9 months ago #155520
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on 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.
So I'll move this question to the developers forum.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13912
- Thank you received: 2549
6 years 9 months ago #155642
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on 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)
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 , plugin development .
I don't answer to private message.
The topic has been locked.