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
  • blocka's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 10 months ago #155483 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?
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 10 months ago #155520 by holch
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.

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
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 10 months ago #155642 by DenisChenu
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)

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.

Lime-years ahead

Online-surveys for every purse and purpose