Replies
- Ravi on March 1, 2022 at 5:55 am in reply to: [Resolved] XProfile Custom Fields allowed file types #43627
Hello John,
Thank you for the acknowledgment. Please refer to the link:
This function output the field display.
You can use the ‘bpxcftr_file_display_data’ filter to modify the field output as per your need. Please check.
Regards
Ravi Hello Uros,
Look under BuddyBoss > Settings > Activity > Posts in Activity Feeds > WordPress from here you can enable Blog component. Just enable “WordPress Posts” this option.
Please let me know if it helps.
Regards
RaviHello Uros,
Thank you for your cooperation.
Regards
Ravi- Ravi on March 1, 2022 at 4:46 am in reply to: [Resolved] WordPress Comments in Buddypress main Activity Stream not show #43624
Hello Yuriix,
Thank you for posting here. Please disable the setting with the name “Allow activity stream commenting on posts and comments” under Dashboard > BuddyPress > Options > Activity Settings
Please let me know if it helps or not.
Regards
Ravi - Ravi on February 28, 2022 at 7:11 am in reply to: [Resolved] Join Blog Widget can´t be setted #43602
Hello Uros,
Thank you for the acknowledgment. I am glad that I could help.
it is a simple plugin. But we do not aim to provide anything other than joining at the moment. You may hire a developer if you need further customizations.
Regards
Ravi- This reply was modified 3 years, 4 months ago by
Ravi.
- This reply was modified 3 years, 4 months ago by
- Ravi on February 28, 2022 at 7:06 am in reply to: [Resolved] BuddyPress Activity Shortcode – Set length (word count) of the text #43600
Hello Yuriix,
Please try to use the following code:
/** * Excerpt length of activity in shortcode context * * @param int $length No. of words. * * @return int */ function buddydev_modify_activity_excerpt_length( $length ) { return 50; } add_action( 'bp_activity_stream_shortcode_before_generate_content', function() { add_filter( 'bp_activity_maybe_truncate_entry', '__return_true' ); add_filter( 'bp_activity_excerpt_length', 'buddydev_modify_activity_excerpt_length', 100 ); } ); add_action( 'bp_activity_stream_shortcode_after_generate_content', function () { remove_filter( 'bp_activity_maybe_truncate_entry', '__return_true', 10 ); remove_filter( 'bp_activity_excerpt_length', 'buddydev_modify_activity_excerpt_length', 100 ); } );
Please let me know if it helps you or not.
Regards
Ravi - Ravi on February 28, 2022 at 6:55 am in reply to: [Resolved] How can I follow my affiliateWP referrer? #43599
Hello Renaat,
Thank you for the acknowledgment. I am glad that I could help.
Regards
Ravi - Ravi on February 28, 2022 at 6:46 am in reply to: BuddyPress Activity Shortcode – primary_id attribute not working #43597
Hello Pedrogarcia,
Thank you for the acknowledgment. Please make sure the group has posted activities within it. If Group has an activity and still showing the message there might be chances that any other plugin or your active theme customizing or conflicts with the activity loop. Please try after deactivating other active plugins except for BuddyPress and Activity Shortcode and switching to the default theme temporarily and let me know if the issue still persists or not.
Regards
Ravi - Ravi on February 28, 2022 at 5:49 am in reply to: [Resolved] XProfile Custom Fields allowed file types #43592
Hello John,
Sorry for the delayed reply. Please use the following code:
add_filter( 'bpxcftr_allowed_extensions', function ( $extensions ) { if ( isset( $extensions['file'] ) ) { $new_extensions = array( 'm4a', 'flac', 'mp3', 'mp4', 'aiff', '3gp' ); $extensions['file'] = array_merge( $extensions['file'], $new_extensions ); } return $extensions; } );
It will allow users to upload files of the mentioned extension. But File will be shown as a download link. Also, It might not support all formats.
Regards
Ravi - Ravi on February 25, 2022 at 2:05 pm in reply to: [Resolved] BuddyPress Activity Shortcode – Set length (word count) of the text #43572
Hello Yuriix,
Thank you for the acknowledgment. I will check for post content type activity and will let you know.
Regards
Ravi