BP Profile Search › My results aren't showing up, because my filter is always in Last Active
-
AuthorPost
-
Jonathan Torres
GuestHello, hoping you’re doing great.
I have the following issue. Once I search for a category in my searchform, my results aren’t showing up due to my members filter is always in ‘Last Active’ if I changue it to ‘Alphabetical’ I can se the result I was looking for, the problem is that every refresh the filter ‘Last Active’ filter stills and doesn’t shows anything
andrea
Plugin AuthorHello Jonathan,
I can suggest two solutions:
1 (recommended) – Wait until your members are active, they will become active as soon as they log in. If they are test users, you can log in with their credentials.
2 (not recommended) – You can force the alphabetical order, but this will render the Order By: drop-down ineffective. You will no longer be able to order by Last Active or whatever.
If you are interested in the second solution, please let me know.
Fred McMurray
GuestPlease post the force alphabetical. My users don’t care to see last active they only want to see Alphabetical. Also, how do I allow for non-members to see the memberlist?
Fred McMurray
GuestI found the code to set Alphabetical as the default in another thread. I’m still having a problem making the search results available to non-logged in visitors.
andrea
Plugin AuthorHi Fred,
“I’m still having a problem making the search results available to non-logged in visitors.”
I guess BP Profile Search is not involved in this issue, try to deactivate it and make sure that the Members directory can be seen by non-logged in visitors.
Then you can reactivate BP Profile Search and it should work as expected.
Ace Suares
GuestWe have a lot of users that will never be active. Isn’t there a better way to omit the last-active filter?
Ace Suares
GuestAlso, I got this in my custom members loop:
<?php if ( bp_has_members( bp_ajax_querystring( ‘members’ ) . ‘type=alphabetical’ ) ) : ?>
The main member page looks fine. But on that page is a search (filter) and whatever search I do – the result is not longer ‘alphabetical’ but ‘last active’.
So the members don’t show up 🙁
andrea
Plugin AuthorHello Ace,
Try using this line instead of yours:
<?php if ( bp_has_members( bp_ajax_querystring( 'members' ). '&type=alphabetical' ) ) : ?>Note the ampersand (&) before
type=alphabetical.Ace Suares
GuestThe ampersand helped! (Didn’t I see that? Oh my!)
-
AuthorPost