Javascript Event System - profile-page-after-rating
From KickApps Documentation
This article pertains to the Javascript Event System. You can refer to our list of Javascript Event System Supported Events to learn what else you can do with our event system.
Contents |
Summary
- This event is fired when one member rates another member.
Payload Parameters
- lastRatedAt
- (Date) Represents the last time this user was rated. In this case, it always refers to right now.
- rated
- (Number) Represents the member's rating
- ratedCount
- (Number) Represents how many times the member has been rated
- ratedUserToUserPK
- (Object) Contains the user IDs of the logged in user and the user who is being rated
- ratedUserId
- (Number) The user ID of the member who has been rated
- userId
- (Number) The user ID of the member who is performing the rating
Execution Interruption
- none
Example
function onProfilePageAfterRating(data) {
// do something here console.log(data)
} var newEventId = Ka.events.listen('profile-page-after-rating', onProfilePageAfterRating);
Favorites






