mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Remove matching users with default IP from profile list.
This commit is contained in:
parent
78b8a38e73
commit
e865b4c258
7 changed files with 36 additions and 264 deletions
|
@ -98,13 +98,13 @@ switch ($mode) {
|
|||
|
||||
$reg_ip = DB()->fetch_rowset("SELECT username, user_id, user_rank FROM " . BB_USERS . "
|
||||
WHERE user_reg_ip = '{$profiledata['user_reg_ip']}'
|
||||
AND user_reg_ip != ''
|
||||
AND user_reg_ip != 0
|
||||
AND user_id != {$profiledata['user_id']}
|
||||
ORDER BY username ASC");
|
||||
|
||||
$last_ip = DB()->fetch_rowset("SELECT username, user_id, user_rank FROM " . BB_USERS . "
|
||||
WHERE user_last_ip = '{$profiledata['user_last_ip']}'
|
||||
AND user_last_ip != ''
|
||||
AND user_last_ip != 0
|
||||
AND user_id != {$profiledata['user_id']}");
|
||||
|
||||
$link_reg_ip = $link_last_ip = '';
|
||||
|
|
|
@ -2014,7 +2014,6 @@ $lang['DELETE_DISALLOW_EXPLAIN'] = 'You can remove a disallowed username by sele
|
|||
|
||||
$lang['ADD_DISALLOW'] = 'Add';
|
||||
$lang['ADD_DISALLOW_TITLE'] = 'Add a disallowed username';
|
||||
$lang['ADD_DISALLOW_EXPLAIN'] = 'You can disallow a username using the wildcard character * to match any character';
|
||||
|
||||
$lang['NO_DISALLOWED'] = 'No Disallowed Usernames';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue