امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Hi everybody,
for my membermap addon i want to create to options for the batch update users function. It should just clear two fields in the xf_user_profile table.
Can someone give me a hint how to extend the UserAction class for two new actions?
I've tried this at the moment.
PHP:
Read more
for my membermap addon i want to create to options for the batch update users function. It should just clear two fields in the xf_user_profile table.
Can someone give me a hint how to extend the UserAction class for two new actions?
I've tried this at the moment.
PHP:
کد:
protected function applyInternalUserChange(\XF\Entity\User $user)
{
/** @var \XF\Entity\UserProfile $profile */
$profile = $user->getRelationOrDefault('Profile', false);
if...
Read more
