Closed (fixed)
Project:
Vote Up/Down
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
24 Aug 2009 at 16:12 UTC
Updated:
6 Jun 2010 at 06:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
marvil07 commentedI can not reproduce it, when I set Full DIsplay only it works like expected, maybe you changed vote count option instead of the widget one?
Comment #2
BioALIEN commentedI can confirm this is a bug. Tested with latest 2.0-dev branch. Here is how to reproduce.
Only tested with Vote Up/Down for Nodes.
Widget selection: Choose any option.
Widget and votes display:
- When will the vote widget be displayed? Full Display Only
- When will the total vote count be displayed? Both Full and Teaser
When you visit the homepage the affected nodes (teasers) still show the voting widget even though the options above indicate the voting widget should be visible on Nodes View only. The vote counts are working correctly but the voting widget seems to have a flaw.
Setting category back to bug report.
Comment #3
marvil07 commentedYou was right. I did not notice the bug since I was on a patched version :-p, so I test aginst the HEAD and:
That is a bug caused by the
$teaservariable not defined inhook_nodeapi().I posted another issue because I saw a not defined variable php warning: #673806: notice: Undefined variable: teaser in /pathtodrupal/sites/all/modules/vote_up_down/vud_node/vud_node.module on line 106.
It's solved after aplying it :-)
So, as that issue is more recent than this, I'm attaching the same patch here and marking the other as a duplicate.
Comment #4
marvil07 commentedcommited :-)
Comment #6
marvil07 commentedfirst try of 6.x-1.x :-p
Comment #7
marvil07 commentedok, make this rip, making another issue