Closed (fixed)
Project:
Node Vote
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2006 at 01:44 UTC
Updated:
31 Oct 2009 at 23:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
blueflowers commentedI'm having the same issue with Version 6.x-1.0 of this module. I have a clean install of D6 with only this module added. Is this by design or a bug?
Comment #2
jerdiggity commentedI don't have time at the moment to submit a patch but here's a temporary fix:
Currently, line 448 says:
if ($user->uid) {Change that line to this:
if (($user) && ($user->uid >= 0)) {You might also consider deleting line 447 altogether...
Comment #3
hanoiiWell, I once did this for the 5.x version and I needed back again on a D6 site, so I took the time to submit a proper patch.
This changes the schema and provides an update for users already running this module, so run update.php after applying this patch.
It basically adds the following:
- A different new primary key to the table (nvid - node vote id) so anon users can vote on a node.
- A setting to select if anon users can vote or not
- There's a per session limit, meaning that a single anon user will only be able to vote once per node.
What's the changes that this can get committed? Any words from the developer, is this module actively supported? Interested in co-maintainers?
Thanks,
a.=
Comment #4
kbahey commentedCommitted.
Thanks.