This user has been denied support.
(2014-12-13, 01:13 PM)Leefish Wrote: Its totally possible, but I have not released updated plugin
Basically omar wants u to do it like,
$whorefer_referrals = $lang->no_referrer;
if ((int)$memprofile['referrer'] > 0)
if (($referral = $db->fetch_array($db->simple_select('users', 'uid, username, usergroup, displaygroup'))) && !empty($referral))
$whorefer_referrals = build_profile_link(format_name(htmlspecialchars_uni($referral['username']), $referral['usergroup'], $referral['displaygroup']), $referral['uid']);
(Most likely out using var assignments in the if statement cuz it looks ugly but I love it, and I hate how we're using a fixed layout)