Skip to main content

Points, badges and ranks

Members earn points for what they do on the site: a like received, a post written, an answer voted up. Points add up to a total each member sees, badges mark what they did, ranks name how far they have come, and contests reward the most active members of a month or of a season.

Points are set up on the Points tab of Settings → Components → Reputation. Reputation, the points of questions and answers, is one kind of points: rules can give it too, or give challenge points apart from it.

What earns points​

A rule gives points when something happens on the site, to the member who did it or to the member it was about, at most so many times a day if you like. Each counts once for a thing and a member, and what is undone (a reaction taken back, a post deleted) takes its points back.

What earns points: A like received, 2 points to whom it was about, and A post written, 1 point to who did it, at most 3 a day, each with Edit and Remove
Rules on the Points tab

The team gives or takes points by hand too, with Give or take points: members by username, email or number, how many (below 0 takes them) and why, which the member sees in their history.

Award codes are codes a member redeems once for points, handed out at an event or in a newsletter. Each has its points and how many times it can be used.

Badges​

A badge is earned by doing something a number of times (ten posts written), by a points total (100 points reached), or only given by the team. It can give points when it is earned, be earned a set number of times, be held by a set number of members across the site, and stay hidden until someone earns it. Give it gives one by hand.

Badges: Storyteller, ten posts and 25 points, Helpful at 100 points reached, Founding member and Helper of the month given by the team, each with Give it
Badges on the Points tab

Ranks​

Ranks go by reputation, each from the points it starts at, such as Newcomer from 0, Regular from 50 and Expert from 120, each with its colour. A rank can give a member type, so what that type opens opens to the members who reach it. A rank reached is kept, unless Falling below a rank takes it away is on.

Ranks: Newcomer from 0 points, Regular from 50 and Expert from 120, then Falling below a rank takes it away, The rank beside member names, Badges beside a name, and A Leaderboard tab on every space
Ranks, and where points show

Below the ranks, the owner says where they show: The rank beside member names, how many Badges beside a name, and A Leaderboard tab on every space, with the points of its members this month and of all time.

Contests​

A contest is a leaderboard with dates: the points earned between them, by the whole community or by the members of one space. When it ends, its first places get the badge you chose, ties sharing a place. The Points board block shows a contest on a page, by its number.

Contests: number 1, December helpers, from the 30 November to the 30 December, the first 3 places win the badge
A contest on the Points tab

The Achievements tab​

Where the site gives badges or ranks, each profile has an Achievements tab: the points and rank of the member, their badges, and the history of what earned their points. Every award of the site is listed under Poly Community → Members → Points.

Standing on the Achievements tab: 141 points and the rank Expert
The top of the Achievements tab

Not there yet​

Points are for standing and recognition. Members can't spend them, and Better Messages doesn't read them as a points provider. Neither is part of version 1.0.

Changing points​

The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to points that way, so profiles and leaderboards stay fast. Pages drawn from data gives the rules, the API and a recipe.

  • Showing more of the points of a member: data and a template, never HTML drawn for one reader. What every reader sees, such as a total of your own, goes in the data the page is drawn from and is bound in a template. What one reader alone sees, such as how close they are to the next rank, is a part registered on poly_community_register_page_data, its answer returning data, bound with state.partHere. wp poly-community page-data check profile says whether a profile is one drawing for a visitor, a member and an administrator, and what to change if it is not.
  • With a coding agent such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on the Achievements tab how many points the member needs for their next rank: register a part on poly_community_register_page_data that returns the number, and bind it in the template of the tab with state.partHere. Draw no HTML for one reader in PHP. Run wp poly-community page-data check profile and fix what it reports."
  • In the admin: the rules, badges, ranks and contests above, and Settings → Words for any of their texts.
  • In the Site Editor: Points board shows a contest on any page, and the Achievements tab is drawn from its own blocks.

Changing a component sets out the ways every component changes.