امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
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
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
