Hi,

I'm using user_karma + extra_voting_forms to enable voting on comments. User_karma module adds extra value_type (karma_points) and tag (karma) in votingapi table. However, the extra value_type and tag do not get integrated into Views properly. There is no relevant field found under "Add Field" drop down menu. I can only see points/percent and vote, for example:
VotingAPI: points vote result (average)
VotingAPI: percent vote result (average)
VotingAPI: points vote user
VotingAPI: points vote value
VotingAPI: percent vote timestamp
...
...
...etc

There is no karma_points and karma found.

Are the extra value_type and tag suppose to be processed correctly by VotingAPI? Does it need additional Views integration code in user_karma/extra_voting_form to get the Views working properly?

More details in this thread: http://drupal.org/node/254538

Comments

eaton’s picture

Status: Active » Postponed

Views support in VotingAPI 1.x is shaky, at best. The combination of limitations in Views 1.x, and the large number of possible combinations of data in the VotingAPI tables, make it very dicey. I recommend that voting module developers implement some minimal views filters and sorts themselves, as they are better able to provide a field that pulls the specific data that they want.

If anyone's interested in tackling rewriting the Views integration for D5, I'd be interested in talking to them. For now, efforts to improve views integration are focusing on Views2 integration under D6.

eaton’s picture

Status: Postponed » Closed (won't fix)

Support for the 5.x branch of VotingAPI has ended with the release of Drupal 7 and the upcoming release of VotingAPI 7.x-2.4.