Replies
Hello Nicola,
Please post whole code here. You are using sothat I can check and provide you the solution.
Regards
Ravi- Ravi on August 29, 2019 at 12:50 pm in reply to: [Resolved] Hide activities of Admins & Editors in activitiy stream #25059
Hi Vivek,
Yes, It will affect.
Regards
Ravi - Ravi on August 29, 2019 at 6:16 am in reply to: Just Purchased BuddyPress Auto Activate Auto Login #25054
Hello Kevin,
Thank you for the purchase. I have tested Paid Membership Pro membership registration field with BuddyPress Auto register and Auto Login and it is working fine for me. For finding the bug please test with the default theme. If the issue still persists then try with only paid Membership Pro, BuddyPress and BuddyPress Auto register and Auto Login as an activated plugin. There might be a chance that any other plugin can also conflict with the functionality.
Please do let me know.
Regards
Ravi - Ravi on August 28, 2019 at 6:19 am in reply to: I need a way to share single images from a gallery to facebook? #25046
Hello Audiomonk,
Please try the following code. It will filter the canonical URL for single media page.
/** * Filter canonical url * * @param string $canonical_url Canonical url. * @param int $post_id Post Id. * * @return string */ add_filter( 'the_seo_framework_rel_canonical_output', function ( $canonical_url, $post_id ) { if ( ! function_exists( 'mpp_is_single_media' ) || ! mpp_is_single_media() ) { return $canonical_url; } $media = mpp_get_media( $post_id ); return mpp_get_media_permalink( $media ); }, 99, 2 );
Let me know if it works or not.
Regards
Ravi Hello Hannah,
You can choose both the options.
Regards
Ravi- Ravi on August 28, 2019 at 5:55 am in reply to: Redirect author archive page to BP profile tab with authors posts listing #25042
Hello Vivek,
Try the following URL. It allows you to add a custom tab with demo content.
https://gist.github.com/raviousprime/dd4edd6875709c8d4cc9a2b9bf044652
Regards
Ravi Hello Hannah,
Thank you for the posting. Yeah, It is a bit confusing. But we made like this because when you enable hide for reporter means it will not wait to reach the threshold to hide it from reporter it will hide as reporter report this Whereas In case of All it will mark hide when threshold will reach.
Regards
RaviHello Tosin,
Thank you for posting. It can be doable using the WordPress Cron features. You can check the documentation here.
https://codex.wordpress.org/Function_Reference/wp_schedule_event
All you need to do is
Step 1: Setup a cron job which runs daily one time.
Step 2: With callback function get all the posts form your categories whose published date is older than 30 days.
Step 3: Update post statusOr check this plugin
https://wordpress.org/plugins/post-expiration-date/
Regards
Ravi- This reply was modified 5 years, 11 months ago by
Ravi.
- This reply was modified 5 years, 11 months ago by
Hello Calu,
Thank you for sharing your thoughts. Yes, we have a plugin in a queue which allows hosting WordPress media on amazon s3 storage services. But it is in under progress. We will let you know when we will release this plugin.
Regards
RaviHello Torben,
Thank you for posting.
1. For commenting you can use the following code to allow non group member to comment on group activities.
add_filter( 'bp_activity_can_comment', function( $can ) { // Add conditions to restrict user. By default all logged in users can comment on activities. return true; }, 100 );
2. By default BuddyPress allowd public group member listing to all users. Are you looking for listing private group members listing tab to be visibe?.
Regards
Ravi