How to include realname in search criteria?

How to include realname in search criteria?

suche.png · 172.3K · 255 views
..
Quote · 25 Jan 2016

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
Quote · 31 Jan 2016

Super thank Top 1A

..
Quote · 31 Jan 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.