Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Remove INACTIVE Buddypress users from search result?
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 8 years, 2 months ago.
- AuthorPosts
- July 2, 2015 at 9:21 pm #5216
Hello,
I don’t want to show inactive buddypress users in ajax search. Is there a way to remove them form the search results?July 2, 2015 at 9:26 pm #5217Hi!
Could you be more specific what do you mean by inactive? You mean users that didn’t post for at activity feed for long time?
If it’s possible to get the last post date somehow, I guess it’s possible to filter them with a custom code.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 3, 2015 at 8:38 am #5219Sorry,
I am using the plugin “user profiles made easy” UPME and ticked the checkbox “Enable Profile Status”. Now I can set the Profile Status in Backend of any Member to “inactive”. On members page the users are not visible but in search in can find them. Is there a way to avoid this?July 3, 2015 at 9:27 am #5221Okays. I don’t have a copy of that plugin, since as I can see I would have to buy it.
I’m sure it’s possible somehow, but I need to know how to programatically get the status of a user. I see two options here:
1. Asking the plugin developer how the profile status is stored, and if there is a method of getting a profile status based on the user ID
2. ..or letting me check your site back-end and code by providing temporary admin and FTP information, where I would examine the UPME code as well, and maybe I can tell how this information is stored.
If I know how to get the profile status, I might be able to put together a short code snippet to solve this.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 7, 2015 at 11:59 am #5263hi,
how can I put login data here secretly?July 7, 2015 at 12:31 pm #5264Hi!
Yes, by editing your first post and filling out the fields again,
or by uploading a .txt file with the details.Please also make a back-up copy of your site to prevent any issues or data losses.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.