Show todays Birthdays Mod
Posted by JuergenHansen
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
ShowTodaysBirthdays_0.7.05.zip | 5.8 KB | open | download | JuergenHansen | 10/06/2006 | Read message |
futureBirthdayHack.txt | 2 KB | open | download | babba_2000 | 11/28/2006 | Read message |
ShowTodaysBirthdays.php | 9.1 KB | open | download | Sunbringer | 12/14/2007 | Read message |
Show todays Birthdays Mod September 03, 2006 01:54PM |
Registered: 16 years ago Posts: 18 |
just as announced here, I have written a mod showing today's birthdays of registered users.
what it does:
--------------
The users can input their birthdays in the control center or, if the admin put it in the template, when they registers.
On the bottom of the forum will appear a list of users having birthday today. the nickname of the users will be linked to their profiles. after the nickname appears the age of the user in brackets.
the admins can make several settings in the admin-center:
* enables caching (loading the data once per day out of the database and put it in a file for later use)
* enables wether or not the listbox will be showed when it is nobody's birthday today.
* select the pages on wich the birthday-list appears (index, list, read, post, search, control)
installation:
---------------
For installation it is nessesary to copy some files and make changes in template files. You can find an instruction in the readme.txt file.
language-support:
---------------
in the moment, language files for german and english are included. Of course, you can translate the files in your language. When you send me your language-file, I will add it to the release.
template-support:
---------------
Of course, you can make your own template for the control center.
known unsolved bugs:
---------------
none
fixed bugs:
---------------
- link to the profile does not work since 5.1.16 (fixed in Version 0.7.01)
- caching does not work correct (fixed in Version 0.7.05)
supported versions of phorum
---------------
I have only tested this module with phorum 5.1.15. When you test it with another version, please tell me your experiences. Thanks a lot.
Please feel free to ask questions, make some suggestions for improvement or report bugs.
Edited 4 time(s). Last edit at 10/06/2006 07:39AM by JuergenHansen.
what it does:
--------------
The users can input their birthdays in the control center or, if the admin put it in the template, when they registers.
On the bottom of the forum will appear a list of users having birthday today. the nickname of the users will be linked to their profiles. after the nickname appears the age of the user in brackets.
the admins can make several settings in the admin-center:
* enables caching (loading the data once per day out of the database and put it in a file for later use)
* enables wether or not the listbox will be showed when it is nobody's birthday today.
* select the pages on wich the birthday-list appears (index, list, read, post, search, control)
installation:
---------------
For installation it is nessesary to copy some files and make changes in template files. You can find an instruction in the readme.txt file.
language-support:
---------------
in the moment, language files for german and english are included. Of course, you can translate the files in your language. When you send me your language-file, I will add it to the release.
template-support:
---------------
Of course, you can make your own template for the control center.
known unsolved bugs:
---------------
none
fixed bugs:
---------------
- link to the profile does not work since 5.1.16 (fixed in Version 0.7.01)
- caching does not work correct (fixed in Version 0.7.05)
supported versions of phorum
---------------
I have only tested this module with phorum 5.1.15. When you test it with another version, please tell me your experiences. Thanks a lot.
Please feel free to ask questions, make some suggestions for improvement or report bugs.
Edited 4 time(s). Last edit at 10/06/2006 07:39AM by JuergenHansen.
Re: Show todays Birthdays Mod September 04, 2006 04:25AM |
Registered: 18 years ago Posts: 278 |
Re: Show todays Birthdays Mod September 26, 2006 08:02AM |
Registered: 18 years ago Posts: 278 |
Re: Show todays Birthdays Mod October 04, 2006 05:37AM |
Registered: 16 years ago Posts: 35 |
the profile links don't work with the newest version because there's a 0, to many. I can't remember which line exactly it was but you can easily cut it out yourself.
hope that helps. I'll look up the exact line as soon as possible.
tha caching problem is a known issue by now but there was no time to get it working until now. sorry.
Netwalker.
hope that helps. I'll look up the exact line as soon as possible.
tha caching problem is a known issue by now but there was no time to get it working until now. sorry.
Netwalker.
Re: Show todays Birthdays Mod October 04, 2006 05:46AM |
Registered: 16 years ago Posts: 18 |
Ok, the link issue can be solved by editing line 193 in ShowTodaysBirthdays.php, wich is:
Please disable caching until this issue is solved. Sorry for that, I will fix it as soon as possible
Edited 1 time(s). Last edit at 10/04/2006 05:48AM by JuergenHansen.
$url = phorum_get_url(PHORUM_PROFILE_URL, "0,".$user["user_id"]);replace with that:
$url = phorum_get_url(PHORUM_PROFILE_URL, $user["user_id"]);
Please disable caching until this issue is solved. Sorry for that, I will fix it as soon as possible
Edited 1 time(s). Last edit at 10/04/2006 05:48AM by JuergenHansen.
Re: Show todays Birthdays Mod October 06, 2006 07:43AM |
Registered: 16 years ago Posts: 18 |
Re: Hack for Show todays Birthdays Mod November 11, 2006 01:40PM |
Registered: 18 years ago Posts: 3 |
Hi,
first of all, thanks a lot for this nice Mod. I have made a small hack for this Mod to show future birthdays. Unfortunately, I've made it only in German. Perhaps, you can integrate it in your Mod and extend the settings with the days in future.
Bye, Christian.
edit: small bugfix with abs()
Edited 2 time(s). Last edit at 11/28/2006 04:05AM by babba_2000.
first of all, thanks a lot for this nice Mod. I have made a small hack for this Mod to show future birthdays. Unfortunately, I've made it only in German. Perhaps, you can integrate it in your Mod and extend the settings with the days in future.
Bye, Christian.
edit: small bugfix with abs()
Edited 2 time(s). Last edit at 11/28/2006 04:05AM by babba_2000.
Re: Hack for Show todays Birthdays Mod November 22, 2006 11:59AM |
Registered: 16 years ago Posts: 18 |
Re: Hack for Show todays Birthdays Mod November 22, 2006 06:02PM |
Registered: 18 years ago Posts: 3 |
Re: Hack for Show todays Birthdays Mod December 05, 2006 11:35AM |
Registered: 16 years ago Posts: 18 |
Sorry, only registered users may post in this forum.