BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Hide the bp type box and mpp on website 2 #47761

    Hello Daniel,

    Thank you for the acknowledgment. My changes only have an effect on the activity directory. It might be an issue with your theme. Also, give it a try after deactivating all other plugins temporarily. If the issue still persists, please contact your theme author for the same.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Hide the bp type box and mpp on website 2 #47759

    Hello Daniel,

    I have checked the staging server and it is working fine on my end i.e. redirecting me to the message screen once clicked on notification. One issue I have faced is that the notification bell showing a new notification is a bit delayed or refreshing the page.

    Regards
    Ravi

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

    Hello Dante,

    Sorry for the inconvenience. Can please share the screenshot of the issue you are facing so that I can help you?

    Regards
    Ravi

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

    Hello Lefteris,

    Thank you for sharing the code. I will look at it and will update you.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Buddyblog activity button #47671

    Hello Tosin,

    Please try in the following way:

    
    if ( 'new_classified' == $activities_template->activity->type ) {
    		// Put your button code here.
    }
    
    

    Regards
    Ravi

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

    Hello Lefteris,

    Sorry for the delayed reply. I have checked the query again and it has given me the right result. I am sharing the screenshot of the query I have executed. Please take a look.

    Normal result for posts
    https://tinyurl.com/2qdd8jw7

    Lasted published posts
    https://tinyurl.com/2kd2gpcu

    Please share your query so that I can check.

    Regards
    Ravi

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

    Hello Vitor,

    Thank you for the posting. As per my understanding, you want to show the follower count of the author on a single post.

    Please let me know

    Regards
    Ravi

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

    Hello Lefteris,

    Thank you for the acknowledgment. I will look at it on the day’s end and will update you.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Buddyblog activity button #47588

    Hello Tosin,

    Try the following code:

    
    add_action( 'bp_activity_entry_content', function () {
    	global $activities_template;
    
    	if ( ! function_exists( 'bblpro_get_post_edit_link' ) || empty( $activities_template->activity ) || empty( $activities_template->activity->secondary_item_id ) ) {
    		return;
    	}
    
    	$post_id = $activities_template->activity->secondary_item_id;
    	$form_id = bblpro_post_get_form_id( $post_id );
    
    	if ( $form_id ) {
    		echo bblpro_get_post_edit_link( $post_id, array( 'label' => esc_html( 'Edit or Promote This Post' ) ) );
    	}
    } );
    
    

    Regards
    Ravi

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

    Hello Lefteris,

    Please try the following SQL query:

    
    SELECT ID, post_title, post_author, MAX(post_date) FROM wp_posts WHERE post_type = 'post' AND post_status = 'publish' GROUP By post_author;
    
    

    Please let me know if it helps or not.

    Regards
    Ravi