Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Community builder Backend Password reminder plugin while enabling user

10 years 3 weeks ago - 10 years 3 weeks ago #253799 by Citizen3942
Hi,
I want to create a plugin which enables me to send new password for a user when I enable the user in database.
So when the admin goes to "showusers" page and there is a column "Enabled" and when he clicks on the "red cross" - enabling the user, the plugin should activate and generate new password and e-mail it to the user currently being activated.
The plugin should have parameters for setting the mail message layout and also password generation parameters.
II have started coding it but I guess I am getting it all wrong. Maybe you guys can help me out with that?
Here is my plugin code: pastebin.com/T7nxZt5T

EDIT:
The code I posted here was never going to work in most of it so I made a new code and I managed to get mine working now.
Now, when I enable a user in users list then an email will be sent to the user with username and new password.
Last edit: 10 years 3 weeks ago by Citizen3942.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum