birthday_add_on_zodiac_1.0.5em
Verfasst: 24.03.2004 18:56
Hallo
Ich habe ein Problem mit der Anzeige bei dem Mod und kann den Fehler nicht finden.
Sowohl im Profil, als auch in den Posts wird das Image hinter einem Doppelpunkt angezeigt. Was mir fehlt ist die Beschreibung davor.
Irgendwo scheine ich da einen Fehler reingebaut zu haben.
viewtopic:
// Start add - Birthday MOD
if ( $postrow[$i]['user_birthday'] != 999999 )
{
$poster_birthdate=realdate ('md', $postrow[$i]['user_birthday']); $n=0;
while ($n<26)
{
if ($poster_birthdate>=$zodiacdates[$n] && $poster_birthdate<=$zodiacdates[$n+1])
{
$zodiac = $lang[$zodiacs[($n/2)]];
$u_zodiac = $images[$zodiacs[($n/2)]];
$zodiac_img = '<img src="' . $u_zodiac . '" alt="' . $zodiac . '" title="' . $zodiac . '" align="top" border="0" />';
$n=26;
} else
{
$n=$n+2;
}
}
$poster_age = $this_year - realdate ('Y',$postrow[$i]['user_birthday']);
if ($this_date < $poster_birthdate) $poster_age--;
$poster_age = $lang['Age'] . ': ' . $poster_age;
} else
{
$zodiac = '';
$u_zodiac = '';
$zodiac_img = '';
$poster_age = '';
}
// End add - Birthday MOD
usercp_viewprofile:
// Start add - Birthday MOD
if ($profiledata['user_birthday']!=999999)
{ $user_birthdate = realdate('md', $profiledata['user_birthday']);
$i=0;
while ($i<26)
{
if ($user_birthdate>=$zodiacdates[$n] && $user_birthdate<=$zodiacdates[$i+1])
{
$zodiac = $lang[$zodiacs[($i/2)]];
$u_zodiac = $images[$zodiacs[($i/2)]];
$zodiac_img = '<img src="' . $u_zodiac . '" alt="' . $zodiac . '" title="' . $zodiac . '" align="top" border="0" />';
$i=26;
} else
{
$i=$i+2;
}
}
$user_birthday = realdate($lang['DATE_FORMAT'], $profiledata['user_birthday']);
} else
{
$user_birthday = $lang['No_birthday_specify'];
}
// End add - Birthday MOD
Vielleicht weiß da jemand Rat und kann mir helfen.
lg
Balduin
Ich habe ein Problem mit der Anzeige bei dem Mod und kann den Fehler nicht finden.
Sowohl im Profil, als auch in den Posts wird das Image hinter einem Doppelpunkt angezeigt. Was mir fehlt ist die Beschreibung davor.
Irgendwo scheine ich da einen Fehler reingebaut zu haben.

viewtopic:
// Start add - Birthday MOD
if ( $postrow[$i]['user_birthday'] != 999999 )
{
$poster_birthdate=realdate ('md', $postrow[$i]['user_birthday']); $n=0;
while ($n<26)
{
if ($poster_birthdate>=$zodiacdates[$n] && $poster_birthdate<=$zodiacdates[$n+1])
{
$zodiac = $lang[$zodiacs[($n/2)]];
$u_zodiac = $images[$zodiacs[($n/2)]];
$zodiac_img = '<img src="' . $u_zodiac . '" alt="' . $zodiac . '" title="' . $zodiac . '" align="top" border="0" />';
$n=26;
} else
{
$n=$n+2;
}
}
$poster_age = $this_year - realdate ('Y',$postrow[$i]['user_birthday']);
if ($this_date < $poster_birthdate) $poster_age--;
$poster_age = $lang['Age'] . ': ' . $poster_age;
} else
{
$zodiac = '';
$u_zodiac = '';
$zodiac_img = '';
$poster_age = '';
}
// End add - Birthday MOD
usercp_viewprofile:
// Start add - Birthday MOD
if ($profiledata['user_birthday']!=999999)
{ $user_birthdate = realdate('md', $profiledata['user_birthday']);
$i=0;
while ($i<26)
{
if ($user_birthdate>=$zodiacdates[$n] && $user_birthdate<=$zodiacdates[$i+1])
{
$zodiac = $lang[$zodiacs[($i/2)]];
$u_zodiac = $images[$zodiacs[($i/2)]];
$zodiac_img = '<img src="' . $u_zodiac . '" alt="' . $zodiac . '" title="' . $zodiac . '" align="top" border="0" />';
$i=26;
} else
{
$i=$i+2;
}
}
$user_birthday = realdate($lang['DATE_FORMAT'], $profiledata['user_birthday']);
} else
{
$user_birthday = $lang['No_birthday_specify'];
}
// End add - Birthday MOD
Vielleicht weiß da jemand Rat und kann mir helfen.
lg
Balduin