I'm trying to use php to cast the votes on itself (review) and node reference (song).

Obviously it's simple to choose between the two, using the options, but casting the votes on both would be uber useful for myself.

Can someone help me out with this tidbit? thanks so much!

Comments

ManyNancy’s picture

Status: Active » Fixed

The trick is not disable fivestar voting on the review itself and add a fivestar cck field that points to the node reference field.

2ndChanceTech’s picture

Status: Fixed » Active

How does enabling five star on the node itself, make that field give an average of all the fivestars in it?

That simply lets the user rate the review. I don't want it to be rateable, I want the average to be displayed.

Example: This would be on the "Review" type.

Rate1 (Five star node_reference)
Rate2 (Five star node_reference)
Rate3 (Five star node_reference)
Rate4 (Five star node_reference)

Rate5 (Average of Rate 1-5) <- Display Only

Since there is a field for php to choose a target, I'm assuming that 2 targets can be chosen.

perhaps leaving the status open till it's confirmed working, would be wise, for others that may have input. Thanks anyways, I do appreciate you trying to help.

Energyblazar’s picture

Have u found any solution i wish to do the same with Drupal 7 and latest fivestar module.

I wish to use php to cast the votes on group (created via organic groups) and user.

whiteph’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Sorry, Drupal 6 is end of life, and is no longer supported.