BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Yuriix,

    Please 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 150;
    }
    
    add_action( 'bp_activity_stream_shortcode_before_generate_content', function() {
    	add_filter( 'bp_activity_excerpt_length', 'buddydev_modify_activity_excerpt_length' );
    } );
    
    add_action( 'bp_activity_stream_shortcode_after_generate_content', function () {
    	remove_filter( 'bp_activity_excerpt_length', 'buddydev_modify_activity_excerpt_length', 10 );
    } );
    
    

    Please let me know if it helps or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Join Blog Widget can´t be setted #43550

    Hello Uros,

    It was a bug introduced after WordPress’s new widget screen. I have fixed this in the newer version of the plugin. Please upgrade and give it a try.

    For redirect: widget gives a setting for redirect feature you can use this setting to redirect the user.
    For bbPress: This plugin does not deal with bbPress. So I can not help you much with this.

    Bug Report Reference: https://github.com/WordPress/gutenberg/issues/33443

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Yuriix,

    Thank you for posting here. There is no attribute supported by plugin to limit no. of words in an activity. But you can use the filter name ‘bp_activity_excerpt_length’ to limit the character count.

    If you need assistance with the code Please let me know.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] XProfile Custom Fields allowed file types #43547

    Hello John,

    Thank you for posting here. Please let me know which file type do you want to allow. Currently, supported files are:

    File field: ‘doc’,’docx’ and ‘pdf’
    Image field: ‘jpg’, ‘jpeg’, ‘gif’ and ‘png’ type files

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Pedrogarcia,

    Welcome to the BuddyDev Forums. Please try the following shortcode to list group activities:

    
    [activity-stream object=groups primary_id=20]
    
    

    If you want to allow users to post. It will include the default activity posting form. It is experimental and may have issues with some of the themes as mentioned on the plugin page.

    Please let me know if you are able to list the activities of the group or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Join Blog Widget can´t be setted #43526

    Hello Uros,

    Welcome to the BuddyDev Forums and Sorry for the inconvenience. I will check it on my local development server and get back you in 24 hours.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: activity privacy plugin #43523

    Hello Giuseppe,

    Thank you for posting here. Private activities are those activities which only visible to the activity owner and site admin.

    Please let me know if you need further assistance.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Using animated gif as avatars #43503

    Hello Rob,

    Please ignore my last reply. I have rechecked your requirement and it seems you are asking for BuddyPress Avatar. So, Till now there is no support is added for Gif Avatar in BuddyPress. We will let you know once added.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Using animated gif as avatars #43502

    Hello Rob,

    Sorry for the inconvenience. I have checked the plugin with Community Builder Theme and it is working fine for me. The test case I have tested after uploading gif image via the ‘Add Media’ button on the edit post screen and After uploading made some changes to dimensions of the image.

    Please correct me if my test case is different that yours so that I can debug further this issue.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Adding notification counter to #43501

    Hello Carsten,

    Thank you for the acknowledgment. I have checked the Shortcode on my local development server and it is working fine for me. The Shortcode is correctly showing the notifications as well as the list of notifications when I have added it to a page.

    Please check the screenshot:
    https://www.awesomescreenshot.com/image/22787850?key=c4e7b181b1abf7d0df4751fa39f42e3f

    Regards
    Ravi