Replies
- Brajesh Singh on July 17, 2021 at 6:26 pm in reply to: Perfmatters & member type pro conflict #39584
Hi,
In case of old database, you only need to impost bthe Posts and post meta table.Regards
Brajesh- Brajesh Singh on July 15, 2021 at 11:49 pm in reply to: [Resolved] Override Xprofile Group Name with role conditions #39570
Please use this example. In the above code, you are using $group object which si not available.
function child_update_profile_group_name( $name ) { if ( $name == 'Settings' && is_user_logged_in() && in_array( 'subscriber', wp_get_current_user()->roles ) ) { $name = 'Settings1'; } return $name; } add_filter( 'bp_get_the_profile_group_name', 'child_update_profile_group_name' );Regards
Brajesh Hi Ricardo,
Welcome to BuddyDev support forums.I am sorry, there is no way to allow adding custom fields on upload screen. We do have some code snippet to allow it on Edit gallery media and edit media screen.
Regards
Brajesh- Brajesh Singh on July 15, 2021 at 11:41 pm in reply to: [Resolved] Custom Text above post form on activity page #39568
Thank you for the question. There are multiple ways to do it. You can either use the action hook or do a template override.
Based on your template pack( I am assuming Nouveau), you can copy the post-form.php from wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/activity directory to your theme/buddypress/activity/post-form.php and add the text as needed.
Regards
Brajesh - Brajesh Singh on July 15, 2021 at 11:29 pm in reply to: [Resolved] BuddyPress Profile Visibility Manager Language #39567
Thank you.
- Brajesh Singh on July 15, 2021 at 11:29 pm in reply to: comment button for “WordPress activity post” in stream missing #39566
HI Toury,
Welcome to BuddyDev support forums.Please visit Dashboard->Settings->BuddyPress->Options and look for “Allow activity stream commenting on posts and comments”
Tick that option and the commenting will be enabled. It may not sync to the actual blog post though.
Regards
Brajesh - Brajesh Singh on July 15, 2021 at 11:10 am in reply to: [Resolved] Auto join groups – cron job #39557
Hi Darshan
Thank you for the reply.This is not how this plugin works. There are ways to make this condition though.
Conditions:- These are used to match user profile. If a user matches these conditions, they will get added to the predefined list of groups you have selected.
In your case, if you want to use the condition like above, you will need to create multiple list. For each list, you will select relevant groups.
or example, a list containing condition employee id IN 1,2, you will select group 1 and 2.
This is different from what you are expecting. I believe your expectation is to use the group ids from profile field and sync to it.
It can be achieved much easier with custom code. Please allow us to post the code(Ravi or I will share the code in next 24 hours).
Regards
Brajesh - Brajesh Singh on July 15, 2021 at 11:05 am in reply to: [Resolved] Override Xprofile Group Name with role conditions #39556
Hi,
You are using incorrect filter.Please use the filter ‘bp_get_the_profile_group_name’.
Also, group id is not available with this filter.
Regards
Brajesh Hi Deepa,
Hope you are doing well.Did you approach and get any reply from your theme author about this?
Thank you
Brajesh