Replies
- Nifty on March 24, 2022 at 10:27 am in reply to: BuddyPress Block Users – Restricting Blocked Users through REST API #44091
Hi Brajesh,
We don’t yet have access to expertise to extend the endpoints.
Would you be open to extending the BuddyPress API endpoints to include the block and unblock functionality at some point in the future? We’d be happy to pay for this.Thanks. 🙂
- Nifty on March 22, 2022 at 8:45 am in reply to: BuddyPress Block Users – Restricting Blocked Users through REST API #44010
Hi Brajesh,
We’d like to be able to fetch the information on blocked users (such as their user IDs). Ultimately, we’d also really like to be able to block a user and unblock a user, as well. We understand this will likely require multiple API endpoints for the plugin, though. Would you have an alternative method to achieve this (i.e. fetching user IDs)?
Thank you. 🙂
- Nifty on March 15, 2022 at 8:09 am in reply to: BuddyPress Block Users – Restricting Blocked Users through REST API #43821
Hi Brajesh,
We’re still doing some testing. Would it be possible to still have the blocker be able to access the blocked person’s profile? This would be for unblocking purposes, and would also keep how the plugin works on the API and website consistent.
Thank you. 🙂
- Nifty on March 10, 2022 at 10:57 am in reply to: BuddyPress Block Users – Restricting Blocked Users through REST API #43775
Hi Brajesh,
Thank you for your work on this.
So far, the change is looking really good. We’ll do a bit more testing, and get back to you to confirm. 🙂Thanks again!
- Nifty on March 8, 2022 at 10:05 am in reply to: BuddyPress Block Users – Restricting Blocked Users through REST API #43740
Hi Brajesh,
Thank you for looking into this. Regarding the client co-ordination, are you able to give us some advice on how we would go about achieving that?
We’ve had a quick chat with our app developer and he says (verbatim) :
“If BuddyDev can change the /wp-json/buddypress/v1/members API call to exclude the blocker’s profile when a blocked person does a search then we could do the following;
– Anywhere in the app where a person (e.g. Tim) tries to open the another person’s profile (e.g Jill), the app will do a /wp-json/buddypress/v1/members API call with Jill’s “user_login” in the “search” field as part of the API call
– The app will go through any returned results to check if the “user_login” matches, if there is a matching “user_login” that means Jill has not blocked Tim, and the app will proceed to Jill’s profile.
– If there is no matching “user_login”, that means Jill has blocked Tim, and the app will display a notification to say the user’s profile cannot be viewed (or something like that).”Does this seem like a feasible approach?
We will look forward to hearing back from you. 🙂
Thanks.
- Nifty on February 15, 2022 at 12:00 pm in reply to: [Resolved] Suspended users able to access information through API if already logged in #43213
Hi Brajesh,
Thank you for your time and the solution. It does work, when added to the bp-custom.php file, and is working as we hoped it would.
Thanks again! 🙂
- Nifty on February 9, 2022 at 3:54 am in reply to: [Resolved] Suspended users able to access information through API if already logged in #43088
Hi Brajesh,
Thank you for your reply and looking into this! 🙂
If it’s any help, we are using the “JWT Authentication for WP REST API” plugin by Enrique Chavez (https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/).
Thanks again.
- Nifty on January 7, 2022 at 10:00 am in reply to: [Resolved] BuddyPress Moderation Tools: Hiding Suspended User’s Profile #42414
Hi Ravi,
Thanks for that addition; it’s working well. 🙂
- Nifty on January 7, 2022 at 9:58 am in reply to: [Resolved] Suspended users can be messaged from existing message threads #42413
Thanks again, Brajesh. We’ve reported this to the Gwangi authors.
- Nifty on January 7, 2022 at 9:55 am in reply to: [Resolved] BuddyPress Block Users: Blocked user can still message in existing thread #42412
Hi Ravi,
Thank you very much for that fix; it seems to be working well. 🙂