vote for anonymous user

Kiev1.org - June 25, 2006 - 01:44
Project:Node Vote
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

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

#1

blueflowers - March 19, 2009 - 14:47
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

jerdiggity - June 12, 2009 - 14:44

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

hanoii - October 17, 2009 - 22:58
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

kbahey - October 17, 2009 - 23:25
Version:6.x-1.0» 6.x-1.x-dev
Status:needs review» fixed

Committed.

Thanks.

#5

System Message - October 31, 2009 - 23:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.