[x] Navigation

[x] Wer ist wo
 Bots:
1: Google > Forum 9.x
 Visitors:
1: Forum 9.x

[x] Languages

[x] Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.

[x] Downloads (Top)

Friendfinder Geburtsdatum
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > Module & Blöcke

Author Message
BeeGee
Investigator


Joined: Nov 15, 2005
Posts: 48
Location: Stuttgart

PostPost subject: Friendfinder Geburtsdatum
Posted: 07.12.2005 16:48
Reply with quote

Hallo,

ich habe mir Friendfinder installiert. Leider erkennt er die Geburstdaten nicht. Das heißt wenn jemand z.B. 19 ist wird aber als 18 angezeigt obwohl die Daten bei der Registrierung stimmen. Weiß jemand eine Lösung?

Greetz


[Moderatoren]: BeeGee trage unter Profil >> Sonstiges deine Serverdaten ein! Crying or Very sad
Back to top
View user's profile
Poldi
Moderator


Joined: Nov 14, 2004
Posts: 705

PostPost subject: Re: Friendfinder Geburtsdatum
Posted: 13.12.2005 17:58
Reply with quote

BeeGee wrote:
Hallo,

ich habe mir Friendfinder installiert. Leider erkennt er die Geburstdaten nicht. Das heißt wenn jemand z.B. 19 ist wird aber als 18 angezeigt obwohl die Daten bei der Registrierung stimmen. Weiß jemand eine Lösung?

Greetz

Hi ...

Bei der Suche nach deinem anderen Problem mit dem FF hab ich ne Lösung für dieses gefunden Laughing

Die Routine, die das Alter aus dem Geburtsdatum errechnet hat nen Bug und rundet das Ergebnis ab, anstatt auf ...

Such in den Dateien index.php und functions.php nach den Zeilen mit dem Inhalt :
Array:
$age = intval($age);
(bei mir in der index.php Zeile 1418 und in der functions.php Zeilen 253 und 385)
und ändere es in
Array:
$age = intval($age)+1;
dann sollte das auch passen ...

Wohlgemerkt, ich konnte noch nicht testen, ob das irgendwo Probleme macht, aber ich denke, das dem nicht so ist Twisted Evil

Ich mach mich dann mal weiter an die Arbeit ...

_________________
gG,
Poldi
www.green-dragon.de (Dragonfly 9.2.1)
www.tampones.de (Dragonfly 9.2.1)
www.bfg-deggendorf.de (Dragonfly 9.2.1)
www.sexy-goths.de (Dragonfly 9.1.2.1)
www.gig-hunter.de (deceased)
www.green-dragon.net (Dragonfly CVS ... Testseite)

Poldi's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.0.27-5.0.18/4.4.9-5.2.1/9.1.0.0-9.2.1
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > Module & Blöcke
Page 1 of 1
All times are GMT + 1 Hour



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum




Interactive software released under GNU GPL, Code Credits, Privacy Policy