BP Group Reviews 1.1 release notes
I just tagged version 1.1.1 (a 30-minutes-later-oops bugfix of 1.1) of the plugin. It contains a couple of new and handy features. Here’s a few words around what they are and how you, as a site admin, can configure them.
1) Limiting user reviews per member-group – By popular demand, I have enabled the ability to limit each user to one review per group. When a user visits the review page of a group she has already reviewed, she sees the content of her previous review, with an option to delete it if she’d like to leave a new one. If you don’t like this option, and you want users to be able to leave multiple reviews per group, put the following line in your bp-custom.php file:
`add_filter( ‘bpgr_allow_multiple_reviews’, create_function( false, “return true;” ) );`
With a bit of PHP wizardry, you could even build a fancier function, hooked to bpgr_allow_multiple_reviews, that permits multiple reviews based on a user-by-user or group-by-group basis. Yippee!
2) Displaying ratings in the group directory – Average ratings are now loaded into the $groups_template global and displayed on group directories. Don’t like the way I’ve done it? Put the following in your theme’s functions.php:
`remove_action( ‘bp_directory_groups_actions’, ‘bpgr_directory_rating’ );`
- The topic ‘BP Group Reviews 1.1 release notes’ is closed to new replies.