Skip to Content Skip to Menu

new confirmation after e-mail is changed

  • mbauer
  • mbauer
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
13 years 2 months ago #174011 by mbauer
Hi there,

I'm using CB 1.3.1 and also installed the CB notifier plug in that automatically sends a notification message to the user or/and admin when selected userdetails were changed, e.g. the user's e-mail address.

My challenge is now not only to inform the user about the change of his e-mail address but also let him confirm the new address according to strict data protection rules, here in Germany.

The idea is to add following functions to CB or the plugin taking effect after the user e-mail was changed:

- set user activation status back to "block = 1" in DB jos_users
- generate a new activation code [something like `activation` = "md5( JUserHelper::genRandomPassword())"...]
- add code/activation link to the plug in notifier message
--> after clicking on the activation link, the user's profile is set on activated again

Anyone done this or something similair already? In fact, it should just work like the double opt-in within the registration process.

Messed up totally with the code here. Help would be very much appreciated.

THANKS!

Mike

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

Moderators: beatnantkrileon
Powered by Kunena Forum