Replies
- Kristian Yngve on March 14, 2020 at 2:01 pm in reply to: Hiding users that have no avatars (mystery men) in the Recently Active widgets #28283
Ah it doesn’t work for me sadly:
The php:
add_action( 'bp_after_has_members_parse_args', function ( $args ) { if ( bp_is_members_directory() ) { $args['meta_key'] = '_has_avatar'; $args['meta_value'] = 1; } return $args; } );
still shows the users in the recently active despite having the BuddyPress Force Profile Photo plugin.
Any suggestions on what I can do the the code?
- Kristian Yngve on March 14, 2020 at 5:03 am in reply to: Hiding users that have no avatars (mystery men) in the Recently Active widgets #28276
Ah! Your link looks like it is my case! 🙂
- Kristian Yngve on March 14, 2020 at 5:02 am in reply to: Hiding users that have no avatars (mystery men) in the Recently Active widgets #28275
I have the BuddyPress Force Profile Photo plugin, but the bots just sit there in in recently active after sign up with mystery man avatars.
It’s good that they cannot do anything 🙂 but bad that they fill up the recently active buddypress widget 🙁
I will look at the other suggestions and link now too.
- Kristian Yngve on August 5, 2019 at 8:47 am in reply to: [Resolved] Altering my buddydev php restrict code to only allow access to a page type #24487
THANK YOU!!
It actually works amazingly! 🙂
Ravi, I can’t thank you enough! Loving the BuddyDev products, and many of them are paid.
It’s an honor to be part of the BuddyDev community, sir.
Best,
Kristian
- Kristian Yngve on June 17, 2019 at 4:52 pm in reply to: [Resolved] redirecting not logged in users to login IF accessing buddypress pages (profile) #23568
Thank you Brajesh!
By the way, only yours works when the Youzer devs offered their code.
You really are a master in what you do.
Thank you so much sir.
It’s such an honor to know to you :,)
Kristian
- Kristian Yngve on June 3, 2019 at 6:51 am in reply to: [Resolved] Remove 'add friend' button for member type (admins) #23287
Ravi, this is perfect!
Thank you so so much. 🙂
- Kristian Yngve on May 30, 2019 at 4:57 pm in reply to: [Resolved] Remove 'add friend' button for member type (admins) #23258
Hi again Ravi,
thank you so much for getting back to me. Your code is amazing, but one small issue:
As I worked on this all evening and found after a while that it looks like I need that in user IDs rather than admins.
I have Admins hidden, and redirect rules if you try to access them.
so actually this all would work if your code would require specific user IDs
The user ID i need for this is 340
kind regards to you, sir.
Kristian
- Kristian Yngve on May 29, 2019 at 4:09 pm in reply to: [Resolved] Remove the subject line completely in messages #23241
Thank you Brajesh,
Very grateful for your reply.
🙂
- Kristian Yngve on May 29, 2019 at 4:08 pm in reply to: [Resolved] Remove 'add friend' button for member type (admins) #23240
Hi Ravi,
Thank you so much for getting back to me. Sadly, it doesn’t work.
I put it in my BP custom file. is that alright, or must this go in the functions?
Any other suggestions?
- Kristian Yngve on May 8, 2019 at 3:37 pm in reply to: [Resolved] Space above login user avatar #22891
Thank you, Brajesh.
Take care.