I need the functionality to be able to have a vote widget on a profile page. So users can be voted for and the user with the most votes wins.

(the users profile page is done with panels & views)

Ive played around with the flag module and it somewhat works for what I want, also the vote module, but it seems to only work on nodes and comments and doesnt work on user pages...

Any advice is greatly appreciated

  • what doesn't flag do that you need done?
    – Jimajamma
    Apr 4 '12 at 14:20
  • It's ok for now...but down the road I may have different views that load users and how many votes they have with the ability to vote still. I am just not sure if this is possible since the flag is attached the profile node and not the actual user.
    – Jeremy
    Apr 4 '12 at 15:13
  • well the node->uid is the same as the user->uid so you have that connection. if you are concerned with flagging the specific user, you can create a user flag and put that on the profile page yourself pretty easily as well, eg, load the profile's uid and then "feed" that to the user flag.
    – Jimajamma
    Apr 4 '12 at 16:10
  • I suppose you are right @Jimajamma, I will give this a go for now.
    – Jeremy
    Apr 4 '12 at 19:56

You can try to add fivestars module to your website, but then your users will be voted with stars instead of flags.

If you dont mind that you have to:

  1. install fivestar module

  2. add a field on your user profile of type "Fivestar Rating"

  3. add a rule so people cant vote on themselves using rules module.

hope this helps

  • Unfortunately this won't work for me, I need an actual number count.
    – Jeremy
    Apr 4 '12 at 15:11
  • How about the RATE module? drupal.org/project/rate
    – user785179
    Apr 4 '12 at 16:27
  • I tried the rate module, but couldn't get it to work on a profile page
    – Jeremy
    Apr 4 '12 at 19:53
  • @Jeremy Actual number count? you mean like the total number of votes on a user? or number of votes value on a user "like 5 out of 10 and 9 out of 10 becomes 14" but either way all you need is an aggregator
    – saadlulu
    Apr 5 '12 at 7:30
  • Like total number of votes on a user
    – Jeremy
    Apr 5 '12 at 13:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.