if (isExtensionInstalledAndNewer('theme', '0.0.8')) {
// Okay, add design here
$GLOBALS['register_sql_columns'] .= ', `curr_theme`';
- $GLOBALS['register_sql_data'] .= ", '{%pipe,getCurrentTheme%}'";
+ $GLOBALS['register_sql_data'] .= ", '{%%pipe,getCurrentTheme%%}'";
} // END - if
// Check if I shall disable sending mail to newly registered members out about active/begging rallye
`{?_MYSQL_PREFIX?}_user_data`
(`gender`,`surname`,`family`,`street_nr`,%s, `zip`,`city`,`email`,`birth_day`,`birth_month`,`birth_year`,`password`,`max_mails`,`receive_mails`,`refid`,`status`,`user_hash`,`REMOTE_ADDR`,`joined`,`last_update`,`ref_payout`".$GLOBALS['register_sql_columns'].")
VALUES
-('%s','%s','%s','%s','%s',%s,'%s','%s',%s, %s,%s,'%s',%s, %s,'%s','UNCONFIRMED','%s','%s', UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), {?ref_payout?}".$GLOBALS['register_sql_data'].")",
+('%s','%s','%s','%s','%s',%s,'%s','%s',%s, %s,%s,'%s',%s, %s,'%s','UNCONFIRMED','%s','{%%pipe,detectRemoteAddr%%}', UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), {?ref_payout?}".$GLOBALS['register_sql_data'].")",
array(
$countryRow,
substr(postRequestParameter('gender'), 0, 1),
bigintval(postRequestParameter('max_mails')),
bigintval(postRequestParameter('max_mails')),
makeZeroToNull(postRequestParameter('refid')),
- $hash,
- detectRemoteAddr(),
+ $hash
), __FUNCTION__, __LINE__);
// Get his userid