[RSS Feed/News] Extending batch update user

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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:

Code:
protected function applyInternalUserChange(\XF\Entity\User $user)
    {
        /** @var \XF\Entity\UserProfile $profile */
        $profile = $user->getRelationOrDefault('Profile', false);
        if...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom