# Badge system in discourse

**URL:** https://meta.discourse.org/t/badge-system-in-discourse/97169
**Category:** Community Building
**Created:** [September 14, 2018, 6:46am UTC](https://meta.discourse.org/t/badge-system-in-discourse/97169 "2018-09-14T06:46:56Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Shreya8594](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@Shreya8594](https://meta.discourse.org/u/Shreya8594)
#### Post date: [September 14, 2018, 6:46am UTC](https://meta.discourse.org/t/badge-system-in-discourse/97169/1 "2018-09-14T06:46:56Z")

</div>

Hey all,

I wanted to introduce some kind of gamification in my community and point system and badges seem to be the way to go for it. But as far as I know, the point system is not available in discourse and only badge system has been available to customize.

I would love to hear from someone if there is some working way to include point system in the forum otherwise I would like to know more about badges and how to configure them and more ideas on new badges.

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [September 14, 2018, 6:50am UTC](https://meta.discourse.org/t/badge-system-in-discourse/97169/2 "2018-09-14T06:50:57Z")

</div>

No, Discourse does not a built-in “reputation”-style points system, beyond the trust level system which is a core component of how Discourse minimises spam and unpleasantness, and encourages trusted users to participate in moderating the site. I’m sure a plugin could be written (or one or more might exist already) to provide that, if it’s important.

As for badges, there is a lot of existing information on badges, how to customise them, and how to define your own custom badges, here on meta. A search will unearth them.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [September 14, 2018, 7:12am UTC](https://meta.discourse.org/t/badge-system-in-discourse/97169/3 "2018-09-14T07:12:18Z")

</div>

Not really “points” in the usual sense, but there are “types”

> <https://github.com/discourse/discourse/blob/main/app/models/badge_type.rb#L1-L4>

In general, Bronze badges are relatively easy to get, Silver badges a bit more difficult, and Gold are the most difficult to get.

Within those types I guess you could put together “levels” something like  
Bronze - some badge, level one  
Bronze - some badge, level two  
etc. if you wanted finer intervals.

When it comes to what criteria you could use for badges, it’s pretty much limited only by your imagination.

---

<div class="post-metadata">

### Author: ![Shreya8594](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@Shreya8594](https://meta.discourse.org/u/Shreya8594)
#### Post date: [September 17, 2018, 6:32am UTC](https://meta.discourse.org/t/badge-system-in-discourse/97169/4 "2018-09-17T06:32:44Z")

</div>

I think this will also do. But how to assign levels with badge type? I mean where to do it and how?

---

<div class="post-metadata">

### Author: ![Shreya8594](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@Shreya8594](https://meta.discourse.org/u/Shreya8594)
#### Post date: [September 17, 2018, 8:37am UTC](https://meta.discourse.org/t/badge-system-in-discourse/97169/5 "2018-09-17T08:37:06Z")

</div>

If I want to create new badge then their is no option to set triggers. How to enable it?

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [September 17, 2018, 9:14am UTC](https://meta.discourse.org/t/badge-system-in-discourse/97169/6 "2018-09-17T09:14:27Z")

</div>

You can read about this here:

> [@Enable Badge SQL](https://meta.discourse.org/t/badge-sql-can-no-longer-be-edited-by-default/47894):
>
> bookmark This guide explains how to enable Badge SQL in Discourse and discusses the associated security and performance risks. person_raising_hand Required user level: Administrator warning Enabling Badge SQL can pose security and performance risks. To maintain security and performance integrity, as of Discourse 1.6, the ability for administrators to edit badge SQL directly is disabled by default. The two primary concerns around enabling Badge SQL are: Security: Allowing direct SQL …
