BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25082
    Brajesh Singh on in reply to: [Resolved] display activitys posts randomly #50083

    Hi,
    Thank you for the question.
    I am assuming that you are referring to Sitewide activity stream and not the stream on user’s profile.

    This is doable but there is no good way to achieve it.

    I am sharing a proof of concept that will work but I highly discourage using it.

    
    /**
     * Make BuddyPress activity stream random.
     *
     * @author BuddyDev
     * This is a proof of concept that it is doable. We do not endorse doing it as it is error prone.
     */
    add_filter( 'bp_activity_paged_activities_sql', function ( $sql, $args ) {
    	// Let us find the limit clause.
    	$limits = explode( 'LIMIT', $sql );
    
    	// let us break the sql into two parts, one before order by and one after order by.
    	$query = explode( 'ORDER BY', $sql );
    
    	$sql = $query[0] . ' ORDER BY RAND() ';
    	if ( count( $limits ) == 2 ) {
    		$sql .= 'LIMIT ' . $limits[1];
    	}
    
    	return $sql;
    }, 10, 2 );
    
    

    Please put this code in your bp-custom.php and it will make sitewide BuddyPress activity random.

    Please let me know if it works for you or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25082
    Brajesh Singh on in reply to: Active Left Panel and Main Container Overlap #50078

    Hi Sotiris,
    I am very sorry. I don’t own iphone. I wish I could assist you better if there was any other way to reproduce it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25082
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25082

    Hi Daniel,
    You are welcome.
    Have a great day!

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25082

    Hi Sylvia,
    I am sorry for your experience.
    we have no association with Themeforest or Kleo theme developers.
    They are probably packing it without our knowledge(which is legal as the plugin is GPL).

    You will need to contact them for updates or will need to purchase from us for update.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25082
    Brajesh Singh on in reply to: Buddyblog Pro #50068

    Hi Kim,
    Thank you for using the plugin.
    In order to make the custom fields visible on single post, you will need to copy the shortcodes from the custom field list and add it in one of the meta box display fields.

    Please see this page for more details.
    https://buddydev.com/docs/buddyblog-pro/configuring-post-meta-fields-with-buddyblog-pro-post-form/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25082
    Brajesh Singh on in reply to: Active Left Panel and Main Container Overlap #50067

    Hi Sotiris,
    I am sorry, I see the issue in your screenshot but I am unable to re-create it.
    I have tried it in Safari on ipad mini(5th gen) ipadOS 16.5.1(20F75) and it is working as expected.

    https://pasteboard.co/HJA2JNAXMz9u.png

    I am very sorry but I lack the means to re-create it and assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25082

    Hi Daniel,
    Welcome back.
    I had a look.

    1. The community menu linked to a page that did not exist.

    To resolve it, I went to backend and from Settings->BuddyPress->Pages, selected “Groups” for the group page association.
    Then I wen to Appearance->Menu->Right Top Menu and updated your link to point to group creation page.

    Now, they are working.
    Please check.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25082
    Brajesh Singh on in reply to: BuddyPress Stealth Mode for Site Admin #50060

    HI Eric,
    I just tested. It seems to be working fine with BuddyBoss platform.

    If you find any issue, Please let me know. We will make sure it works.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25082
    This reply has been marked as private.