Jump to content
View in the app

A better way to browse. Learn more.

Learn more

How to create a refer a friend leaderboard

Featured Replies

Hi everyone,

I'm trying to create a public-facing referral leaderboard that displays the top referrers on my community in a simple table.

What I want to achieve:

- A public leaderboard showing members ranked by total referrals

- Display member name, avatar, and referral count

My questions:

1. Is there a built-in widget or plugin to display a referral leaderboard on the front-end that I'm missing?

2. If not, what's the recommended approach to create a custom template that can:

- Query the core_members table directly (or whatever I need to query)

- Group by referrer_id and count referrals

3. Can database templates access core_members data, or are they limited to their own database records?

4. Is there a way to create a custom widget/block that has full PHP execution capabilities?

Thanks in advance!

  • Author

No one? nothing?

Recently Browsing 0

  • No registered users viewing this page.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.