描述
BP Favorite Groups allows users to save their favorite BuddyPress groups to there profile. Much like liking a Facebook Page, users can favorite a group and view the group activities on their wall.
The plugin also come packed with a simple short code for displaying a user’s favorite groups [sp_favorite_groups user_id=1] . The shortcode will display a list of the user’s favorite groups and link to the group.
You can modify the language file and change the button “Favorite Group” to you liking. Some example are; “Like Group”, “Bookmark Group” etc
屏幕截图

Favorite Button on Group Page

Filter Activity by Favorite Group

List of Favorited Groups by a user
安装
From your WordPress dashboard
- Visit ‘Plugins > Add New’
- Search for ‘BP Favorite Groups’
- Activate BP Favorite Groups from your Plugins page.
From WordPress.org
- Download BP Favorite Groups.
- Upload the ‘bp-private-avatar’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
- Activate BP Favorite Groups from your Plugins page.
常见问题
-
Can a user remove a group from their favorites list?
-
Yes! Users can click the ‘Unfavorite Group’ button to remove the group from the list
-
Does a user have to be a member of the group to favorite a group?
-
Yes. Users must join a group in order to Favorite it.
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0.0
Initial Release
1.0.1
- Security *
- Added ABSPATH guard
- Added AJAX nonce verification and login checks
- Validated group membership before favorite/unfavorite
-
Sanitized shortcode user_id attribute
-
Improvements *
- Tested up to WordPress 7.0
- Requires PHP 7.4