Type: Field
Triggers: onBeforeUserProfileEditDisplay (Frontend)
User: Automatic
Access: Registered
Conditional: (1) [cb_confirmation] Equal to 0
(2) [cb:userdata field="usertype" user="#me"] Equal to Manager
Field to alter: Viewer Name
Operator: Set (Field = Value)
Value: [cb:userdata field="NAME" user="#me" /]
[cb:userdata field="usertype" user="#me"] Equal to Manager
Please Log in or Create an account to join the conversation.
Usertype is completely gone in J2.5/J3.0 so it'll only work on J1.5 and earlier. Simply use the "Access" parameter (which you've set to Registered) instead of trying to set access based off a conditional.Everything seems to work okay with conditional (1). It is not working if I add conditional (2).
Trigger also now fires in backend too, but I have yet to move it to "Frontend & Backend" section.Why is it triggering eventhough I am selecting front end triggers?
Please Log in or Create an account to join the conversation.
krileon wrote:
Usertype is completely gone in J2.5/J3.0 so it'll only work on J1.5 and earlier. Simply use the "Access" parameter (which you've set to Registered) instead of trying to set access based off a conditional.Everything seems to work okay with conditional (1). It is not working if I add conditional (2).
Trigger also now fires in backend too, but I have yet to move it to "Frontend & Backend" section.Why is it triggering eventhough I am selecting front end triggers?
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.
Please Log in or Create an account to join the conversation.