Celebrations (before: List user celebrations like birthday and others) v0.3

Release Notes

NOTE: I have no tested it in diferent situations, it's for test purpose, and it is the first version.

This plugin is to see the users celebrations like birthdays, anniversaries,....

You should use Kevin's form and flexprofile plugin because I haven't tested it with the core personalization profile fields, but maybe it works.

This plugin adds some field types to the profile form that is generated by the flexprofile plugin of Kevin.

At the moment I have defined the field type:

- "date" with three pulldowns for the day, month and year to avoid the use of calendar input for old dates

- "feast date" a particular date with two pulldowns with day and month (in some countries like spain you celebrate the date of your name's saint)

Then you can create profile fields like "birthday", "feastday" and "dieday".

If you use these names then the widget and the plugin can show these dates. In a future I want to add a marriage field.

In your "tools" menu appears a "view celebrations" option where you select the month, then you obtain a list with all the celebrations for this month

You can put the two widgets in your profile page with:

  1. celebrations of the day
  2. next celebrations

 

I haven't defined css specific styles for this plugin, you can see it with your theme and improve it. I apreciates if you send me css examples.

I'm not a code generator, I'm a user with certain php knowledge. This plugin works for me but maybe it's not the best code.

Any suggestions, bugs, improvements and comments are welcome.

Installation:

1. intall the folder celebrations inside mod directory

2. install the kevin plugin (http://community.elgg.org/pg/plugins/kevin/read/97061/form-and-related-plugins-for-elgg-15-and-higher)

3. createa profile form with this plugin (read the instructions because rewrite the elgg profile fields)

4. create the fields "birthday" and "dieday" with "date" type

5. create the field "feastday" with "feast day" type

6. install the widget "today_celebrations" (optional)

7. install the widget "next_celebrations" (optional)

8. edit the days left in "next_celebrations" widget

9. configure the plugin in the administration tool to activate the celebrations reminder on the login

Changes for release 0.3

-
Added a new widget to see the next celebrations (you can edit the widget setting in the edit button on the widget)
- Added a reminder when you login with the next celebrations (you can edit teh settings in the admin plugin settings)
- Added the possibility to send a message in the today celebrations widget

Changes for release 0.2

- Change date by gmdate
- Correct some errors with feast celebrations
- Improve user experience with less screens
- Submenu added with the month's list
- Corrected some language errors
- Added icon and profile link for every user
- Corrected a double closed of select tag

Todo list
- Email reminders for the next celebrations
- Add a new relationships between users (marriages)

 

A screenshot with the two widgets activated

View of two widgets i dashboard

A picture in the moment of login with one reminder

Login reminder

Stats

  • Category: Uncategorized
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 7432
  • Recommendations: 5

Other Projects

View Fernando's plugins