[ADD-ON] improve forum speed

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 belin on Sun 24. Jul, 2005 23:42

hi everybody

great mod!!!!! i have an answer :?: ... is possible to check for new birthday only 1 time in a day for example at 5.00 am??

thanks for help :wink:
belin
Poster
Poster
 
Posts: 5
Joined: Sat 16. Jul, 2005 15:33

Postby Beeveer on Mon 25. Jul, 2005 11:49

This mod does something like you want. It checks the birthday's one time a day, when somebody visit the site, en saves is the whole day. What you want can't be done, because somebody has to visit the site then.
Nee, ik geef geen antwoorden in het Nederlands, die horen thuis op www.phpbb.nl ;)
User avatar
Beeveer
brilliant supporter
 
Posts: 264
Joined: Tue 30. Nov, 2004 19:13
Location: Boskoop, South-Holland, the Netherlands

Postby belin on Mon 25. Jul, 2005 12:46

Beeveer wrote:This mod does something like you want. It checks the birthday's one time a day, when somebody visit the site, en saves is the whole day. What you want can't be done, because somebody has to visit the site then.


great!!1

i think the line to mod is this

Code: Select all
$valid = (date('YzH',time(),0) - date('YzH',@filemtime($cache_data_file),0)<1) ? true : false;


how to find for new birthday at 5.00 a.m

Thanks for help :wink: :wink:
belin
Poster
Poster
 
Posts: 5
Joined: Sat 16. Jul, 2005 15:33

Postby Beeveer on Mon 25. Jul, 2005 13:39

I think you didn't read my post completly....
Nee, ik geef geen antwoorden in het Nederlands, die horen thuis op www.phpbb.nl ;)
User avatar
Beeveer
brilliant supporter
 
Posts: 264
Joined: Tue 30. Nov, 2004 19:13
Location: Boskoop, South-Holland, the Netherlands

Postby belin on Mon 25. Jul, 2005 23:28

Beeveer wrote:I think you didn't read my post completly....


ops :wink: ... thanks so much
belin
Poster
Poster
 
Posts: 5
Joined: Sat 16. Jul, 2005 15:33

Postby easygo on Tue 26. Jul, 2005 02:32

Beeveer wrote:It checks the birthday's one time a day, when somebody visit the site, en saves is the whole day.

Sure? If so keep the cache folder in view for one day.
Here we go ^^
Image
easygo
Poster
Poster
 
Posts: 44
Joined: Tue 02. Nov, 2004 17:03

Postby Beeveer on Tue 26. Jul, 2005 19:32

easygo wrote:
Beeveer wrote:It checks the birthday's one time a day, when somebody visit the site, en saves is the whole day.

Sure? If so keep the cache folder in view for one day.


I don"t see what's wrong with the thing I said, i've tested it for myself, and the latest version is working as I told there ;)
Nee, ik geef geen antwoorden in het Nederlands, die horen thuis op www.phpbb.nl ;)
User avatar
Beeveer
brilliant supporter
 
Posts: 264
Joined: Tue 30. Nov, 2004 19:13
Location: Boskoop, South-Holland, the Netherlands

Postby easygo on Tue 26. Jul, 2005 20:55

Ok, what's the timestamp of your /index/birthday_xxx.dat at the
end of a day? Just take a look and let me know...

We've tested the latest version a few weeks ago, but .dat files were updated
much more than once per day. Seems like one time for one session or so.

However, we solved this problem (among others) with an own stable version (RC3)

http://www.net4seven.de/ftopic410.html

Give it a try
Here we go ^^
Image
easygo
Poster
Poster
 
Posts: 44
Joined: Tue 02. Nov, 2004 17:03

PreviousNext

Return to Birthday [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron