Project:Node Vote
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

anonymous user is not in a position to vote
however for anonymous user - checkbox "Use nodevote" is on

Comments

#1

Version:4.7.x-1.x-dev» 6.x-1.0

I'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?

#2

I 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...

#3

Assigned to:kiev1.org» Anonymous
Status:active» needs review

Well, 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.=

AttachmentSize
70677_nodevote_anonymous.patch 4.69 KB

#4

Version:6.x-1.0» 6.x-1.x-dev
Status:needs review» fixed

Committed.

Thanks.

#5

Status:fixed» closed (fixed)

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

nobody click here