Affecting Content Rating (read post)

GreenLED - April 18, 2008 - 09:30
Project:Voting API
Version:5.x-1.5
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have a problem. I have Fivestar installed -- and working. I also have UserReview installed -- and working. I would like to have it so that if someone submits a UserReview -- the FiveStar rating is affected. Is this easy to do or does it require some fancy footwork? The reason I filed this here is because Voting API holds the data (in the db) as I understand -- so I thought this might be the place to ask.

#1

Eaton - June 6, 2008 - 02:36
Status:active» closed

I'd suggest that you write your own module that implements hook_votingapi_recalculate(). It allows you to customize the 'results' that are saved every time a user casts a vote. You'd be able to do whatever custom tweaking of vote results is needed in that hook.

#2

GreenLED - June 25, 2008 - 18:38
Status:closed» active

I'd need someone to code this for me. Do you know anyone that would have the interest in it?

» Respectfully, GreenLED
» Stable Files . net

 
 

Drupal is a registered trademark of Dries Buytaert.