Skip to main content

Leaderboard

1. What this page is for​

The Leaderboard page is used to set the lookback timeframe for calculating the top 5 players with the highest net wins on the lobby home page. The leaderboard drives player engagement and healthy competition by highlighting the highest real player winnings over a configurable number of days. All rankings and win amounts are calculated automatically from real site gameplay without requiring manual data entry.


2. Before you start​

  • Permissions: You must have the 'Leaderboard' permission (and 'Edit leaderboard' for saving changes) granted by an administrator.
  • What to prepare:
    • Determine the desired lookback window (1 to 30 days) for ranking player wins.

3. Screen layout​

When opened, you will see the following sections from top to bottom:

  1. Page Header: Displays the title Leaderboard and a brief explanation of how the ranking operates.
  2. Page Audit: Displays the saved version number, last editor name, and last updated timestamp.
  3. Leaderboard Preview: Displays a live preview card of the top 5 players as they will appear on the lobby home page, calculated from actual site wins over the selected timeframe.
  4. Settings Card: Contains the lookback days input controls and the locked size indicator showing 5 players.
  5. Form Action Bar: Appears at the bottom when changes are made, containing Undo and Save buttons.

4. Search and filters​

This is a single configuration page. The system calculates and ranks the top 5 players automatically, so there are no table search bars or filter controls.


5. Data table​

Instead of a multi-row data table, this page displays a Top 5 Leaderboard Preview Card with the following elements per row:

ElementWhat you seeMeaningBadge or color
RankNumber 1, 2, 3, 4, or 5 in a circular badgePlayer's standing by highest net win• Rank 1: Gold-yellow circle with black text
• Rank 2: Silver-gray circle with black text
• Rank 3: Bronze-orange circle with black text
• Ranks 4–5: Translucent white circle
Game coverSquare artwork of the winning gameThe game where the player achieved their highest winDark rounded artwork square
Player usernameMasked account name like win***88Winning player's username, masked for privacyBold white text
Game nameTitle of the game such as Roma or Sweet BonanzaThe specific game played for that winMuted light-gray text beneath username
Win amountFormatted currency like ฿85,200.00Net win amount achieved by the playerBold white text, right-aligned

6. Step-by-step instructions​

1. Setting the Leaderboard lookback period​

  1. Navigate to Games > Leaderboard from the left sidebar.
  2. Review the Leaderboard preview card at the top to see the current top 5 winners.
  3. Scroll down to the Settings card.
  4. In the Lookback days section:
    • Click one of the quick preset buttons: 1, 3, 7, 14, or 30 days.
    • Or type a custom number of days into the input field (1 to 30 days).
  5. The preview card re-calculates and renders the new top 5 standings immediately.
  6. Click Save on the bottom action bar.

2. Discarding unsaved changes​

  1. If you changed the number of days and want to revert to the saved value.
  2. Click Undo on the bottom action bar.
  3. The input field will immediately reset back to the previously saved number of days.

7. Form fields and settings​

All configuration options on this page are summarized below:

FieldRequired?What to enterExampleRules & limits
Lookback daysRequiredTime window (in days) used to aggregate player net wins30Quick buttons: 1, 3, 7, 14, 30, or manual entry 1–30 days
Items shownLockedNumber of top player rankings displayed on the board5 players (fixed)Locked at 5 players; cannot be modified

8. Popups and dialogs​

1. Version Conflict Dialog​

  • When it appears: Triggered if another staff member modified and saved the leaderboard lookback period while you were viewing the page.
  • What you see: A warning modal explaining that the configuration has been updated on the server.
  • What to do: Click Load latest to fetch the latest settings saved by your colleague.
  • Result: Keeps your view synchronized with the server and avoids overwriting recent changes.

9. Statuses and badge colors​

Status / BadgeColorMeaningNext action
Rank 1Yellow1st place player with the highest net winCalculated automatically; no action needed
Rank 2Gray2nd place player with the second highest net winCalculated automatically; no action needed
Rank 3Orange3rd place player with the third highest net winCalculated automatically; no action needed
Ranks 4–5Translucent white4th and 5th place playersCalculated automatically; no action needed
Lock iconGrayIndicates the 5-player size is fixed by system layoutAcknowledge constraint; size cannot be changed

10. Frequently asked questions & troubleshooting​

  • Why can't I change the number of players to more than 5:
    • The lobby home page design and ranking system are specifically structured to display a compact, fast-loading Top 5 leaderboard. This setting is fixed at 5 players.
  • The leaderboard shows dashes (---) in some rows:
    • There are fewer than 5 qualifying winners within the selected lookback period. Try expanding Lookback days to 14 or 30 days.
  • The Save button is disabled:
    • No changes have been made to the lookback days value. The button only activates when unsaved edits exist.
  • Can the same player appear multiple times across different ranks:
    • No. The system aggregates net wins per unique player (one row per player) to ensure 5 distinct members are featured.
  • How do I show or hide the leaderboard on the home page:
    • Go to Lobby pages > Home page order to toggle the visibility and reorder the position of the Leaderboard block within your home page layout.