[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 bigbrother on Sun 31. Jul, 2005 17:40

Interesting to read what you guys discuss, of course not personally...

Ciao

Martin
You can't stop Rock'n'Roll - Keep Rockin'

www.bonnrock.de
bigbrother
Poster
Poster
 
Posts: 3
Joined: Sat 30. Jul, 2005 12:44
Location: Wachtberg

Postby Beeveer on Sun 31. Jul, 2005 21:01

easygo wrote:Sry, this is no answer to my question. Do you remember?

easygo wrote: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...

Btw, I have no problems concerning this matter but a final solution
for interested parties. That makes the difference between us.

You said: The nicest version I know... but this is not the latest one
from here? So I think there are a lot of disaccords in your posts.

Do you really know which version you've tested at all?


The code is exactly the same, except a toggle, that make it possible to turn the cache off in the admin panel. The file is nicely updated one time a day, not multiple time a day, so it is working as Niels wants that is it working.

Example from the timestamps, checked with a program that monitors filechanges:

29-07-2005: 0:03
30-07-2005: 0:04
31-07-2004: 0:08
Updated at midnight, and when one of my users visited the board.
User avatar
Beeveer
brilliant supporter
 
Posts: 264
Joined: Tue 30. Nov, 2004 19:13
Location: Boskoop, South-Holland, the Netherlands

Postby easygo on Mon 01. Aug, 2005 00:00

Beeveer wrote:The code is exactly the same, except a toggle, that make it possible to turn the cache off in the admin panel.

Just another version and "not" exactly the same code like the latest one -->

http://mods.db9.dk/viewtopic.php?p=19989#19989

Well, your toggle feature is a nice gadget, but it makes a further
entry in a crowded admin control panel, what for? There's
no need to switch off caching B-days if it works.

However, thanx for your answer. I believe...
we'll have good weather after the storm.
Here we go ^^
Image
easygo
Poster
Poster
 
Posts: 44
Joined: Tue 02. Nov, 2004 17:03

Postby Beeveer on Mon 01. Aug, 2005 21:37

Became time too, was raining the whole week over here :wink:
User avatar
Beeveer
brilliant supporter
 
Posts: 264
Joined: Tue 30. Nov, 2004 19:13
Location: Boskoop, South-Holland, the Netherlands

Postby Werner on Wed 10. Aug, 2005 12:52

Niels wrote:this is the new section witch I now use on index....this can be used on all OS
Notice you will need a folder named /cache/index - and the www server need write access to this.

So I did and the index.php is running without an error. How nice.

But everytime I look into the folder /cache/index/ there is no file in it. 8O
Why?
Werner
Poster
Poster
 
Posts: 4
Joined: Fri 12. Sep, 2003 15:53

Postby Werner on Mon 15. Aug, 2005 13:11

Werner wrote:
Niels wrote:this is the new section witch I now use on index....this can be used on all OS
Notice you will need a folder named /cache/index - and the www server need write access to this.

So I did and the index.php is running without an error. How nice.

But everytime I look into the folder /cache/index/ there is no file in it. 8O
Why?



*bump*

Any idea?
Werner
Poster
Poster
 
Posts: 4
Joined: Fri 12. Sep, 2003 15:53

Postby belin on Thu 25. Aug, 2005 01:22

belin wrote:i have try to use the bday mod but logged user see the today birthday correctly and not logged user (guest) see yesterday birthday 8O 8O

any ideas??


the mod create 2 files in cache directory
1: bday_0.php ... with yesterday birthaday and $birthday_week_list correct
2: bday_2.00.php ... with today birthday and $birthday_week_list

Probably guest see bday_0.php and logged user see bday_2.00.php

Any ideas for this problem
Thanks :D
Last edited by belin on Tue 30. Aug, 2005 00:31, edited 1 time in total.
belin
Poster
Poster
 
Posts: 5
Joined: Sat 16. Jul, 2005 15:33

Postby easygo on Mon 29. Aug, 2005 21:26

Hi belin,

please remove this code! In the future use the URL instead
of copy/paste complete codes from my site.

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

belin wrote:Probably guest see bday_0.php and logged user see bday_2.00.php


Choose gmt +2 for board timezone. This may solves your problem.

greetz easy
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