Birthdays Module for Community Builder


Version
0.15 (last update on Aug 6, 2009)
Rating
Compatibility
Votes
Favoured
20
License
GPLv2 or later
Non-Commercial
Type
Views
38185
Date Added
20 May 2009
With tho following parameters you can customize the component:
- field birthday ... defines the birthday fieldname from Community Builder
- count ... number of list entries
- display name ... choose the user- or the real name
- show CB link ... displays if selected th link to the CB Profile
- show calendar ... enable the calendar icon
- show age ... shows the new age from the user
- show remaining days ... shows the days until the birthday
- singular and plural day ... customize the string for day and days
- module class suffix ... to customize the styling of the module
Changes in v 0.15 (2009-08-06):
- Option to show the link to CB Profile Page of the user
- BugFix: display the correct age for members having birthday next year
this is a great module,
but I added a functionality to display the next birthdays in an interval of n days (I wrote the author about this but did not receive a reply..)
= mod_birthdays.xml =
(line #59)
= helper.php =
(line #12)
/* kotasbiketeam */
//$query = "SELECT cp.user_id, u.username, cp.firstname, cp.lastname, cp.$feld_gebtag,"
$query = "SELECT * from ("
. "SELECT cp.user_id, u.username, cp.firstname, cp.lastname, cp.$feld_gebtag,"
(line #34)
/* kotasbiketeam */
//. "\n LIMIT 0," . $params->get('count','5');
. "\n LIMIT 0," . $params->get('count','5')
. ") as birthdays where days_to_birthday get('interval','30');
hope it helps!
luis raposo
but I added a functionality to display the next birthdays in an interval of n days (I wrote the author about this but did not receive a reply..)
= mod_birthdays.xml =
(line #59)
= helper.php =
(line #12)
/* kotasbiketeam */
//$query = "SELECT cp.user_id, u.username, cp.firstname, cp.lastname, cp.$feld_gebtag,"
$query = "SELECT * from ("
. "SELECT cp.user_id, u.username, cp.firstname, cp.lastname, cp.$feld_gebtag,"
(line #34)
/* kotasbiketeam */
//. "\n LIMIT 0," . $params->get('count','5');
. "\n LIMIT 0," . $params->get('count','5')
. ") as birthdays where days_to_birthday get('interval','30');
hope it helps!
luis raposo
This module performs as advertised. However, I really don't want to show birthdays that are hundreds of days out in time. Looked into modifying as an earlier reviewer did, but Mein Deutsch ist nicht sehr gut :) If I could change this one little item, or if a future release would address in the backend configuration this would get my highest marks!
I have a site with a small number of users, so I only wanted to display birthdays coming in the next month (rather than hundreds of days out), so I figured out how to change the tmp/default.php file to create that limit. If the author would make that configurable through the admin, that would make this a 5 star extension. Simple to install and use.
I love using this extension makes the members of the site feel important when they see that there username are posted in the fronpage i've started using the ver. 0.13 but when i tried using the 0.15 some members show in the module even if there birthdays had already passed it displayed 22 thedrifter 30 (253 days) which is already passed cause the birthday is june 22 1980 and supposed to be only usernames are shown 5 days prior to the actual day of birth. But still an Execellent work lucky me i still have the 0.13v so i just re-installed it. I don't know what may be causing the problem but hope my problem is in any help to improved this extension.









