# 【PAID】Plugin to Show Badges on Posts

**URL:** <https://meta.discourse.org/t/paid-plugin-to-show-badges-on-posts/97497>\
**Category:** Marketplace\
**Created:** [18.Сентябрь.2018 20:16:01 UTC](https://meta.discourse.org/t/paid-plugin-to-show-badges-on-posts/97497 "2018-09-18T20:16:01Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![gdpelican](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gdpelican/32/81308_2.png) [@gdpelican](https://meta.discourse.org/u/gdpelican)\
**Post date:** [19.Сентябрь.2018 02:05:50 UTC](https://meta.discourse.org/t/paid-plugin-to-show-badges-on-posts/97497/5 "2018-09-19T02:05:50Z")

</div>

To give an idea of _why_ it might take 2/3 days (which, to be fair, I’d think of as slight overestimate), here are some things I’d need to consider as a developer writing this thing:

- There’s no mockup; what’s it going to look like?
  - On desktop?
  - On mobile?
  - With a dark theme, or vincent or something else?

- Is it going to slow down my page load? (Badges don’t come down the wire already, so I have to make a separate request somehow)
- The posts are rendered as widgets, meaning that there’s no plugin outlet there, and getting changes made to core is a big pain, meaning the content insertion bit is not straightforward. How do I take the JSON I’ll get from the API and put it into the widget? (NB that this is the most likely part to break in the future)
- How often do I need to refresh the badges?
  - When the page is reloaded?
  - Each time a topic is viewed?
  - Do I need to live update them?

- How many badges am I going to show? Is it different for desktop and mobile? What if they don’t fit in the space allowed?
- Which badges show up? The most recent? The most ‘prestigious’?
- Do I need to write a separate endpoint for this, or can I use the existing one for badges? (Depends on the answers to the previous questions)
- What happens when I hover, or click on a badge?

I can _imagine_ some of the answers to these (and could come up with suggestions for all of them), but each time I imagine something I’m upping the risk of delivering something a client doesn’t want substantially, which makes it usually not worth the time savings.

So, it’s a less straightforward problem than you might imagine, and certainly not something that you’d want to stiff someone on.

---

_[View the full topic](https://meta.discourse.org/t/paid-plugin-to-show-badges-on-posts/97497)._
