<div id="item-buttons">
					<?php 
do_action('bp_member_header_actions');
?>
				</div>
				<?php 
do_action('bp_profile_header_meta');
?>
			</div>
		</div>


	<div id="subnav" class="item-list-tabs no-ajax" role="navigation">
			<ul>
<!--		<?php 
if (bp_is_user_activity() && !thatcamp_activity_type()) {
    ?>
		<li id="activity-filter-select" class="last">
			<label for="activity-filter-by"><?php 
    _e('Show:', 'thatcamp');
    ?>
</label>
			<select id="activity-filter-by">
				<option value="-1"><?php 
    _e('Everything', 'thatcamp');
    ?>
</option>

				<?php 
    if (!bp_is_current_action('groups')) {
        if (bp_is_active('blogs')) {
Exemple #2
0
 *
 * @package thatcamp
 * @since thatcamp 1.0
 */
?>

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

<?php 
get_template_part('members/single/content-header');
?>

<?php 
if (is_user_logged_in() && bp_is_my_profile() && (!bp_current_action() || bp_is_current_action('just-me')) && !thatcamp_activity_type()) {
    get_template_part('activity/post', 'form');
}
do_action('bp_after_member_activity_post_form');
do_action('bp_before_member_activity_content');
?>

<div class="activity" role="main">

	<?php 
get_template_part('activity/activity', 'loop');
?>

</div>

<?php 
Exemple #3
0
/**
 * Fixes directory titles
 */
function thatcamp_filter_title($full_title, $title, $sep, $sep_location)
{
    if (bp_is_groups_component() && bp_is_directory()) {
        return 'THATCamp Directory | THATCamp';
    } else {
        if (bp_is_members_component() && bp_is_directory()) {
            return 'People Directory | THATCamp';
        } else {
            if (bp_is_activity_component() && bp_is_directory()) {
                return 'THATCamp Activity | THATCamp';
            } else {
                if (bp_is_register_page()) {
                    return 'Sign up for an account | THATCamp';
                } else {
                    if (bp_displayed_user_id()) {
                        if (bp_is_user_profile()) {
                            return str_replace('Extended Profiles', 'Profile', $title);
                        } else {
                            if (bp_is_user_activity()) {
                                $atype = thatcamp_activity_type();
                                switch ($atype) {
                                    case 'blog_posts':
                                        $tag = 'Blog Posts';
                                        break;
                                    case 'blog_comments':
                                        $tag = 'Blog Comments';
                                        break;
                                    case 'forums':
                                        $tag = 'Forum Posts';
                                        break;
                                    default:
                                        return str_replace(' Streams', '', $title);
                                        break;
                                }
                                return str_replace(' Streams', '', $full_title) . ' ' . $tag;
                            } else {
                                return $title;
                            }
                        }
                    } else {
                        return $full_title;
                    }
                }
            }
        }
    }
}