How to include realname in search criteria?
How to include realname in search criteria? .. |
You can change it in templates/base/scripts/BxBaseSearchProfile.php file: class BxBaseSearchProfile extends BxBaseSearchResultText
{
var $aCurrent = array(
'name' => 'profile',
'title' => '_People',
'table' => 'Profiles',
'ownFields' => array('ID', 'NickName', 'NickName', 'DescriptionMe', 'Country', 'City', 'Tags', 'DateReg', 'DateOfBirth', 'Sex', 'Couple'),
'searchFields' => array('NickName', 'DescriptionMe', 'City', 'Tags'),
'restriction' => array(
'activeStatus' => array('value'=>'Active', 'field'=>'Status', 'operator'=>'='),
),
'paginate' => array('perPage' => 10, 'page' => 1, 'totalNum' => 10, 'totalPages' => 1),
'sorting' => 'last'
);
Also if you use FULLTEXT search then you need to modify FULLTEXT index in Profiles table to include new fields. Rules → http://www.boonex.com/terms |
Super thank Top 1A .. |