User Vote

Categories

Component ID

109763

Component name

User Vote

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1073

Component created

Component changed

Component body

Allows users to rate other users. Each user's rating (the voting results) is displayed on his or her user page.

Currently, there is no explicit voting functionality. A vote can only be cast by calling the API function uservote_set_user_rating(). The API is as follows:

uservote_set_user_rating($user, $vote)
Rate a user.
uservote_get_user_results($user)
Gets a user's voting results from the cache/database.

Notes:

  • User Vote depends on the Voting API.
  • The "Ratings" section on user pages can only be seen with the proper permissions.