Birthdays v0.5 build
Features
Birthdays-today in footer and/or index
Upcoming birthday events
Birthday greetings by news
Installation
1. Download the plugin archive
2. Unpack and place "birthdays" folder in the plugins directory (plugins/ for Seditio and plugins/extended/ for LDU), and the contents of "code" folder into plugins/code/
3. Create database structure for plugin (applying sql/birthdays.ldu.sql for LDU or sql/birthdays.sed.sql for Seditio) in your database
4. Go to administration, and enable Birthdays plugin.
5. Add tags to the skin files..
5.1. footer.tpl:
Kod:
<!-- BEGIN:FOOTER_BIRTHDAYSTODAY -->
<div>{FOOTER_BIRTHDAYSTODAY_TITLE}: {FOOTER_BIRTHDAYSTODAY_TEXT}</div>
<!-- END:FOOTER_BIRTHDAYSTODAY -->
5.2. index.tpl:
Kod:
<!-- BEGIN:INDEX_BIRTHDAYSTODAY -->
<h4>{INDEX_BIRTHDAYSTODAY_TITLE}</h4>
<div>{INDEX_BIRTHDAYSTODAY_TEXT}</div>
<!-- END:INDEX_BIRTHDAYSTODAY -->
Configuration
1. birthdays_today - Show "Birthdays Today"ş
2. birthday_news - Greet members in newsş (default disabled)
3. birthday_news_minlevel - Minimum userlevel to greet in news
4. birthday_news_category - Category code of the news category
5. birthday_events - Create birthday events in calendarş (default disabled)
6. birthday_events_minlevel - Minimum userlevel to place birthday events
7. birthday_events_category - Category code of the events category
8. birthday_pm - Greet members by PMş Currently unused as the feature is yet not implemented. (default enabled)
9. birthday_email - Greet members by Emailş Currently unused as the feature is yet not implemented. (default enabled)
TODO
Greet users by PM
Greet users by email (possibly, only those who have emailnotify onş)
Birthday reminders
Admin tool for editing templates