Active
Project:
Voting API
Version:
7.x-2.9
Component:
Views Integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2012 at 08:12 UTC
Updated:
10 Sep 2014 at 11:59 UTC
Jump to comment: Most recent
Comments
Comment #1
sbonde commentedI managed to get this working retrieving the data directly from the database, but think there might be a better way of doing this.
Since I need this on the users author pane I am afraid it might be a bit heavy requesting the data from the database about 30 times per forum post (forum post is set to 30 comments).
Comment #2
marvil07 commentedYou should be able to do that with views. There you have optional cache too ;-)
Comment #3
sbonde commentedCan you please explain howto?
I can't seem to find out how to show the amount of votes on node/comments per user (where the user is the author of the node/comment that has received the vote).
Comment #4
grn commentedYes, this feature would be nice. But maybe this should be posted at the voting api project?
I am looking to do the same thing. Create a user list that displays how many votes the content of the specific user has received. In addition it would be nice to see how many votes the user has received on the latest node or comment.
If you find any great solutions in CCK it would be great. I will try to get back to this thread if I find a solution.
I have been thinking about creating a CCK field on the user to capture total votes through a computed CCK field. I am using Drupal 7 though.
Thanks.
/GrN.dk
Comment #5
grn commentedI am trying to find the solutions through views: http://drupal.org/node/1848224
Please review that too. Maybe you will be able to help out with finding the solution.
Thanks.
/GrN.dk
Comment #6
marvil07 commentedThis is not specific of vote up down, so moving to voting api queue.
Comment #7
adriankremer commentedhi,
just translated #1 to db object method
the function also checks if a vote is done by a user or not