RSS Feed/News User status change is not logged

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,864
Points
823

Reputation:

PHP:

Code:
if ($user->user_state == 'email_confirm')
{
    // don't log when changing from initial confirm state as it creates a lot of noise
    $user->getBehavior('XF:ChangeLoggable')->setOption('enabled', false);
}

We've recently had a case where a user had registered 13 years (!) ago and just recently activated the account which then ended up in the approval queue.

Our moderators were confused why such an old account was in the approval queue and escalated the issue to the lead...

Read more

Continue reading...
 
Status
Not open for further replies.
Top