Seite 1 von 1
Fehler im Birthday Mod
Verfasst: 29.04.2005 21:00
von Sebastian_s.
Was hat das zu beeuten ich habe die zeilen aus der Anleitung 1zu1 kopiert
Parse error: parse error, unexpected T_IF, expecting ')' in /srv/www/htdocs/web30/html/seb/forum/includes/usercp_register.php on line 943
Verfasst: 29.04.2005 21:21
von Markus67
Hi ...
irgendwas wurde falsch eingebaut ...
Verlinke mal die komplette usercp_register.php als txt-Datei
KB:datei
Markus
Verfasst: 29.04.2005 21:27
von Sebastian_s.
das soll fehlerhaft sein:
if ( $birthday!=999999)
Verfasst: 29.04.2005 21:29
von Markus67
Hi ...
bitte die ganze Datei ... danke
Markus
Verfasst: 29.04.2005 21:31
von Sebastian_s.
ok
http://home.arcor.de/sebastianstrasser/1.txt
(das forum liegt nicht auf den arcor space)
Verfasst: 29.04.2005 21:49
von Markus67
Hi ...
suche in der usercp_register.php
Code: Alles auswählen
user_allow_pm, user_active, user_actkey, user_birthday, user_next_birthday_greeting)
ersetze mit:
Code: Alles auswählen
user_allow_pm, user_birthday, user_next_birthday_greeting, user_active, user_actkey)
suche:
Code: Alles auswählen
$user_style, 0, 1, '$birthday', '$next_birthday_greeting, ";
ersetze mit:
Code: Alles auswählen
$user_style, 0, 1, '$birthday', '$next_birthday_greeting', ";
suche:
Code: Alles auswählen
if ( $error )
{
$template->set_filenames(array(
// Start add - Birthday MOD
if ($birthday!=999999)
{
$b_day = realdate('j', $birthday);
$b_md = realdate('n', $birthday);
$b_year = realdate('Y', $birthday);
$birthday = realdate($lang['Submit_date_format'], $birthday);
} else
{
$b_day = '';
$b_md = '';
$b_year = '';
$birthday = '';
}
// End add - Birthday MOD
ersetze mit:
Code: Alles auswählen
// Start add - Birthday MOD
if ($birthday!=999999)
{
$b_day = realdate('j', $birthday);
$b_md = realdate('n', $birthday);
$b_year = realdate('Y', $birthday);
$birthday = realdate($lang['Submit_date_format'], $birthday);
} else
{
$b_day = '';
$b_md = '';
$b_year = '';
$birthday = '';
}
// End add - Birthday MOD
if ( $error )
{
$template->set_filenames(array(
Markus
Verfasst: 29.04.2005 22:00
von Sebastian_s.
danke vielmals hat geklappt