Alpha1 Well-known member Jan 10, 2018 #1 Often I try to find out why a member was banned and cant find any reason by looking at the account in the admincp. It would be really helpful to list this in account change log or anywhere else on the account page. Upvote 7
Often I try to find out why a member was banned and cant find any reason by looking at the account in the admincp. It would be really helpful to list this in account change log or anywhere else on the account page.
Robust Well-known member Jan 11, 2018 #2 In the meantime, you can just edit the user_edit Admin template and put something like this after the <xf:if is="$success"> block: Code: <xf:if is="$user.is_banned"> <div class="blockMessage blockMessage--error">User is banned: {$user.Ban.user_reason}</div> </xf:if> Just a quick job that doesn't look too bad. Looks like: Better in the core, of course, but that might help in the meantime.
In the meantime, you can just edit the user_edit Admin template and put something like this after the <xf:if is="$success"> block: Code: <xf:if is="$user.is_banned"> <div class="blockMessage blockMessage--error">User is banned: {$user.Ban.user_reason}</div> </xf:if> Just a quick job that doesn't look too bad. Looks like: Better in the core, of course, but that might help in the meantime.
Mike XenForo developer Staff member Jan 11, 2018 #3 It's worth noting that clicking "banned" will give you all of the details about the ban too (including who did it, when, end date and reason).
It's worth noting that clicking "banned" will give you all of the details about the ban too (including who did it, when, end date and reason).