iionly/recentdiscussions

This plugin adds a widget that lists all the discussions in which a user recently took part in.

2.0.0 2015-09-26 10:52 UTC

This package is auto-updated.

Last update: 2024-10-12 05:46:19 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

  1. 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,
  2. Copy the recentdiscussions folder in the mod directory of your Elgg installation,
  3. Enable the plugin in the admin section.
  4. The widget can now be added to profile pages/dashboards.
  5. Optionally: if you have the Widget Manager plugin installed, you can add the recentdiscussions widget to your index page.