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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marvil07’s picture

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

Thanks for reporting!

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

rokit88’s picture

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.

rokit88’s picture

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.

marvil07’s picture

Title: Wrong voting tag at vud_node hook_link » Wrong voting tag at vud_node/vud_comment hook_link
Status: Active » Fixed
FileSize
887 bytes

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

Status: Fixed » Closed (fixed)

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