1

Topic: Not activated users in userlist for admin

Is there a solution?

2

Re: Not activated users in userlist for admin

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 : '')

3

Re: Not activated users in userlist for admin

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

Re: Not activated users in userlist for admin

Thanks for the hack. Also, administrators can find unverified user accounts using the search user mechanism in the administration.