function show_group_events_profile_body()
 {
     global $bp;
     $timestamp = $this->_get_requested_timestamp();
     $collection = new Eab_BuddyPress_GroupEventsCollection($bp->groups->current_group->id, $timestamp);
     $events = $collection->to_collection();
     if (!class_exists('Eab_CalendarTable_EventArchiveCalendar')) {
         require_once EAB_PLUGIN_DIR . 'lib/class_eab_calendar_helper.php';
     }
     $renderer = new Eab_CalendarTable_EventArchiveCalendar($events);
     do_action('eab-buddypress-group_events-before_events');
     echo '<h3>' . date_i18n('F Y', $timestamp) . '</h3>';
     do_action('eab-buddypress-group_events-after_head');
     echo $this->_get_navigation($timestamp);
     echo $renderer->get_month_calendar($timestamp);
     echo $this->_get_navigation($timestamp);
     do_action('eab-buddypress-group_events-after_events');
 }
$time = strtotime("{$year}-{$month}-01");
$events = defined('EAB_CALENDAR_ARCHIVE_TEMPLATE_USE_CUSTOM_QUERY') && EAB_CALENDAR_ARCHIVE_TEMPLATE_USE_CUSTOM_QUERY ? Eab_CollectionFactory::get_upcoming_events($time) : $wp_query->posts;
get_header('event');
?>
	<div id="primary">
        <div id="wpmudevevents-wrapper">
            <h2><?php 
echo sprintf(__('Events for %s', Eab_EventsHub::TEXT_DOMAIN), date_i18n("F Y", $time));
?>
</h2>
            <div class="wpmudevevents-list">
            <?php 
if (!class_exists('Eab_CalendarTable_EventArchiveCalendar')) {
    require_once EAB_PLUGIN_DIR . 'lib/class_eab_calendar_helper.php';
}
$renderer = new Eab_CalendarTable_EventArchiveCalendar($wp_query->posts);
echo $renderer->get_month_calendar($time);
?>

				<div class="event-pagination">
					<?php 
$prev = $time - 28 * 86400;
$next = $time + 32 * 86400;
?>
					<a href="<?php 
echo Eab_Template::get_archive_url($prev, true);
?>
">Prev</a>
					<a href="<?php 
echo Eab_Template::get_archive_url($next, true);
?>
 protected function _get_js()
 {
     if (!$this->_use_scripts) {
         return false;
     }
     return parent::_get_js();
 }