iionly / recentdiscussions
This plugin adds a widget that lists all the discussions in which a user recently took part in.
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:elgg-plugin
Requires
- composer/installers: >=1.0.8
This package is auto-updated.
Last update: 2024-12-12 06:10:29 UTC
README
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
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).
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):
// 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.
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.