here is what i added:
Code:
// Store hack By Lesane
$storeadmin = $DB_site->query_first("SELECT pointname,storename FROM storeadmin");
$pointname=$storeadmin[pointname];
$storename=$storeadmin[storename];
$store=$DB_site->query_first("SELECT storep FROM user WHERE userid='$bbuserinfo[userid]'");
if(!$bbuserinfo[userid]) {
$storepoints="0";
} else {
$storepoints=$store[storep];
}
i added that right before: