Topic: Not activated users in userlist for admin
Is there a solution?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 extensions → Not activated users in userlist for admin
Is there a solution?
1)
'WHERE' => 'u.id > 1' AND u.group_id != '.FORUM_UNVERIFIED,
replace
'WHERE' => 'u.id > 1',
2)
$forum_page['table_row']['username'] = '<td class="tc'.count($forum_page['table_row']).'"><a href="'.forum_link($forum_url['user'], $user_data['id']).'">'.forum_htmlencode($user_data['username']).'</a></td>';
replace
$forum_page['table_row']['username'] = '<td class="tc'.count($forum_page['table_row']).'"><a href="'.forum_link($forum_url['user'], $user_data['id']).'">'.forum_htmlencode($user_data['username']).'</a>'.(($user_data['g_id'] == FORUM_UNVERIFIED) ? ' (unverified)' : '').'</td>';
3)
before
($hook = get_hook('ul_results_row_pre_data')) ? eval($hook) : null;
insert
if ($user_data['g_id'] == FORUM_UNVERIFIED && $forum_user['g_id'] != FORUM_ADMIN) continue;
4)
'WHERE' => 'u.id > 1 AND u.group_id != '.FORUM_UNVERIFIED
replace
'WHERE' => 'u.id > 1'.(($forum_user['g_id'] != FORUM_ADMIN) ? ' AND u.group_id != '.FORUM_UNVERIFIED : '')
or step 2:
$forum_page['table_row']['username'] = '<td class="tc'.count($forum_page['table_row']).'"><a href="'.forum_link($forum_url['user'], $user_data['id']).'">'.forum_htmlencode($user_data['username']).'</a>'.(($user_data['g_id'] == FORUM_UNVERIFIED) ? ' (unverified) <a href="'.forum_link($forum_url['delete_user'], $user_data['id']).'">delete</a>' : '').'</td>';
add link - delete user
Thanks for the hack. Also, administrators can find unverified user accounts using the search user mechanism in the administration.
PunBB Forums → PunBB 1.3 extensions → Not activated users in userlist for admin
Powered by PunBB, supported by Informer Technologies, Inc.