aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default/profile/profile_contents/activity.php
blob: 0184816e0a5188ce764dd7f0968f4f5dbe713518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
 * Elgg user display (details)
 * @uses $vars['entity'] The user entity
 */
 $limit = 20;
?>
<div id="profile_content">
	<?php
	if(is_plugin_enabled('thewire')) {
		// users last status msg, if they posted one
		echo elgg_view("profile/status", array("entity" => $vars['entity']));
	}
	if(is_plugin_enabled('conversations')) {
		// users last status msg, if they posted one
		echo elgg_view("profile/status", array("entity" => $vars['entity']));
	}
	if(is_plugin_enabled('riverdashboard')) {
		// users last 10 activites
		echo elgg_view_river_items($vars['entity']->getGuid(), 0, '', '', '', '', $limit,0,0,false,false);
	} else {
		echo "Riverdashboard not loaded";
	}
	?>
</div>