On line 288 of vud_node.module the voting tag is being read from variable vote_up_down_tag. I believe the proper variable is vud_tag. So you would want:

$tag = variable_get('vud_tag', 'vote');

(This only matters if you changed the default voting api tag.)

Comments

Title:Voting tag variable_get typo bugWrong voting tag at vud_node hook_link
Status:Active» Fixed

Thanks for reporting!

The fix is commited to 2.x and 3.x.

Hi, the same problem is in vud_comment.module on line 160. Thanks!

Status:Fixed» Closed (fixed)

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

Version:6.x-2.0» 6.x-2.1
Component:vud_node» vud_comment
Status:Closed (fixed)» Active

I just notice that this problem remains in vud_comment 6.x-2.1.

Title:Wrong voting tag at vud_node hook_linkWrong voting tag at vud_node/vud_comment hook_link
Status:Active» Fixed
StatusFileSize
new887 bytes

@rokit88: thanks, committed to 3.x and 2.x

Status:Fixed» Closed (fixed)

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