Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Karma badges #11

Open
jaspervriends opened this issue Jun 26, 2021 · 0 comments
Open

Karma badges #11

jaspervriends opened this issue Jun 26, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jaspervriends
Copy link
Member

jaspervriends commented Jun 26, 2021

Not sure how this would work out, but automatically select 'primary' badges based on relevant tags of a discussion

NOTICE: This concept does not mean it will give automatic badges. Giving badges should be done automatically by the Automoderator extension

Relevant badges -> Show the badges on places to show your knowledge/commitment to subject.

Current calculations idea:

  • 1 point per post in a tag
  • 1 point per received like in a tag where you have posted in
  • 1 point per marked 'best answer'

Idea: Points can be custom set

Other examples and limits:

  • Per tag/subject could have multiple earnable badges (sub-tags can have badges as well)
  • Per user the badge points will be calculated using the point calculator for a badge
  • Every badge can have one single relevant tag
  • Badges will be shown if a comment or tag is relevant enough depending on the amount of points they've collected with that tag or badge (compared other badges with the tags)
  • Optional: Only show badge if person is in Top 10

Relationships

A tag can have multiple badges, but a badge only one tag (to simplify calculations)

Written examples

A forum has two badge categories set up

  • Tutorials
  • Frontend

A forum has 4 badges set up


Badge 'Tutorial Expert'

For people who write a lot of tutorials -> Attached to the Tutorial tag
The badge is on top on the first place of the 'Tutorials' badge category (order number 0)
Receiving the badge is worth 50 badgepoints

Badge 'Tutorial writer'

For people who have at least written one tutorial -> Attached to the Tutorial tag too
The badge is on the second place of the 'Tutorials' badge category (order number 1)
Receiving the badge is worth 25 badgepoints

Badge 'CSS'

For people who have posted a lot in the CSS Tag -> Attached to an CSS tag
The badge is on the first place of the 'Frontend' badge category (order number 0)
Receiving the badge is worth 10 badgepoints

Badge 'HTML'

For people who have posted a lot in the HTML Tag -> Attached to an HTML tag
The badge is on the second place of the 'Frontend' badge category (order number 1)
Receiving the badge is worth 10 badgepoints

The discussion

The discussion thas has been posted has the following few tags:

  • Tutorial
  • HTML
  • CSS

The user posts

The discussion creator

Has three badges:

  • Tutorial writer -> Collected 75 points
  • CSS -> Collected 120 points
  • HTML -> Collected 63 points

Shown primary badge:
Tutorial writer

Explanation:
The Tutorials badge category is higher than the Frontend badge category. Even though the CSS has a more points, the badge will be shown in a dropdown

User 1 entered the discussion

Has two badges:

  • PHP -> Collected 155 points
  • Node.JS -> Collected 60 points

Shown primary badge:
None / Custom primary badge

Explanation:
None of the tags in this discussion matched one of the discussion tags

User 2 entered the discussion

Has one badge:

  • HTML -> Collected 25 points

Shown primary badge:
HTML

Explanation:
The discussion has the HTML tag

User 3 entered the discussion

Has one badge:

  • HTML -> Collected 144 points
  • CSS -> Collected 150 points

Shown primary badge:
HTML

Explanation:
The discussion has both tags, but CSS has more points

@jaspervriends jaspervriends added the enhancement New feature or request label Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant