<?php
/**
 * Activity Tab Template for Layout 1
 * 
 * Uses User Activity module if available
 */

// Check if User Activity module is available
if ( class_exists( 'WPUF_User_Activity' ) && isset( $user ) ) {
    // Set the user_id in GET so the User Activity module can access it
    $_GET['user_id'] = $user->ID;
    
    // Use the User Activity module's display
    do_action( 'wpuf_ud_profile_sections' );
}