I have been working on a simple solution for letting users comment on a node AND having the option to rate the node.

There is alot of different modules outthere to do this with but I cant really seem to get any of them to work.

I have followed the thread about combining Fivestars and NodeComment (http://drupal.org/node/148150).....this thread ends without really solving any problems (atleast for me and alot of others in there). Also a user called "Michelle" has been very active on this topic and I have tryed to follow a guide she made, again with no luck......

At its core my problem is that all the votes given by users, while commenting on a node, dosent get tally'd in the "parent" nod. So I have alot of comments with individual ratings but in the Node they are trying to rate I just see 5 blank stars (as if no votes was made at all).

Searching widely on different forums and such I find that a HUGE amount of people have the exact same problem. So what to read in to that? Is it simply too hardcore for me? Do you need a hardcore PHP core hacking degree? Is Voting API just too bugged in current releases?

To be honest it almost seems like a joke, that a content management tool like drupal which has achieved so much and works so well, dont have a better module designed for voting. (I didnt mention it but im a php newbie with only the basic understanding of programming.)

Final Question: Is it still a huge burden to all (almost all) to make a simple system where votes in a comment is tallyed in the "parent"?

Comments

quicksketch’s picture

Title: Problems getting the "parent" node to tally the ratings made in comments to the "parent" » Make it easy to do ratings of parent node in comments
Category: support » feature

To be honest it almost seems like a joke

Except it's not really funny when you need to get something working :P

It's great to have someone give a fresh perspective on things that are overly difficult that should be very easy. Fivestar (and many other modules) are usually developed for one particular need, then abstracted so others can use them. It happens that what Fivestar does now meets all the needs of the original people that paid for the development, or of others that contributed additional functionality. Not to say we can't make this easier (and for free). It just takes longer.

Anyway! On to solutions!

It would be easy to add built in support for node comments and give users the option to choose "Parent Node" when it's available. Something sort of like this:

Parent Nid:

( • ) Node id: [                    ]
(   ) Node comment parent nid
(   ) PHP code:
| ---------------------------- |
|                              |
|                              |
--------------------------------

Unfortunately this still means a dependency on node comment for this approach. The other option is making fivestar with the stock comment module, which would be more difficult to implement but easier to use. Imagine on the node type form (admin/content/types/x) we just add another fieldset which is the same as the current one, only it affects comments left for that node, rather than being a form on the node itself. This'd probably be the more universal way to go, but like I said it'd take more work.

michelle’s picture

http://shellmultimedia.com/rate-review-2 is the tutorial in question. It works with the 1.7 version of the module. It seems like maybe something happened in 1.8 to break it and I haven't figured out what, yet.

Michelle

JonSTeps’s picture

I believe adding fivestar functionality to the default comments would be the ideal solution for many designers seeing as it could be less resource intensive than installing a extra module. It also seems that it would be more user friendly. I've tried many different reviewing modules, node-review, user review, etc and all don't provide the functionality i need for my site. It seems that many people need reviewing features like those found on amazon.com. As infini says this seems like it should be easy, but it also seems like no ones gotten it fully working yet.

So come on folks, is there any expert out there with the info to really get this working?

michelle’s picture

KentBye’s picture

FYI: You can download the latest development version of fivestar here with this command:
cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal checkout -r DRUPAL-5 -d fivestar contributions/modules/fivestar

You can check it out, but I wouldn't recommend using on a production server just yet since there are some bugs, and I'm working on trying to get a few more features in.

JonSTeps’s picture

This is great I'm gonna test it out right now. I love the drupal community.

quicksketch’s picture

Status: Active » Fixed

I rocked the crap out of this request.

Try out the 1.9 beta or development version where this problem has been quite fixed. Fivestar now has full support for *both* comment and nodecomment modules.

I could tell you all about it but you can just watch this video posted a few weeks back:
http://quicksketch.org/node/801 (thanks Michelle for beating me to my own announcement ;)

I'm still testing and getting things solidified for the 1.9 release which should be within the next month. Please file any problems in a new issue. Thanks again infini for just pointing out what a glaring shortcoming this was in both Fivestar and the entire Drupal contributed repository.

@JonSTeps We love you too :D

michelle’s picture

Sorry, quicksketch, didn't mean to steal your thunder. :)

Michelle

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

bagers’s picture

test