Jump to content

Listing owner approving reviews


JoshLewis

Recommended Posts

Just like comments in a blog it would be handy if a listing owner could approve/reject a review for a given listing type. Pondering on the best way to allow users to "sign up for trips", reviews seem like the best option (they are easy, searchable, show meta-data/fields, and manageable). Climbed Rainier last month with a few folks from Meetup. Fortunately there is a way to prevent inexperienced people from joining on the Meetup page (this is 100% safety related). If event reviews only displayed when approved by the listing owner this would be perfect for delegating people on a given trip. Additionally could have jr_experience to show their qualifications.

Looking through the dev filters I see Listing Allows User Reviews which is somewhat close. There doesn't seem to be a filter related to "Approving reviews". Ideally wanting something like:

if (category=='events' && isAuthor()) {
	function approve_user_reviews($allow, $params)
  {
    // Uncomment line below to dump filter arguments to the screen
    // dd($allow, $params);

    return $allow;
  }

  Clickfwd\Hook\Filter::add('listing_allows_user_reviews', 'approve_user_reviews', 10);
}

For mountains and most other categories would not want the listing owners to manage review approvals, hence the if() statement. Having listing owners manage reviews would be a game changer. More scenarios include hiring boards, people signing up for meetings with limited seats, events, and other scenarios with an occupation limit.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...