Skip to:
Content
Pages
Categories
Search
Top
Bottom

Feature suggest: ratings in Group Directory

  • This plugin is fantastic!

    What would be awesome would be to have the rating show in the Groups Directory and be able to order the list by rating.

    One other thing: one user can post multiple reviews on the same group. This would make it easy to spam reviews. Would it be an idea to limit a user to a single (editable) review?

    Great work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of Bowe
    Bowe
    Participant

    @bowromir

    Those are two very good suggestions.. I completely agree :)

    Avatar of Boone Gorges
    Boone Gorges
    Keymaster

    @boonebgorges

    The ability to limit users to a single review per group is coming in the next version (the basics are already in https://github.com/boonebgorges/bp-group-reviews/commit/6d74553c17bb4c8392b4831e06e9b4f5d5dda675).

    It’ll be pretty easy to hook the group reviews into the group directory display: https://github.com/boonebgorges/bp-group-reviews/issues/#issue/5

    Sorting by group reviews is a whole other ball of wax. It can be done, but at the moment it involves reproducing the entire bp_has_groups() query class. Should be easier once BP 1.3 rolls out, at which point I will modify BPGR to take advantage.

    That’s great news, I really look forward to it.

    Avatar of mrhaanraadts
    mrhaanraadts
    Member

    @mrhaanraadts

    First of all, i like this plugin very much!

    My only problem with it right now, is that it is a static rating. I’d like to see it over a time periode (say a month). At the end of the period it is set to zero again. Then you can compare those periods, so you could see changes over time.

    Avatar of Boone Gorges
    Boone Gorges
    Keymaster

    @boonebgorges

    Wow, that’s a really interesting idea.

    Technically, it would be possible to do this now. Ratings are linked to activity items, and activity items are dated. So you could build a tool that gets activity items between a certain set of dates, and calculates ratings based on that. To make it more efficient, you could set it to run once per day (for instance) and cache the result until the next time it runs.

    In a future version of the plugin, I plan to convert the ratings from activity data to custom post types, which will make this kind of filtering and calculation a bit simpler.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.