Jump to content
View in the app

A better way to browse. Learn more.

Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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.

Account

Navigation

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.