mkrealdate <- Fehler in Birthday-MOD von Niels...
Verfasst: 23.09.2005 14:49
Hi.
Ich habe grade mehr oder weniger erfolgreich den Birthday-Mod von Niels Installiert. Als ich meinen geburtstag in Profil eingetragen hab und abschicken wollte, kam folgende fehlermeldung:
Die Zeilen sind von Birthday-Mod:
Wie muss man das denn schreiben das das funktioniert (auf Vers. 2.0.17)??
Schon mal Danke!
mfg, Cold
edit: Ups... falsches Forum... Bitte verschieben nach Einbau/Anpassung! Ich bin momentan ein wenig durch den Wind
Ich habe grade mehr oder weniger erfolgreich den Birthday-Mod von Niels Installiert. Als ich meinen geburtstag in Profil eingetragen hab und abschicken wollte, kam folgende fehlermeldung:
Fatal error: Call to undefined function: mkrealdate() in /www/htdocs/w0059f5f/includes/usercp_register.php on line 193
Die Zeilen sind von Birthday-Mod:
// Start add - Birthday MOD
if (isset($HTTP_POST_VARS['birthday']) )
{
$birthday = intval ($HTTP_POST_VARS['birthday']);
if ($birthday!=999999)
{
$b_day = realdate('j',$birthday);
$b_md = realdate('n',$birthday);
$b_year = realdate('Y',$birthday);
}
} else
{
$b_day = ( isset($HTTP_POST_VARS['b_day']) ) ? intval ($HTTP_POST_VARS['b_day']) : 0;
$b_md = ( isset($HTTP_POST_VARS['b_md']) ) ? intval ($HTTP_POST_VARS['b_md']) : 0;
$b_year = ( isset($HTTP_POST_VARS['b_year']) ) ? intval ($HTTP_POST_VARS['b_year']) : 0;
if ($b_day && $b_md && $b_year)
{
[Line 193] $birthday = mkrealdate($b_day,$b_md,$b_year);
} else
{
$birthday = 999999;
}
}
// End add - Birthday MOD
Wie muss man das denn schreiben das das funktioniert (auf Vers. 2.0.17)??
Schon mal Danke!
mfg, Cold
edit: Ups... falsches Forum... Bitte verschieben nach Einbau/Anpassung! Ich bin momentan ein wenig durch den Wind