It seems the problem is this code:
function bp_activities() {
global $activities_template;
return $activities_template->user_activities();
if ( empty( $activity ) )
return false;
}
Is there anyway I can add this PHP in to display rather than the error message?:
<div id="message" class="info">
<p><?php _e( 'For help on using Fitness Social, please visit the Support pages.', 'buddypress' ) ?></p>
</div>