Everyones default age is 35

Mod that adds a birthday field to the users profile, theire age are displayed beside the posts, and on there birthday they will have a greeting popup
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Postby Condor on Fri 12. Aug, 2005 13:45

Beeveer wrote:You didn't all the changes in includes/usercp_register.php then.

I looked includes/usercp_register.php. I done all the changes, but the situation is the same...
Condor
Poster
Poster
 
Posts: 4
Joined: Wed 27. Apr, 2005 18:20

Postby Condor on Fri 12. Aug, 2005 13:51

Gadget Wizard wrote:I'm not sure if I was clear in my response. Please accept my apology if I was not.

If the date is defaulting back to 1970, then most likely the date value is the database is getting set to ZERO(0) instead of (999999).

When the date field is initialized or cleared properly, it should be getting set to 999999 in the database.

That should help you track down your problem. :wink:

I've done it... no changes! I am born on 02.01.1970.... :cry: :cry:
Condor
Poster
Poster
 
Posts: 4
Joined: Wed 27. Apr, 2005 18:20

Postby DivErTido on Mon 15. Aug, 2005 13:12

please... How to fix this?
All my members are complain :cry:
DivErTido
Poster
Poster
 
Posts: 35
Joined: Sun 27. Apr, 2003 20:28

Yep

Postby shawng on Fri 26. Aug, 2005 21:18

I have the same problem. This mod works great for current members but everyone new gets set in the database to 1 instead of 99999 whether they specify no birthday or specify a birthday and 1 is the default date of jan 2 1970. I believe some people are quick just to assume its an OE, I think more so it has to do with particular modifications not playing well together. I have gone over my usercp_register a million times, its straight but yet this problem perists for all my new users??? Anyone have any ideas? I can see I am obviously not the only person to have this problem. I would like to list my mods but to be honest I have a lot of nikels and dimes and a handful of big mods, it could take a while. If it comes down working with the developer of this mod or anyone with a lead I am willing to provide any details requested of me.

-s
shawng
Poster
Poster
 
Posts: 6
Joined: Fri 26. Aug, 2005 21:04

YES!!

Postby shawng on Fri 26. Aug, 2005 22:57

Okay the answer has been on this board for 2 almost 3 years.

http://mods.db9.dk/viewtopic.php?t=2009 ... 2+jan+1970

Scroll down to warmweer and see what he has to say. The fact is that the ordering of these variables on the insert is very crucial. after the 0,1 on the values and before user_active on the insert line resolved the issue when ALL ELSE FAILED. Thank you to Warmweer- 2 years later!!!

-Shawn
shawng
Poster
Poster
 
Posts: 6
Joined: Fri 26. Aug, 2005 21:04

Re: YES!!

Postby DivErTido on Fri 26. Aug, 2005 23:06

shawng wrote:Okay the answer has been on this board for 2 almost 3 years.

http://mods.db9.dk/viewtopic.php?t=2009 ... 2+jan+1970

Scroll down to warmweer and see what he has to say. The fact is that the ordering of these variables on the insert is very crucial. after the 0,1 on the values and before user_active on the insert line resolved the issue when ALL ELSE FAILED. Thank you to Warmweer- 2 years later!!!

-Shawn


Please, can you post here what I need to change with tags [open], [find], [after] and [before]?
I don´t understand what I need to do...
please :)
DivErTido
Poster
Poster
 
Posts: 35
Joined: Sun 27. Apr, 2003 20:28

Postby Condor on Mon 29. Aug, 2005 23:13

Oh.... no way.... :cry:
I did that, but it's the same... And now, if I'm trying to change something in the profile, i have this message:

SQL Error : 1062 Duplicate entry '' for key 2
UPDATE phpbb_users SET user_email = '***@****, user_icq = '', user_website = '', user_occ = '', user_from = '****', user_interests = '', user_birthday = '3410', user_next_birthday_greeting = '2006', user_sig = ****.', user_sig_bbcode_uid = '2700276692', user_viewemail = 0, user_aim = '', user_yim = '', user_msnm = '', user_attachsig = 1, user_allowsmile = 1, user_allowhtml = 1, user_allowbbcode = 1, user_allow_viewonline = 1, user_notify = 0, user_notify_pm = 1, user_popup_pm = 1, user_timezone = 2, user_dateformat = 'D M d, Y g:i a', user_lang = 'romanian', user_style = 4, user_active = 1, user_actkey = '', user_gender = '2' WHERE user_id = 76

Line : 593
File : usercp_register.php

(the **** are mine)

PS. i'm not an "expert"f Mysql... :cry:
Condor
Poster
Poster
 
Posts: 4
Joined: Wed 27. Apr, 2005 18:20

Previous

Return to Birthday [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron