2021-02-05, 10:50 PM
Trying to use the referral count variable on a global page but can't figure out what variable to use or if it works outside of profiles. Any help. Thanks.
On profiles it's
{$referral_count}
Tried doing:
{$mybb->user['referral_count']}
Never mind was referring to the wrong one.
If anyone wants to display a users referral count outside of their profile, use:
{$mybb->user['referrals']}
On profiles it's
{$referral_count}
Tried doing:
{$mybb->user['referral_count']}
Never mind was referring to the wrong one.
If anyone wants to display a users referral count outside of their profile, use:
{$mybb->user['referrals']}