We definitely strive to keep them out, but we can’t promise 100% foolproofness. It also depends on what’s providing the list you’re seeing. For example, if it’s BuddyPress core, that’s the most consistent spot we can provide for. If it’s other 3rd party plugins creating their own list, then we would need to investigate how to add compatibility with their plugin.
That said, can you provide a link to the listing, regardless if I’ll actually be able to visit it or not, I can at least do what I can to try and determine if it’s from BP Core and a missed situation.
Thread Starter
naomir
(@naomir)
Ah, that makes sense. I had forgotten, but the directory is actually generated by a 3rd party plugin called BP Profile Search.
Another problem they are having is that the unapproved members, once logged in, can see the names in that same directory; which I guess is related. It looks like these two plugins do not integrate well. I guess the change would need to be made in BP Profile Search rather than in your plugin, however. And I am stuck on an old version of BP Profile Search due to another issue!
I think what I will do is use another user approval plugin instead of this one – one which stops users from logging in at all until they are approved. I think that’s actually closer to what the client wants.
But thanks ever so much for your prompt and helpful reply!
Can you provide a link to this plugin you are using? especially if it’s one available here on ww.wp.xz.cn? That way we could look into providing compatibility if at all possible.
Thread Starter
naomir
(@naomir)
Here is a link to the plugin:
https://en-gb.ww.wp.xz.cn/plugins/bp-profile-search/
-
This reply was modified 6 years, 8 months ago by
naomir.
Hi
I had the same issue ; I solved it excluding WP new user default role by default from member directory loop.
1 – In WP General settings define a role by default that you do not use, it will be default role for all new users who register
2 – Exclude this default role from member directory loop using this plugin https://fr.ww.wp.xz.cn/plugins/bp-custom-functionalities/
3 – Before approving new user, change manually the role of user by a role that is in member directory lopp
Pros
It works !
Cons
– It makes one extra manual action but since we have to validate manually the members, it is not much a pain
– If you use member type pro that set a role automatically according to member type field that will not work