امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Hi,
I'm creating an addon that is using a cron job to update user's custom field with individual values. I'm doing this using:
PHP:
But running the cron I get this error message:
I think this is because the custom user field is not user editable. Options of my user custom field:

My Users shouldn't be...
Read more
I'm creating an addon that is using a cron job to update user's custom field with individual values. I'm doing this using:
PHP:
کد:
$user->Profile->custom_fields->field_id = 'individual_value';
$user->Profile->save();
But running the cron I get this error message:
Field field_name is not editable.
Click to expand...
I think this is because the custom user field is not user editable. Options of my user custom field:

My Users shouldn't be...
Read more
