I'd appreciate it if somebody could help me figure out how to use the Extra Voting Forms module with Userpoints.

Extra Voting Forms uses the Voting API. Userpoints doesn't use the Voting API, so that's where I figured this module would come in...as a 'bridge' between these two modules.

Unfortunately, when I use the extra voting forms widget to award 'credits' to a user, there is no corresponding increase in userpoints.

I'm pretty stumped as I've followed all the install instructions.

Comments

kmillecam’s picture

Hi phonydream2,

Unfortunately, I'm having a difficult time getting Extra Voting Forms to run in my environment.

It's a complex install for a module ... copy an unsupported version of jquery.js to your /misc directory. Modify -- by hand -- your page.tpl.php file.

I'm getting voting widgets (one at the top of my articles and another, different one, at the bottom) but neither seems to work.

I can tell you that userpoints_votingapi is triggered by two voting_api calls: votingapi_insert() and votingapi_delete(). When a voting module makes one of these calls, userpoints_votingapi steps in and adds (or subtracts) points from a user's user point account.

Kevin

2c’s picture

I'm confused! How is the 'votingapi_insert' function called in the first place? It isn't called by either extra voting forms or voting api.

Related to your Ajax issue, have you seen this:

http://drupal.org/node/204379#comment-787323

kmillecam’s picture

Here's a list of the votingapi hooks: http://drupal.org/node/68877

I (currently) leverage hook_votingapi_insert($vote) and hook_votingapi_delete($vote) in the userpoints_votingapi module.

Kevin

kmillecam’s picture

Status: Active » Closed (won't fix)