BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24441

    Please do download and upgrade. It is available on the site now.
    I am looking forward to your feedback.

  • Keymaster
    (BuddyDev Team)
    Posts: 24441

    Hi Rojo,
    Thank you.

    I have updated both the plugins now. It fixes the typo and allows you to control where to redirect from the BuddyBlog settings.

    Please make sure o upgrade to BuddyBlog 1.1.3 and Simmple Front End Post 1.2.1.
    The redirect feature needs BP Simple Front End Post 1.2.1

    If you are looking for easy upgrade, you might want to install BuddyDev Dashboard, that allows automatic upgrade for our plugins.

    https://buddydev.com/support/forums/topic/now-you-can-get-automatic-upgrades-for-all-buddydev-plugins/

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

  • Keymaster
    (BuddyDev Team)
    Posts: 24441

    Hi Rojo,
    Thank you.
    I am glad that you figured out most 🙂

    For the typo and the redirect, I will update the plugin again today and post back then.

  • Keymaster
    (BuddyDev Team)
    Posts: 24441
  • Keymaster
    (BuddyDev Team)
    Posts: 24441

    Hi Rojo,
    Welcome to the BuddyDev Forums.

    I am sorry that we could not get back to you over mail. Things have been a little bit hectic here as we are trying to improve the support experience.

    Now getting back to the topic, which version of BuddyBlog you are using? Is it version 1.1 or above? If yes, most of the things you want can be configured from Admin settings.

    Please visit Dashboard->settings and click on the ‘BuddyBlog’ menu. You will see the settings option there.

    1. Please check the settings for ‘Show single posts on user profile?’ make sure it is set to yes. That will make the posts to be linked on profile. They will be still visible on the blog archive post(on main site, I will get back on excluding in a minute.

    2. To exclude the posts from the main blog:- There are multiple ways to achieve it. I am not sure which will suit you the best, so I will list both the approach.

    2a) If possible, you can create a custom post type and select that as the BuddyBlog post type from the settings page. This will make sure that the custom post type is never visible on your main blog.

    2b) Second approach is to limit posts to 1 category and exclude that category from main blog.

    It will need some code

    
    add_action( 'bsfep_post_saved', 'buddydev_add_default_category_to_post' );
    function buddydev_add_default_category_to_post( $post_id ) {
    	
    	$post = get_post( $post_id );
    	
    	
    	if( ! $post )
    		return ;
    	if( $post->post_status == 'publish' ) {
    	
    		$term = 'alpha-beta';//change this to your category slug
    
    		wp_set_object_terms( $post->ID, $term, 'category');
    	}
    }
    
    

    Please change ‘alpha-beta’ to your category slug in the above. Make sure you have Enable taxonomy disabled in the settings. Now when the user will post, It will be assigned the given category.

    Excluding category

    
    function buddyblog_custom_exclude_category( $query ) {
    	//don't modify in admin list or on BuddyPress pages
    	if( is_admin() || is_buddypress() )
    		return ;
    	
        if ($query->is_main_query() ) {
            $query->set( 'cat', '-32' );//IMPORTANT: change 32 to your category id. Please make sure to keep the minus(-)
        }
    	
    }
    add_action( 'pre_get_posts', 'buddyblog_custom_exclude_category' );
    

    Make sure to change 32 to the user category id.

    I will prefer the first approach though as that is very straightforward

    3. Change slug ‘buddyblog’ from url

    
    define( 'BP_BUDDYBLOG_SLUG', 'some-slug-that-you-want');
    
    

    Put that code in the bp-custom.php( link: https://buddydev.com/docs/guides/guides/buddypress-guides/what-is-bp-custom-php/) and that should do it.

    Let me know if you need further assistance.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24441
    Brajesh Singh on in reply to: [Resolved] Dates in Testimonials are not localized #55

    Thank you for being a valuable member and a good friend Hans.
    Always happy to be at your service 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 24441

    Hi Tim,
    No problem. At BuddyDev, we value your membership. For refunds, we have a no question policy. Your happiness is more important.
    All the best with your project and please do let us know in future if we can be of any help.

  • Keymaster
    (BuddyDev Team)
    Posts: 24441
    Brajesh Singh on in reply to: [Resolved] Dates in Testimonials are not localized #50

    Hi Hans,
    I have put an update now.
    Can you please check version 1.0.6
    https://buddydev.com/plugins/bp-user-testimonials/

    Please note, there is a change in the name of plugin directory. It has been changed from ‘bp-testimonial’ to ‘bp-user-testimonials’ to allow us enable automatic upgrade for this plugin in future.

    While upgrading from version 1.0.5 to 1.0.6(It will need manual update), first delete the old plugin and then upload this one.

    Please do let me know if this works for you or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24441

    Hi Hans,
    1. When WordPress check for the new plugins, it will check for BuddyDev for any new updates available.
    2. If an update is available, you can see the change log by clicking view details.
    3. If you plan to upgrade it automatically, you can click on upgrade now link and It will be automatically upgrade.

    The process and behavior is same as normal WordPress upgrade routine. No forced update. By automatic upgrade I meant to say that you can just click and upgrade from the admin dashboard(like you do for other WordPress plugins).

    PS: If it is not privacy related and you don’t mind, I will love to bundle your languages file in the plugin if you allow.

  • Keymaster
    (BuddyDev Team)
    Posts: 24441

    Thank you for the reply Hans.
    In next update of the client plugin, I will make sure we trim the spaces to avoid such issues. Since that will be automatic upgrade, so no need to worry about.

    I will make another post about the changes we are making/we have made(mostly renaming the slug/directory) That will need manual update.(There are 2-3 plugins whose slug does not match their directory name at the moment).