Reply To: members search disappeared
Hey mercime! Well,
I’ve been told and yes I was mistaking, but on members page I have the search form to search members, but no result from this one, not by first/last name and not by username.
Anyway, I had to do some coding and wrote that small function:
———-
<?php
$term = $_POST[“fname”].’ ‘.$_POST[“lname”];
header(‘http://www.allthatsheneeds.com/members/?s=$term.’#’);
?>
———-
I found out that buddypress search uses s, letters and member_search as parameters, and send them to this url above, so why not to just send them via my form 🙂
Problem:
‘s’ represent first name but that’s it, I can’t pass any other param except this one.. (they all been ignored ) do you have any idea how to pass also my ‘lname; value? to which param should I send it?
Thank you so much!