Remove INACTIVE Buddypress users from search result?

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 Ernest Marcinko 8 years, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5216
    Christian Nießing
    Christian Nießing
    Participant

    Hello,
    I don’t want to show inactive buddypress users in ajax search. Is there a way to remove them form the search results?

    #5217
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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 :)


    #5219
    Christian Nießing
    Christian Nießing
    Participant

    Sorry,
    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?

    #5221
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Okays. 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 :)


    #5263
    Christian Nießing
    Christian Nießing
    Participant

    hi,
    how can I put login data here secretly?

    #5264
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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 :)


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.