ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,667
- Points
- 823
Reputation:
Hi,
I think this may be due to permissions. but am trying to find a way around it.
I have a custom user field but the user field is not editable by end users only Admin and Moderator. However the field needs to be checked by code if certain conditions are met.
I run the code and everything else saves but the custom field does not.
At the moment the user field is a drop down with a yes/no value I run
PHP:
Read more
Continue reading...
I think this may be due to permissions. but am trying to find a way around it.
I have a custom user field but the user field is not editable by end users only Admin and Moderator. However the field needs to be checked by code if certain conditions are met.
I run the code and everything else saves but the custom field does not.
At the moment the user field is a drop down with a yes/no value I run
PHP:
$userEm = $app->em()->findOne('XF:User', ['user_id' => $json["vendorData"]])...
Read more
Continue reading...