|
@@ -83,34 +83,6 @@ function Memberlist()
|
|
|
'up' => 'LENGTH(mem.website_url) > 0 DESC, IFNULL(mem.website_url, 1=1) ASC, mem.website_url ASC'
|
|
|
),
|
|
|
),
|
|
|
- 'icq' => array(
|
|
|
- 'label' => $txt['icq'],
|
|
|
- 'sort' => array(
|
|
|
- 'down' => 'LENGTH(mem.icq) > 0 ASC, mem.icq = 0 DESC, mem.icq DESC',
|
|
|
- 'up' => 'LENGTH(mem.icq) > 0 DESC, mem.icq = 0 ASC, mem.icq ASC'
|
|
|
- ),
|
|
|
- ),
|
|
|
- 'aim' => array(
|
|
|
- 'label' => $txt['aim'],
|
|
|
- 'sort' => array(
|
|
|
- 'down' => 'LENGTH(mem.aim) > 0 ASC, IFNULL(mem.aim, 1=1) DESC, mem.aim DESC',
|
|
|
- 'up' => 'LENGTH(mem.aim) > 0 DESC, IFNULL(mem.aim, 1=1) ASC, mem.aim ASC'
|
|
|
- ),
|
|
|
- ),
|
|
|
- 'yim' => array(
|
|
|
- 'label' => $txt['yim'],
|
|
|
- 'sort' => array(
|
|
|
- 'down' => 'LENGTH(mem.yim) > 0 ASC, IFNULL(mem.yim, 1=1) DESC, mem.yim DESC',
|
|
|
- 'up' => 'LENGTH(mem.yim) > 0 DESC, IFNULL(mem.yim, 1=1) ASC, mem.yim ASC'
|
|
|
- ),
|
|
|
- ),
|
|
|
- 'skype' => array(
|
|
|
- 'label' => $txt['skype'],
|
|
|
- 'sort' => array(
|
|
|
- 'down' => 'LENGTH(mem.skype) > 0 ASC, IFNULL(mem.skype, 1=1) DESC, mem.skype DESC',
|
|
|
- 'up' => 'LENGTH(mem.skype) > 0 DESC, IFNULL(mem.skype, 1=1) ASC, mem.skype ASC',
|
|
|
- ),
|
|
|
- ),
|
|
|
'id_group' => array(
|
|
|
'label' => $txt['position'],
|
|
|
'sort' => array(
|
|
@@ -468,9 +440,7 @@ function MLSearch()
|
|
|
$fields = allowedTo('moderate_forum') ? array('member_name', 'real_name') : array('real_name');
|
|
|
else
|
|
|
$fields = array();
|
|
|
- // Search for messengers...
|
|
|
- if (in_array('messenger', $_POST['fields']) && !$user_info['is_guest'])
|
|
|
- $fields += array(3 => 'aim', 'icq', 'yim', 'skype');
|
|
|
+
|
|
|
// Search for websites.
|
|
|
if (in_array('website', $_POST['fields']))
|
|
|
$fields += array(7 => 'website_title', 'website_url');
|
|
@@ -545,7 +515,6 @@ function MLSearch()
|
|
|
$context['search_fields'] = array(
|
|
|
'name' => $txt['mlist_search_name'],
|
|
|
'email' => $txt['mlist_search_email'],
|
|
|
- 'messenger' => $txt['mlist_search_messenger'],
|
|
|
'website' => $txt['mlist_search_website'],
|
|
|
'group' => $txt['mlist_search_group'],
|
|
|
);
|