Recent discussions plugin for Elgg 2.X
Latest Version: 2.0.0
Released: 2015-09-24
Contact: iionly@gmx.de
License: GNU General Public License version 2
Copyright: (C) iionly 2012, (c) Jean-Baptiste Perriot 2009, (*1)
Description
The plugin offers a widget to be added to the profile page / dashboard which shows / links to the latest group discussions the user has participated in (latest 5, 10, 15, 20 depending on how the widget is configured by the user). The widget won't show the starting entry of a discussion (= Elgg entity) but only the latest comments the user made in group discussions (= Elgg annotations)., (*2)
Additionally, you can include the "Recent discussions" widget also on your index page. Assuming you are using the custom_index plugin add the following lines to the file mod/custom_index/views/default/page/layouts/custom_index.php at the appropriate place (depending on where you want the Recent discussions widget to be placed within your index page):, (*3)
// Recent discussions plugin
if (elgg_is_active_plugin('recentdiscussions')) {
$html = elgg_view('index/recentdiscussions');
echo elgg_view_module('featured', elgg_echo('recentdiscussions:title'), $html, $mod_params);
}
If you are using the Widget Manager plugin, the recentdiscussions plugins comes with a widget you can add to your index page using the Widget Manager plugin without the need to modify any code., (*4)
Installation
- If you have a previous version of the Recent discussions plugin installed, disable the plugin, then remove the plugin's folder from the mod directory before installing the new version,
- Copy the recentdiscussions folder in the mod directory of your Elgg installation,
- Enable the plugin in the admin section.
- The widget can now be added to profile pages/dashboards.
- Optionally: if you have the Widget Manager plugin installed, you can add the recentdiscussions widget to your index page.