定制 iionly/recentdiscussions 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

iionly/recentdiscussions

最新稳定版本:2.0.0

Composer 安装命令:

composer require iionly/recentdiscussions

包简介

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

关键字:

README 文档

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.

统计信息

  • 总下载量: 18
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-09-26