A public /leaderboard page with two rankings — most points and most posts — plus a compact top-five card in the
right sidebar and a trophy link in the left menu.

Where it shows up

  • /leaderboard: two cards side by side, each an ordered list with rank badges (gold, silver, bronze for the first
    three), avatars, names and the value;
  • right sidebar: a Top members card with the five members who have the most points and a button to the full page
    (region.sidebar.right.cards), unless the setting is off;
  • left menu: a Leaderboard link in the Community group (region.sidebar.left.nav).

Rules

  • Nothing is stored: the points ranking comes from points_top() and the posts ranking from fb_users.post_count
    (active members with at least one post).
  • A page runs a fixed number of queries (points list + member ids + users_by_ids()), never one per member.
  • Only active members appear; the sidebar card hides itself while the points list is empty.
  • The page is public, like the rest of the forum.

Settings

SettingMeaning
Rows per rankingHow many members each list shows, 5–100, default 20.
Show the top-five card in the right sidebarThe sidebar card, on by default.

Data and uninstall

No tables and no rows of its own; the plugin reads core data only. Uninstalling removes the page and both links.

The manifest uses region.sidebar.right.cards, region.sidebar.left.nav and the /leaderboard route.