Closed (fixed)
Project:
NodeReview
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
18 Apr 2008 at 03:12 UTC
Updated:
13 Sep 2009 at 15:45 UTC
Jump to comment: Most recent file
No need to bicker over Fivestar vs. Node Review. Let them work together!
This patch adds conditional support for Fivestar module, easily swapping out the current select lists and display for a pretty Fivestar display. This patch changes less than 50 lines of code (FAPI is a beautiful thing). Check the screenshots.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | nodereviews_fivestar.patch | 4.16 KB | quicksketch |
| #2 | nodereviews_fivestar.patch | 4.14 KB | quicksketch |
| nodereviews_fivestar.patch | 4.16 KB | quicksketch | |
| FirefoxScreenSnapz001.png | 28.18 KB | quicksketch | |
| Picture 1.png | 23.26 KB | quicksketch |
Comments
Comment #1
JohnForsythe commentedscreenshot looks good :)
will test..
Comment #2
quicksketchOops, let's make it so that we don't try to display Fivestar even if it's not enabled.
Comment #3
quicksketchAnother one that references the constant NODEREVIEW_FIVESTAR_ENABLE correctly.
Comment #4
JohnForsythe commentedI've been trying to make this work on my test box, but it doesn't seem to show the fivestar fields in place of the normal dropdown. Is there something I need to configure in fivestar first? I've enabled fivestar for the content type, but that didn't help. I have fivestar 5.x-1.12 installed.
Comment #5
quicksketchHmm, there shouldn't be any special tricks. Are the fivestar.js and fivestar.css files being added to the page and does Fivestar work when you visit admin/settings/fivestar?
Comment #6
JohnForsythe commentedSomehow I missed the new "use fivestar" checkbox on the "review types" screen. Anyway, after testing, it doesn't appear to break easily, and even handles half-stars properly. Good patch :)
Comment #7
quicksketchGreat! Get ready for the Fivestar users. Feel free to kick them back if Fivestar starts acting up. ;)
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #9
SamRose commentedAdding score info would be awesome. Such as the way fivestar tallies amount of votes, and "average", or more preferrably a total.
Comment #10
eforth commentedCould someone really help me on this? I tried to patch Nodereviews but my nodereview_node_nodereview.inc generates a "not a valid working copy".
I'd really appreciate a hand, thanks in advance
EDIT
NEVERMIND! I learned how to patch manually and this worked like a charm! Excelent Patch, thank you very much