- Compatible XF 2.x versions
- 2.1
- 2.2
- Additional requirements
- PHP 7
Standard Library by Xon
- License
- Single Use License (may be used on one website)
- Updates duration
- Lifetime for Xenforo versions listed above
- Visible branding
- No
User rating system
Features:
Features:
- BB-code support
- Attachment support
- Approval queue support
- Member stats support (reputation score & positive rate count)
- Inline moderation
[H1]Table of Contents[/H1]
Routes
[H1]Routes[/H1]
[H2]user-ratings[/H2]
[H3]GET user-ratings/[/H3]
Gets the API list of user reputation ratings.
[H3]POST user-ratings/[/H3]
Creates a new user reputation rating.
[H3]GET user-ratings/{id}/[/H3]
Gets information about the specified user reputation rating
[H3]POST user-ratings/{id}/[/H3]
Updates the specified user reputation rating
[H3]DELETE user-ratings/{id}/[/H3]
Deletes the specified user reputation rating.
[H1]Types[/H1]
Routes
- user-ratings
- GET user-ratings/
- POST user-ratings/
- GET user-ratings/{id}/
- POST user-ratings/{id}/
- DELETE user-ratings/{id}/
[H1]Routes[/H1]
[H2]user-ratings[/H2]
[H3]GET user-ratings/[/H3]
Gets the API list of user reputation ratings.
Inputs | Type | Description |
---|---|---|
None. |
Outputs | Type | Description |
---|---|---|
ratings | Rating[] | |
pagination | pagination |
[H3]POST user-ratings/[/H3]
Creates a new user reputation rating.
Inputs | Type | Description |
---|---|---|
user_id | integer | [req] The ID of the user whose profile this will be rated. |
score | integer | |
message | string | [req] |
attachment_key | string | API attachment key to upload files. Attachment key context type must be pb_ur_rating with context[rated_user_id] set to this user ID. |
Outputs | Type | Description |
---|---|---|
success | true | |
rating | Rating |
[H3]GET user-ratings/{id}/[/H3]
Gets information about the specified user reputation rating
Inputs | Type | Description |
---|---|---|
None. |
Outputs | Type | Description |
---|---|---|
rating | Rating |
[H3]POST user-ratings/{id}/[/H3]
Updates the specified user reputation rating
Inputs | Type | Description |
---|---|---|
message | string | |
silent | bool | If true and permissions allow, this edit will not be updated with a "last edited" indication |
clear_edit | bool | If true and permissions allow, any "last edited" indication will be removed. Requires "silent". |
author_alert | bool | |
author_alert_reason | string | |
attachment_key | string | API attachment key to upload files. Attachment key context type must be pb_ur_rating with context[rating_id] set to this rating ID. |
Outputs | Type | Description |
---|---|---|
success | true | |
rating | Rating |
[H3]DELETE user-ratings/{id}/[/H3]
Deletes the specified user reputation rating.
Inputs | Type | Description |
---|---|---|
hard_delete | bool | |
reason | string | |
author_alert | bool | |
author_alert_reason | string |
Outputs | Type | Description |
---|---|---|
success | true |
[H1]Types[/H1]
- Related resources