Pagina 1 van 1

add field to profile

Geplaatst: 22 jun 2004, 15:54
door V!ncent
hoi,
na dat ik de add field to profile mod heb geisntaleerd krijg ik de volgende fout als je je wilt reggen of als je naar je profiel wilt gaan:

Code: Selecteer alles

Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/virtual/site16/fst/var/www/html/includes/usercp_register.php on line 164
op line 164 staat:

Code: Selecteer alles

validate_optional_fields($icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $signature);
$1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, heb ik toegevoegt.

Geplaatst: 22 jun 2004, 16:15
door WebSiteNet
Weet je zeker dat alle nummers verder kloppen?

Kan dit stuk code er ook met een aantal regels er om heen laten zien? het komt namenlijk ook vaak voor dat de fout er voor zit.

Geplaatst: 22 jun 2004, 16:30
door V!ncent
// End add - Birthday MOD


// Run some validation on the optional fields. These are pass-by-ref, so they'll be changed to
// empty strings if they fail.
validate_optional_fields($icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $signature);

$viewemail = ( isset($HTTP_POST_VARS['viewemail']) ) ? ( ($HTTP_POST_VARS['viewemail']) ? TRUE : 0 ) : 0;
$allowviewonline = ( isset($HTTP_POST_VARS['hideonline']) ) ? ( ($HTTP_POST_VARS['hideonline']) ? 0 : TRUE ) : TRUE;
$notifyreply = ( isset($HTTP_POST_VARS['notifyreply']) ) ? ( ($HTTP_POST_VARS['notifyreply']) ? TRUE : 0 ) : 0;
$notifypm = ( isset($HTTP_POST_VARS['notifypm']) ) ? ( ($HTTP_POST_VARS['notifypm']) ? TRUE : 0 ) : TRUE;
$popup_pm = ( isset($HTTP_POST_VARS['popup_pm']) ) ? ( ($HTTP_POST_VARS['popup_pm']) ? TRUE : 0 ) : TRUE;

Geplaatst: 22 jun 2004, 17:44
door WebSiteNet
Nog meer code er voor. Dat comentaar heeft geen invloed. :)

Geplaatst: 22 jun 2004, 20:11
door V!ncent
:oops: :P

zou het misschien door de $1 enz komen?

Geplaatst: 22 jun 2004, 20:16
door Podium4
Als ik die mod zie, vraag ik me af of die wel werkt als de birthday mod is geinstalleerd...

Geplaatst: 22 jun 2004, 21:03
door V!ncent
zou die dan niet samen werken met de birthday mod? :shock: