April 13th Updates

Well I’ve done it again – pushed more changes to the linux.ie website.
A few tweaks were made, but the main focus here was adding the ‘let me know when my news items are going to expire’ functionality that Paul O’Malley needed.
This won’t make any difference to most people, because they haven’t got access rights to the News System, but they will have a preferences page, so they can indicate whether they want plain or HTML emails sent to them in the future.

2005-04-12 Ken Guest
    * newsitemexpiry: Only send reminder if supposed to - user mightn't want
                      to be notified each and every day running up to the
                      expiry date of the news item in question.
                      ie: prf_newsitem_alert_once value is honoured.

                      Also, in this script, insert as many rows into the
                      user_preferences table as needed so anyone who has posted
                      news items automatically has preferences set up.

2005-04-12 Ken Guest
    * preferences:    Let user change prf_newsitem_watch_period so he can
                      change just how soon he will be emailed ahead of a
                      newsitem expiring.
    * newsitemexpiry: Updated newsitemexpiry.php script to be fully aware of
                      the preferences set up so far, with the exception of
                      keeping track of whether a user has already been
                      notified.
                      Email format (plain/html) setting is honoured.
                      prf_newsitem_watch_period value is honoured.
                      prf_newsitem_expiry_alert value is honoured.

2005-04-11 Ken Guest
    * login:          Fixed assigned_access_right for better checks.
    * ui.php:         ui_yes_no function set to work with 't' and 'f' values.
    * nav.inc.php:    Was using $PHP_SELF with register globals turned off!
    * preferences:    Added user preferences - essential as we'll be sending
                      emails through cron etc fairly soon.
    * articlenotes:   Let admin delete an articlenote through the site.

2 Responses to “April 13th Updates”

  1. Paul O\' Malley says:

    This works and is well good :-) thanks Ken

  2. kenguest says:

    You’re very welcome Paul.
    If there’s anything else you need be sure to let me know.