[Fixed] Birthday lookforward error !!!

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 !

[Fixed] Birthday lookforward error !!!

Postby anand on Tue 02. Dec, 2003 19:51

Ever since December started the birthday mod has stopped working on my board. The board always says "No users have a birthday..." when there are definately birthdays coming up within the lookahead time period.

It was working fine in November and I haven't made any modifications to any of the forum scripts since then.

Anyone else see this or have ideas?


[Edited by kooky: change topic title and sticky]
anand
Poster
Poster
 
Posts: 4
Joined: Thu 23. Oct, 2003 07:34

Postby nepolia on Tue 02. Dec, 2003 21:10

I had the same problem, this seemed to fix it;

Code: Select all
after

   $date_forward = create_date('md', $time_now+($board_config['birthday_check_day']*86400), $board_config['board_timezone']);

add
   if($date_forward < $date_now)
   {
      $date_forward = create_date('md', $time_now+((365+$board_config['birthday_check_day'])*86400), $board_config['board_timezone']);
   }
nepolia
Poster
Poster
 
Posts: 21
Joined: Sat 22. Feb, 2003 21:21

Postby anand on Tue 02. Dec, 2003 22:27

Excellent, works great. Thanks nepolia!
anand
Poster
Poster
 
Posts: 4
Joined: Thu 23. Oct, 2003 07:34

Postby anand on Fri 05. Dec, 2003 02:48

It stopped working again :? Verified that the mod above was still in place. Did yours stop working too?

I'll check mine out and see if I can find anything..
anand
Poster
Poster
 
Posts: 4
Joined: Thu 23. Oct, 2003 07:34

Postby gfmorris on Fri 05. Dec, 2003 20:44

I had the script looking ahead by 30 days, so when I got past 12/2, it stopped working at all, even on birthdays this month.

I've changed the look-ahead to just 14 days for now until a fix can be worked.

GFM
gfmorris
Poster
Poster
 
Posts: 7
Joined: Thu 17. Jul, 2003 17:51

Postby kooky on Sat 06. Dec, 2003 00:47

maybe you have both probably an error in functions.php and index.php !!!
kooky
brilliant supporter
 
Posts: 1329
Joined: Tue 31. Dec, 2002 17:52
Location: Au pays des rêves

Postby spritzkuchen on Sat 06. Dec, 2003 23:10

Hi,

i dont think so, because i also have this problem ;(
spritzkuchen
Poster
Poster
 
Posts: 1
Joined: Mon 20. Oct, 2003 17:04

Same Problem

Postby dEAth81 on Sat 06. Dec, 2003 23:49

I also have this problem
I am using the Intro&Portal Mod 1.50 with the birthday fix by ASW and birthday mod 1.5.2!!!
Um ein tadelloses Mitglied einer Schafherde sein zu können, muß man vor allem ein Schaf sein.
Albert Einstein (1879 - 1955)
dEAth81
Poster
Poster
 
Posts: 1
Joined: Tue 18. Nov, 2003 02:46

Next

Return to Birthday [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron