function social_articles_load_sub_template($template)
{
    if (empty($template)) {
        return false;
    }
    if (bp_sa_is_bp_default()) {
        //locate_template( array(  $template . '.php' ), true );
        if ($located_template = apply_filters('bp_located_template', locate_template($template, false), $template)) {
            load_template(apply_filters('bp_load_template', $located_template));
        }
    } else {
        bp_get_template_part($template);
    }
}
<?php

/**
 * BuddyPress - Users Home
 *
 * @package BuddyPress
 * @subpackage bp-default
 */
global $bp;
if (bp_sa_is_bp_default()) {
    get_header('buddypress');
    ?>

    <div id="content" class="social-articles-content">
        <div class="padder">

            <?php 
    do_action('bp_before_member_home_content');
    ?>

            <div id="item-header" role="complementary">
                <?php 
    locate_template(array('members/single/member-header.php'), true);
    ?>
            </div>

            <div id="item-nav">
                <div class="item-list-tabs no-ajax" id="object-nav" role="navigation">
                    <ul>
                        <?php 
    bp_get_displayed_user_nav();
 function bp_sa_add_template_stack($templates)
 {
     if (bp_is_current_component('social_articles') && !bp_sa_is_bp_default()) {
         $templates[] = SA_PLUGIN_DIR . '/includes/templates';
     }
     return $templates;
 }