Fixed Moderator link on admincp profile doesn't link to the user's moderator page

Xon

Well-known member
Affected version
2.2.9
In the admincp, when a user is an admin the "administrator" link goes to the administrator page for that user. While the "moderator" link goes to the moderator list. These two links are inconsistent in behavior.

user_edit template bits;
XML:
                <xf:if is="$user.is_admin">
                    <li><a href="{{ link('admins/edit', $user) }}">{{ $user.is_super_admin ?  phrase('super_administrator') : phrase('administrator') }}</a></li>
                </xf:if>
                <xf:if is="$user.is_moderator">
                    <li><a href="{{ link('moderators') }}">{{ phrase('moderator') }}</a></li>
                </xf:if>
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.12).

Change log:
If a user is also a moderator, update the URL on their admin profile page to only show forums they moderate
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom