We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Which hook to use for listening on member profile updates

Development and Programming

soapcreative's avatar
soapcreative
9 posts
15 years ago
soapcreative's avatar soapcreative

Hi, just in the final stages of development now, we’re doing the search module. The search functionality is to search for instances of word or part-word in a) recipe title b) recipe ingredients c) author name

So my search index has the username and screen_name of the author of each recipe, but what happens when they change their screen name? Now all the recipes they have contributed need to be re-indexed.

Is there a hook I can use for this? The best I’ve found is mod.member_settings.php “member_update_preferences” - but that doesn’t seem to catch updates to the username/password method “update_userpass”. There doesn’t seem to be a hook there. Same in CP, if an administrator changes a member’s screen name or username, the recipes have to be re-indexed.

Are there hooks that I can use for this, or do I have to alter the core files or sniff segments while listening on another hook such as “post_system”?

       
abirchler's avatar
abirchler
1 posts
15 years ago
abirchler's avatar abirchler

I am interested in a hook that I can use when a member’s username or password is updated as well. My use would be to synchronize accounts with those from another system.

       
David Hyland's avatar
David Hyland
210 posts
14 years ago
David Hyland's avatar David Hyland

Bump … is there a CP member edit/update hook? I don’t see one?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.