See TL3 Progress

:information_source: Summary Shows the user and staff their TL3 progress if they are TL2, along with extra information
:hammer_and_wrench: Repository Link GitHub - NateDhaliwal/discourse-see-tl3-progress · GitHub
:open_book: Install Guide How to install plugins in Discourse

:warning: Disclaimer: Enabling this plugin may cause an increase in members getting TL3, and/or questioning moderation decisions, and/or more increased activity[1].

Features

  • Show a progress bar to the user informing them of their total TL3 progress
  • (Optional) Show the user their next-closest requirement they can hit
  • (Optional) Show the user a detailed breakdown into their progress for each requirement
  • (Optional) Tell the user if they are locked at TL2/TL3
  • (Optional) If the user is TL3, show a warning when they are close to losing it
  • (Optional) Show the user the number of topics and posts they have in muted categories (allowing them to read more posts to hit the post reading requirement)

Configuration

Minimal config needed. All texts can be edited via Site Texts. Where possible, the exact text is the same as that of the one in the user’s Admin page. However, the plugin was unable to directly reference those due to user permission problems.

Settings

Name Description
progress bar color light The color for the progress bar when in light mode
progress bar color dark The color for the progress bar when in dark mode
progress bar background color light The background color for the progress bar when in light mode
progress bar background color dark The background color for the progress bar when in dark mode
modal button icon The icon for the button to show the modal
show verbose tl3 progress Select to show the modal, which contains a detailed progress bar of each requirement
show locked at trust level Inform the user if they are locked at their Trust Level. WARNING: May result in complains for users questioning moderation decision.
modal bottom text An additional description at the bottom of the modal.
show next closest stat Show the next closest requirement the user can get, and how much more
show warning when tl3 requirements low If a user is TL3, tell the user if they are close to losing TL3
show warning when user has muted topics and posts Show the user the number of topics and posts they have in muted categories (allowing them to read more posts to hit the post reading requirement). Does not count how many posts they have read in those categories (yet).
low tl3 stats minimum Show the warning to TL3 users if any requirement is below this mark

Screenshots

Overview:

Modal (does not qualify)

Modal (qualifies for TL3)

Modal (is TL3)

Modal (is TL3, no longer qualifies)

If the user is locked:


Hope this helps!


  1. Which may or may not be a bad thing ↩︎

10 לייקים

nice work Nate :clap:

i think you missed the summary:

4 לייקים

Yikes! I’ve fixed that.

3 לייקים

Is the plug-in still in Beta, or what? I think this is a really great plug-in because I’ve been left hanging and doing the math on when I’ll get Tl3.

It works for the most part, except there are just 1 or 2 small things to iron out, which I’m working on now. It’s really the next closest requirement that has problems; the counters and bars all work.

5 לייקים

Closest stat for promotion and demotion should be fixed now, as well as some optimisations to the SQL queries. Should be good to go.

4 לייקים

We installed this on our site. However, when a regular user trying to view another user’s profile.
It may show up an error stating that you don’t have permission to view the requested resources.

Some user might show up this, while some others works flawlessly (aka not showing up this popup). The regular user shouldn’t be able to view other people’s progress.

Do you know what may cause this?

Screenshot in chinese:

Update: opened a PR to fix this. Only allow user to view their own progress - Pull Request #1 - NateDhaliwal/discourse-see-tl3-progress - GitHub

5 לייקים

Good catch, and thanks for the PR! I’ve merged it.

5 לייקים

How about expanding this to cover other Trust Level stages?

Feels a bit constrained atm for no reason imho, e.g.:

Why not just call it “Trust Level Progress Meter” or similar?

7 לייקים

Good point. Will need some rework though, but I think it’s possible.

5 לייקים

@merefield

Good idea, and the timing is excellent now that the TL3 work is nearing completion.


At the other end of the trust-level progression, I think some of this could also be useful for people who help out on Discourse forums, particularly moderators and community regulars.

A recurring question is how a user can advance beyond TL-0 to the next trust level so they can, for example, post links, include more links, paste images, or gain other capabilities that are restricted at TL-0.

Those explanations are often written manually, even though much of the answer depends on measurable trust-level requirements. It would be useful if some of that guidance could eventually be automated: show the user where they are, what requirement is currently preventing advancement, and what they can reasonably do to become eligible.

The TL3 Progress plugin already has some of the plumbing needed for that kind of feature, particularly its ability to expose individual requirements, progress, and the next-closest requirement.

4 לייקים