XenForo
Administrative
- Thread starter
- Admin
- #1
I am currently trying to accomplish this by extending the UserGroupChange service, but either manually adding a user to the group via the edit user page does not trigger this or I am extending the wrong thing.
Spoiler: Class Extension

Spoiler: My code for the extended clas
PHP:
Read more
ادامه مطلب...
Spoiler: Class Extension

Spoiler: My code for the extended clas
PHP:
Code:
<?php
namespace Retro\Sourcebans\Service\User;
class UserGroupChange extends XFCP_UserGroupChange
{
public function addUserGroupChange($userId, $key, $addGroups)
{
$this->app->logException(new \Exception(\XF::dumpSimple([$userId.$key...
Read more
ادامه مطلب...