XenForo
Administrative
- Thread starter
- Admin
- #1
Hi
I am trying to capture when a user saves their profile. I want to update a field when a custom value is changed.
I have my addon and what I think is correct class/method but I get an error
Callback Crispin\CountryAdjust\user::visitorSetup is invalid (error_invalid_class).
Code:
Read more
ادامه مطلب...
I am trying to capture when a user saves their profile. I want to update a field when a custom value is changed.
I have my addon and what I think is correct class/method but I get an error
Callback Crispin\CountryAdjust\user::visitorSetup is invalid (error_invalid_class).
Code:
Code:
<?php
namespace Crispin\CA\Listener;
use XF\Mvc\Entity\Structure;
class User extends XFCP_User
{
public static function visitorSetup(\XF\Entity\User &$visitor)
{
return true...
Read more
ادامه مطلب...