Replies
- Brajesh Singh on February 24, 2017 at 3:50 am in reply to: [Resolved] BuddyPress Profile Visibility Manager- Hidden profile shows in navigation #7457
Hi Cathy,
Is there any chance that you copied the code from the notification email. The code might have been entity encoded.
can you please post it on pastebin and link me?Thank you
Brajesh - Brajesh Singh on February 24, 2017 at 1:41 am in reply to: [Resolved] BuddyPress Profile Visibility Manager- Hidden profile shows in navigation #7455
Hi Cathy,
Please put this code in your bp-custom.phpfunction buddydev_exclude_users_in_bp_user_query( $query ) { if ( ! function_exists( 'bp_profile_visibility_manager' ) ) { return; } $excluded = bp_profile_visibility_manager()->get_users( 'bp_profile_visibility', 'self' ); //should we exclude friends only profile too? $excluded = array_merge( $excluded, bp_profile_visibility_manager()->get_users( 'bp_profile_visibility', 'friends' ) ); $pre_excluded = empty( $query->query_vars['exclude'] ) ? array() : wp_parse_id_list( $query->query_vars['exclude'] ); if ( ! empty( $pre_excluded ) ) { $excluded = array_merge( $excluded, $pre_excluded ); } $query->query_vars['exclude'] = $excluded; } add_action( 'bp_pre_user_query_construct', 'buddydev_exclude_users_in_bp_user_query' );Please do let me know if it works or not?
Thank you
Brajesh - Brajesh Singh on February 24, 2017 at 1:37 am in reply to: [Resolved] BuddyPress Limit Group membership Per User Issue #7454
Hi,
I just tested on WordPress 4.7.2 and BuddyPress 2.8.1 and It is working fine for me. - Brajesh Singh on February 23, 2017 at 5:42 pm in reply to: [Resolved] BuddyPress Limit Group membership Per User Issue #7451
Hi,
can you please explain me again? I am sorry but I could not understand the issue.Thank you
Brajesh Hi MW93,
That action seems to be the issue here. Which plugin are you using to attach media to the activity stream? All plugins add their own action type. You will need to include that action type to make it work.- Brajesh Singh on February 23, 2017 at 8:08 am in reply to: Mediapress Upload Photo from iPhone #7447
Hi BD,
I am setting up a demo site today for you. will message back here in the evening with the details.I am not sure of the issue yet, so may be this will help.
- Brajesh Singh on February 23, 2017 at 7:31 am in reply to: [Resolved] Gallery Created But Not Showing Up #7445
Hi Mario,
I am sorry the week has been hectic and I could not reply on time.from your last reply, It is clear that MediaPress is working as expected(the component/status/type is set properly).
Here is what might be happening, one of the plugin or some code is modifying is WP_Query loop( most probably using pre_get_posts) without checking properly and that is causing the issue.
Please try by disabling any custom/code, plugin /changing theme. Please do let me know what was causing it. I can add it to our list of conflicts.
Thank you
Brajesh Hi,
Welcome to BuddyDev.Can you please post the exact shortcode. is there any chance that you have some parameters specified.
If you haven’t specified any options in the shortcode, The plugin should list every visible activity.
If it does not, then the code for generating attachment activity is doing some magic(setting it to hidden, which is only visible on profile).
Please do let me know if you are using it with options.
Thank you
BrajeshHi Venus,
Welcome to BuddyDev.The plugin does not provide any setting.
Please login as a normal user and visit Profile->Settings and you will see the option to change username.Hope that helps.
Regards
Brajesh- Brajesh Singh on February 23, 2017 at 7:22 am in reply to: [Resolved] Buddypress Featured Members – WPML Compatibility #7442
Thank you.
That makes sense.
I have also applied for their go global program and hope to provide better compatibility for all of our plugins in future.