hypejunction/group_suggestions
Composer 安装命令:
composer require hypejunction/group_suggestions
包简介
Group suggestions for Elgg
README 文档
README
Features
- Suggests groups to join based on shared tags and relationships
Notes
Matching algorithm matches suggested groups based on:
- Members in user's groups who have also joined other suggested groups
- Tags that shared between the user and the suggested groups
Suggested groups are ordered by score that includes total number of shared members and tags.
If you want to list reasons for the suggestion, you can access this info through volatile data:
// Total count of shared members and tags $group->getVolatileData('select:score'); // Concatenated string of members in user's groups who have joined this suggested group $group->getVolatileData('select:shared_members'); // Concated string of tag metadata value ids shared between the user and this suggested group $group->getVolatileData('select:shared_tags');
You can constrain any set of groups to only include suggested groups ordered by score, by filtering the options through:
$options = group_suggestions_add_match_queries($options); echo elgg_list_entities($options);
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2016-02-22