I am working on private profiles now.
When I do a profile search, I still see several profiles that are marked in the Profiles database as 2.
This should not happen.
Does anybody have any suggestions?
in BxBaseSearchProfile.php I changed the code to this
class BxBaseSearchProfile extends BxBaseSearchResultText {
var $aCurrent = array(
'name' => 'profile',
'title' => '_People',
'table' => 'Profiles',
'ownFields' => array('ID', 'NickName', 'NickName', 'Headline', 'DescriptionMe', 'Country', 'City', 'Tags', 'DateReg', 'DateOfBirth', 'Sex', 'Couple','allow_view_to'),
'searchFields' => array('NickName', 'Headline', 'DescriptionMe', 'City', 'Tags'),
'restriction' => array(
'activeStatus' => array('value'=>'Active', 'field'=>'Status', 'operator'=>'='),
'AllowViewTo' => array('value'=>'2', 'field'=>'allow_view_to', 'operator'=>'<>'),
),
'paginate' => array('perPage' => 10, 'page' => 1, 'totalNum' => 10, 'totalPages' => 1),
'sorting' => 'last'
);
But that doesn't seem to have any effect.
Thanks!