i have a vague idea... but i dunno about the ucash/ushop hack... heres how to get it only to display referals over 25 posts on the profile page eg member.php?u=15
open member.php find:
PHP Code:
// REFERRALS
if ($vboptions['usereferrer'])
{
$refcount = $DB_site->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "user WHERE referrerid = $userinfo[userid]");
$referrals = vb_number_format($refcount['count']);
}
change:
PHP Code:
$refcount = $DB_site->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "user WHERE referrerid = $userinfo[userid]");
to:
PHP Code:
$refcount = $DB_site->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "user WHERE referrerid = $userinfo[userid] AND posts > 25 AND usergroupid != 8");
code is
untested, i'm just offering some pointers, but if you know a little php, going from what i've posted you should be able to find the right bits in the ushop code and make similar changes. (oh and the usergroup bit on the end makes it ignore banned users.)
Anyway, this should provide some idea for someone else on where to go even if you can't make the changes from what i've posted here.