Skip to content

Реализация системы социального рейтинга для сайта #5

@RaingGOR

Description

@RaingGOR

Описание задачи:

Необходимо реализовать систему социального рейтинга для пользователей сайта. Рейтинг пользователя будет складываться из двух составляющих:

  1. Рейтинг статей автора:

    • Если пользователь имеет роль "Автор", его рейтинг будет зависеть от рейтинга его статей.
    • Каждая статья автора будет иметь свой рейтинг, который складывается из количества положительных и отрицательных оценок (лайки/дизлайки).
    • Общий рейтинг статей автора будет вычисляться как сумма всех рейтингов его статей.
  2. Внутренний рейтинг:

    • Внутренний рейтинг можно регулировать вручную через профиль пользователя.
    • В профиле должна быть возможность увеличивать или понижать рейтинг на 1 единицу.
    • Эту возможность должны иметь пользователи с определенными правами (например, администраторы или модераторы).
      image
      Task Description:

It is necessary to implement a social rating system for site users. The user rating will consist of two components:

  1. Author's Article Rating:
  • If the user has the "Author" role, his rating will depend on the rating of his articles.
  • Each author's article will have its own rating, which consists of the number of positive and negative ratings (likes/dislikes).
  • The overall rating of the author's articles will be calculated as the sum of all the ratings of his articles.
  1. Internal Rating:
  • The internal rating can be adjusted manually through the user profile.
  • The profile should have the ability to increase or decrease the rating by 1 unit.
  • Users with certain rights (for example, administrators or moderators) should have this ability.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions