Please Log in or Create an account to join the conversation.
onAfterUserUpdate is frontend user edit save and onAfterUpdateUser is backend user edit save.For example whats the difference between "After User Update" and "After Update User"?
Nope, not at this time. For the most part they're self explanatory. For example after user update is after the user has updated. After update user is after updating a user. All the new triggers are a little more specific though, but some of the older triggers may still be a little vague.Is there a list with descriptions of what each trigger does?
Both onAfterUserUpdate and onAfterUpdateUser.I'm trying to change usergroups for a user based on a profile field being updated and being triggered on the saving of the profile (whether it be by the user or the moderator). Which trigger do I use?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Only if Triggers is set to None. You can then specify &users=USER_ID. Note &users= can accept a comma separated list of user ids if you want to send more than 1.Is there a way to access this action via the manual URL (link), and specify the user in the URL?
Yes, you need separate actions as you can't directly access an action without Triggers being set to None. Allowing direct access to an action with triggers causes the action to be unable to know what to expect. I don't recommend you directly change a users field with a URL unless you've safely secured. To do that you need 3 actions. 1 is acting on the triggers, 1 accepts &user= and has access set to Super Users or something only moderators have, and 1 has User set to User so it always acts on the viewing user (this one the enduser would click).Do I need to create separate actions, or can I use the same action?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.