Please Log in to join the conversation.
[cb:if application_context="frontend"]Frontend Only[/cb:if]
[cb:if application_context="administrator"]Backend Only[/cb:if]
Please Log in to join the conversation.
Please Log in to join the conversation.
That'll depend entirely on the trigger.If I am a mod in frontend and editing another user profile, will [var1_user_id] be this user's id ?
For onBeforeDeleteUser [var1_user_id] is the user id of the user being deleted. [user_id] would be the user id of the user deleting the user.For instance with the trigger onBeforeDeleteUser and the code $userid = $action->string($user, '[var1_user_id]'), is it the mod's id or the edited user's id ?
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.