From 4830b3eacd13a37c2f61caf7431517d53902659e Mon Sep 17 00:00:00 2001 From: Richard McGirr Date: Thu, 8 Oct 2015 05:58:06 -0400 Subject: [PATCH] [ticket/14219] Add email to inactive user listing in ACP. May help in spotting spam accounts quickly PHPBB3-14219 --- phpBB/adm/style/acp_inactive.html | 2 ++ phpBB/includes/acp/acp_inactive.php | 1 + 2 files changed, 3 insertions(+) diff --git a/phpBB/adm/style/acp_inactive.html b/phpBB/adm/style/acp_inactive.html index 409ea46de5..2aa3051f53 100644 --- a/phpBB/adm/style/acp_inactive.html +++ b/phpBB/adm/style/acp_inactive.html @@ -18,6 +18,7 @@ {L_USERNAME} + {L_EMAIL} {L_JOINED} {L_INACTIVE_DATE} {L_LAST_VISIT} @@ -32,6 +33,7 @@ {inactive.USERNAME_FULL}
{L_POSTS}{L_COLON} {inactive.POSTS} [{L_SEARCH_USER_POSTS}] + {inactive.USER_EMAIL} {inactive.JOINED} {inactive.INACTIVE_DATE} {inactive.LAST_VISIT} diff --git a/phpBB/includes/acp/acp_inactive.php b/phpBB/includes/acp/acp_inactive.php index e96c42de05..75c45c4017 100644 --- a/phpBB/includes/acp/acp_inactive.php +++ b/phpBB/includes/acp/acp_inactive.php @@ -274,6 +274,7 @@ class acp_inactive 'USERNAME_FULL' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'], false, append_sid("{$phpbb_admin_path}index.$phpEx", 'i=users&mode=overview')), 'USERNAME' => get_username_string('username', $row['user_id'], $row['username'], $row['user_colour']), 'USER_COLOR' => get_username_string('colour', $row['user_id'], $row['username'], $row['user_colour']), + 'USER_EMAIL' => $row['user_email'], 'U_USER_ADMIN' => append_sid("{$phpbb_admin_path}index.$phpEx", "i=users&mode=overview&u={$row['user_id']}"), 'U_SEARCH_USER' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id={$row['user_id']}&sr=posts") : '',