Difference between revisions of "Setup EasySocial Achievements"
Line 76: | Line 76: | ||
Here we'll refer you to the StackIdeas documentation for EasySocial where they have a page on [http://docs.stackideas.com/developers/achievements/rule_file Creating a Rule File for Badges] | Here we'll refer you to the StackIdeas documentation for EasySocial where they have a page on [http://docs.stackideas.com/developers/achievements/rule_file Creating a Rule File for Badges] | ||
− | |||
− | |||
− | |||
− |
Revision as of 23:42, 25 September 2014
The JReviews integration with EasySocial includes out of the box support for EasySocial achievements based on JReviews actions. The first step to begin using this feature is to make sure you have enabled the EasySocial integration in the JReviews Configuration/Community Tab.
Types of Achievements
We've added code in JReviews that will process achievements for the following user activities:
- Submitting a listing
- Submitting the first review for a listing
- Submitting a review
- Submitting a review comment
- Adding a listing to the favorites list
- Uploading any type of media; or uploading a specific type of media (photo, video, attachment, audio)
For each of the above activity types, except for submitting the first review for a listing, we've added three tiers low, medium and high. This allows site admins to award a new badge after the new tier is achieved. For example, if you set the three tiers for submitting reviews at 5, 10 and 20 reviews. The user will earn a badge for each of those tiers.
Achievement Commands
EasySocial requires a rule to be setup for each type of achievement. Each rule requires a unique 'command'. The following commands are pre-defined in JReviews and these are the ones you can use when creating your EasySocial badge rule file. We'll get more in to that further below.
Listings
listing.add.low listing.add.medium listing.add.high
Reviews
review.add.first review.add.low review.add.medium review.add.high
Review Comments
review.discuss.low review.discuss.medium review.discuss.high
Favorites
favorite.add.low favorite.add.medium favorite.add.high
Media (any type)
media.add.low media.add.medium media.add.high
Photos
photo.add.low photo.add.medium photo.add.high
Videos
video.add.low video.add.medium video.add.high
Attachments
attachment.add.low attachment.add.medium attachment.add.high
Audio
audio.add.low audio.add.medium audio.add.high
Creating Achievement Rules
Here we'll refer you to the StackIdeas documentation for EasySocial where they have a page on Creating a Rule File for Badges