This component adds a field on Signup form and profile page to enter the location, after adding a location, it is shown on About Page
Can someone maybe help me to add search function? So you can search for the location field?
Just telling you how you can search user by a location you need to figure out the other end
Just telling you how you can search user by a location you need to figure out the other end
Am I just adding this into ossn_com.php?
.
$users = new OssnUser()
$list = $users->searchUsers(array(
'entities_pairs' => array(
array(
'name' => 'location',
'value' => 'your location',
);
),
));
.
How can I add the location to the search page? so you can search for locations?