Solved Moderator actions aren't logged if the user isn't a moderator

This topic has been solved
P

PaulB

Guest
Non-moderators can be given moderator permissions. If this happens, the moderator log handler won't log any moderator-like actions that they perform.

In XenForo_ModeratorLogHandler_Abstract#log:

PHP:

Code:
if (!$logUser['user_id'] || !$logUser['is_moderator'] || !$this->isLoggable($logUser, $content, $action))
{
    return false;
}

For example, if Steve has the ability to approve threads in a specific forum he curates, but isn't a full moderator, his approvals won't be logged.

Continue reading...