Replies
- Ravi on August 26, 2019 at 1:45 pm in reply to: [Resolved] Hide activities of Admins & Editors in activitiy stream #24982
Hello Vivek,
Thank you for posting. Try the following code to remove activities of user from activity directory.
add_filter( 'bp_after_has_activities_parse_args', function( $args ) { if ( ! bp_is_activity_directory() ) { return $args; } $args['filter_query'][] = array( 'column' => 'user_id', 'value' => '1,4', // Replace by your user ids. 'compare' => 'NOT IN', ); return $args; } );Please let me know if it works or not.
Regards
Ravi - Ravi on August 26, 2019 at 10:29 am in reply to: I need a way to share single images from a gallery to facebook? #24971
Hello Audiomonk,
Thank you for the information. I have checked with above mentioned SEO framework and find that our cannonical link formation is same as single media page. You can the following url for refrenece.
Regards
Ravi - Ravi on August 24, 2019 at 7:19 am in reply to: [Resolved] Wow! Great plugin. Just one more question #24939
Hello Terry,
Thaank you posting. One question are you storing the extracted cover image using WordPress?. Please let me know.
Regards
Ravi Hello Nicola,
Sorry for the delayed reply please change the following line
return ! in_array( bp_get_current_group_id(), $anonymous_groups );with
return in_array( bp_get_current_group_id(), $anonymous_groups );it will show ui on selected groups. Let me know if works or not
Regards
Ravi- Ravi on August 23, 2019 at 10:01 am in reply to: Force new members to sign up for a WooCommerce product after registration #24917
Hello calu,
I have checked and it is working for me message pope up showing on both compose screeen as well as reply form. Please check the screen shot
Regards
Ravi - Ravi on August 23, 2019 at 9:17 am in reply to: BuddyPress Featured Members – Make featured member tab the default #24916
Hello Ricardo,
Thank you for posting. Please use the following code to make featured members tab as default.
/** * Set default activity directory tab for BuddyPress */ function buddydev_custom_set_default_members_directory_tab() { // If user is not logged in or // If the scope is already set, do not do anything ok. if ( ! function_exists( 'bp_featured_members' ) || isset( $_COOKIE['bp-members-scope'] ) ) { return ; } // additional check for members dir if ( ! bp_is_members_directory() ) { return ; } setcookie( 'bp-members-scope', 'featured',null, '/' ); $_COOKIE['bp-members-scope'] = 'featured'; } add_action( 'bp_template_redirect', 'buddydev_custom_set_default_members_directory_tab' );To make feauted tab as first position. You have to override members/index.php template.
just copy the template from plugin directory to active theme directory path like
buddypress/members/index.phpand put the action
<?php /** * Fires inside the members directory member types. * * @since 1.2.0 */ do_action( 'bp_members_directory_member_types' ); ?>above the following line
<li id="members-all">Please let me know if it works or not.
Regards
Ravi - Ravi on August 23, 2019 at 8:23 am in reply to: [Resolved] BuddyPress Profile Completion not restricting to profile #24914
Hello Mike,
Thank you for the posting. Please test with default theme if still got the issue try with only BuddyPress and BuddyPress Profile Completion plugin active and let me know if it works or not.
There might be chances that your theme or any custom pluign causing the issue.Regards
Ravi - Ravi on August 22, 2019 at 11:21 am in reply to: I need a way to share single images from a gallery to facebook? #24864
Hello Audiomonk,
Please try the latest plugin I have made some changes to it and let me know.
https://github.com/mediapress/mpp-social-share/archive/master.zip
Regards
Ravi - Ravi on August 22, 2019 at 4:34 am in reply to: [Resolved] How do I only hide admin accounts with Profile Visibility Manager? #24857
Hello Kurt,
Thank you for the acknowledgement.
Regards
Ravi - Ravi on August 21, 2019 at 7:26 am in reply to: Is it possible to store the video in vimeo instead of locally? #24809
Hello Vanessa,
Sorry for the late reply. Please go the following url:
https://developer.vimeo.com/api/reference/videos#upload_videoand after login to your vimeo and try the option “try it out” with your credentials and with you video url from the server.
Give it a shot and let me know if your video is uploading correctly or not.
Please try the updated plugin code
Regards
Ravi- This reply was modified 7 years, 2 months ago by
Ravi.
- This reply was modified 7 years, 2 months ago by