Birthdays

Plugin Description

Plugin: Birthday – The Simple:Press plugin allows users to enter their birthday in their profile then display on the forum page which users have a birthday today and which have upcoming birthdays.

WARNING

In standard supplied Simple:Press themes the Birthday notice is contained in the ‘Stats’ section of the forum page footer. The Birthday notices will not be displayed if the ‘Stats’ section has been removed or commented out. It is strongly recommended that standard supplied Simple:Press themes not be modified, but instead a Child Theme or Custom Theme be developed to accommodate the changes to the theme.

Plugin Features

Installing this Simple:Press plugin adds:

  • A new “Birthdays” section in the “Available Plugins – Install Simple:Press Plugins” panel under the forum Admin menu path Forum > Plugins > Available Plugins. From this panel the plugin can be activated, or deleted by the admin.
  • When properly installed, a new folder in the “forum-plugin” folder named “birthdays” containing the plugin’s files.

Activating this plugin provides:

  • A change to the new “Birthdays” section in the “Available Plugins – Install Simple:Press Plugins” panel under the Admin menu path Forum > Plugins > Available Plugins so the Simple:Press plugin can be deactivated, uninstalled, or have its Options set up.
    • The Options link goes to the existing “Options – General Display Settings” forum Admin panel with a new “Birthdays Window” section.
    • The “Getting Started” link associated with the “Deactivate/Uninstall/Options” selections should be selected to view the pertinent information regarding the plugin.
  • A new “Birthdays Window” section in the existing “Options – General Display Settings” forum Admin panel where the size (in days) of the look ahead window for selecting the users whose name will be displayed with upcoming birthdays.
    • The current default is 7 days.
    • The “Help” link should be used for assistance in setting up the options.
    • The “Options – General Display Settings” forum Admin panel can also be accessed under the Admin menu path Forum > Options > General Display Settings.
  • A new “Birthday:” input text box in users’ profile where the users can input their birth date in the “YYYY-MM-DD” format if they wish to have their birthday displayed in the forum.
    • The “Birthday:” input text box is access from the forum page header by clicking the “Profile” button, followed by clicking the “Profile” tab from among the tabs, then clicking the “Edit Profile” tab.
  • A new Birthdays display in the forum page footer containing the “birthday cake icon” and the names of users with birthdays today and in the near future as selected by the forum admin in the “Birthdays Window” section of the “Options – General Display Setting” forum Admin panel.

Note

A user’s birth year is not displayed.

  • Users whose birthdays are today have their names displayed after “Today” in the Birthday section of the forum page footer.
  • Users whose birthdays are within the specified look-ahead window have their names displayed after “Upcoming” in the Birthday section of the forum page footer.