aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/views/default')
-rwxr-xr-xmod/profile/views/default/profile/profile_contents/activity.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/profile/views/default/profile/profile_contents/activity.php b/mod/profile/views/default/profile/profile_contents/activity.php
index 0184816e0..a9b8cce8c 100755
--- a/mod/profile/views/default/profile/profile_contents/activity.php
+++ b/mod/profile/views/default/profile/profile_contents/activity.php
@@ -16,8 +16,11 @@
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);
+ //select the correct river
+ if (get_plugin_setting('activitytype', 'riverdashboard') == 'classic')
+ echo elgg_view_river_items($vars['entity']->getGuid(), 0, '', '', '', '', $limit,0,0,false,true);
+ else
+ echo elgg_view_river_items($vars['entity']->getGuid(), 0, '', '', '', '', $limit,0,0,false,false);
} else {
echo "Riverdashboard not loaded";
}