this is the code thats in the register.php im sure i can edit one of these lines to make it so that they get points upon registration
PHP Code:
// ## <ucs>
if (intval($testreferrerid['userid']) != '0') {
if ($vboptions['uttpoints_enablesystem'] == '1')
{ // It's enabled! Yay!
if ($vboptions['uttpoints_pointsperreferral'] != '0')
{ // Needed value is not 0... good.
$givethempoints = $vboptions['uttpoints_pointsperreferral'];
}
if (isset($givethempoints))
{ // If they get money....
// Send the query and we're done.
$DB_site->query("UPDATE ".TABLE_PREFIX . $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='".intval($testreferrerid['userid'])."'");
}
}
}
// ## </ucs>
and i also did the edit in post # 4 and got this error
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/smora/public_html/phpbb2/register.php on line 742