Replies
- Brajesh Singh on December 12, 2019 at 3:54 pm in reply to: [Resolved] Hide in BuddyPress Activity ShortCode #27016
Thank you.
The problem is your theme uses dynamic context for the activity actions.
here is a solution(Though it may be problematic in future)
.bpas-shortcode-activities .activity-inner+div { display:none; }Regards
Brajesh - Brajesh Singh on December 12, 2019 at 2:45 pm in reply to: [Resolved] BuddyPress Profile Completion – User Roles #27013
Thank you for confirming. I am glad it worked 🙂
Regards
Brajesh - Brajesh Singh on December 12, 2019 at 2:45 pm in reply to: [Resolved] Hide in BuddyPress Activity ShortCode #27012
Hi Philippe,
That should have worked.if it did not, can you please link me to the site where I can see it(with a guest user account).
It should be a simple task.regards
Brajesh Hi Jennifer,
The bp_core_signup_user returns the user_id of the newly created user. You can store a meta and use that at the time of activation to check.Hope that helps.
Regards
Brajesh- Brajesh Singh on December 12, 2019 at 10:44 am in reply to: [Resolved] BuddyPress Profile Completion – User Roles #27007
You are welcome.
you may want to try something like this instead
add_filter( 'bp_force_profile_completion_skip_check', function ( $skip ) { $user_roles = wp_get_current_user()->roles; if ( in_array( 'donor', $user_roles, true ) ) { $skip = true; } return $skip; } );We need to get the role of current user. So, I have updated the code.
Regards
Brajesh Hi Jennifer,
thank you for the question.BuddyPress overrides the roles on user account activation.
Your best bet is to set role on ‘bp_core_activated_user’ action with priority 2 or lower.
Regards
Brajesh- Brajesh Singh on December 12, 2019 at 10:39 am in reply to: [Resolved] BP Featured Members Plugin's Theme Default Display View is not work as expect #27005
Thank you for the kind words.
I am glad it is resolved. No issues with reporting here.Also, thank you for the youtube link 🙂
Best regards
Brajesh - Brajesh Singh on December 11, 2019 at 6:13 pm in reply to: [Resolved] Hide in BuddyPress Activity ShortCode #27000
Hi Philippe,
Welcome to BuddyDev.Please use this css
.bpas-shortcode-activities .activity-meta{ display:none; }That will hide it.
Regards
Brajesh - Brajesh Singh on December 11, 2019 at 4:23 pm in reply to: [Resolved] BP Featured Members Plugin's Theme Default Display View is not work as expect #26999
Hi,
I am sorry but I am not in a position to assist you without knowing the conflict. Since we have no update from our side, It is coming from one of the plugins or theme you updated.If you can find out which one is conflicting, I may be able to help resolve it. If you can try and find that, Please let me know and I will assist.
Regards
Brajesh - Brajesh Singh on December 11, 2019 at 4:18 pm in reply to: Problem with the search for galleries on the main page #26998
Thank you.