<?php
if(defined('mnminclude')){
	include_once('friends_activity_settings.php');

	// tell pligg what pages this modules should be included in
	// pages are <script name> minus .php
	// index.php becomes 'index' and upcoming.php becomes 'upcoming'
	$include_in_pages = array('all');
	$do_not_include_in_pages = array();
	
	
	if( do_we_load_module() ) {
		module_add_action('friends_activity_function', 'friends_activity', '');
		
		module_add_action_tpl('tpl_pligg_story_start', friends_activity_tpl_path . 'friends_activity_start.tpl');
		module_add_action_tpl('tpl_pligg_story_end', friends_activity_tpl_path . 'friends_activity_end.tpl');
		
		include_once(mnmmodules . 'friends_activity/friends_activity_main.php');
	}
}	
?>