Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

  • cmavrikas
    Participant

    @cmavrikas

    Hello to everybody and a happy new year!

    I just want to bring back the issue how can group activity comments be displayed like regular activities: in stream mode.

    The code @imath provided works fine for the SWA, but I do not get the same behaviour for group activity stream.

    Thank you!


    cmavrikas
    Participant

    @cmavrikas

    Hello,

    how can group activity comments be displayed like regular activities: in stream mode? the code @imath provided works fine for the SWA, but I do not get the same behaviour for group activity stream.

    Thank you


    cmavrikas
    Participant

    @cmavrikas

    It turned out to be a problem caused by the caching plugin used by my hosting provider!


    cmavrikas
    Participant

    @cmavrikas

    Hi,
    you are probably right, but I am not sure where is the source of the problem. I just discovered that for every new user that registers in the site (with a user-name and a public-name), what I see in the admin/users is:

    Username: user-name
    First name: user-name
    Nickname: public-name
    Display name publicly as: user-name is selected and not public-name!!!

    Why the user-name and not the public-name is selected? this drives me crazy… Whatever new name the user edit in his profile, it is never selected!


    cmavrikas
    Participant

    @cmavrikas

    Hello @imath, I can confirm that the code you are proposing is working fine, thank you!

    May I take the opportunity to ask you, how would it be possible to display not just the most recent comment of an old update on top, but the old update together with all its comments.

    I.e. the stream to display all updates and their nested comments in a chronological way, but the criteria to be the most recent date of either the update or any of its corresponging comments.

    The default stream of BuddyPress hides any new comment deep down nested in its corresponding update. I would like the whole group to come up.

    I hope my english was clear enough!
    Thank you


    cmavrikas
    Participant

    @cmavrikas

    Dear @danbp,

    I was using the snippet that you proposed for forcing the stream of comments cronologically with success. It seems that with the recent BuddyPress updates it does not work anymore.

    Do you have any idea about that?

    Thank you very much,
    Charalampos

    https://buddypress.org/support/topic/blog-comments-not-appearing-in-activity-stream/#post-186091

    // Force chronological comment display on the SWA

    function bpfr_stream( $qs, $object ) {
    	if ( 'activity' != $object ) {
    		return $qs;
    	}
    	
    	$qs = wp_parse_args( $qs, array() );
    	
    	$qs['display_comments'] = 'stream';
    	
    	return $qs;
    }
    add_filter( 'bp_ajax_querystring', 'bpfr_stream', 20, 2 );

    cmavrikas
    Participant

    @cmavrikas

    Hello,

    this is something I am searching around for a long time myself too. By default, the most recent updates are in the top. Even if there is a recent comment for an old update, that update remains hidden under the top.

    What would be ideal is to have the updates sorted by the most recent date, either of the update’s itself or one of its comment’s date. And be displayed together as a group.

    There has been a proposal in the past, but it just displays the single comment on top, as an extra to the blog of the original update.
    https://buddypress.org/support/topic/blog-comments-not-appearing-in-activity-stream/

Viewing 7 replies - 1 through 7 (of 7 total)
Skip to toolbar