Posts for 11th August 2010

The DateChanger plugin provides the ability to change the date and time a post is created at.

Unfortunately in its current form the date and time is obtained via a call to time() that returns the system time.

Many FlatPress installations will be working off of a local time as set in the Options \ International Settings panel.

To pick up this local time the call to time should be changed to date_time(), as follows...

...
function plugin_datechanger_toolbar() {

    $time = date_time();

    $h = date('H', $time);
    $m = date('i', $time);
...

    Out of the box FlatPress provides captcha protection to comments via Accessible Antispam.

    In an effort to give something back to the community and hopefully help with the digitization of books I have developed reCaptcha for FlatPress.

    To use the plugin follow these steps.

    • Register with reCAPTCHA to obtain the public and private keys required for the service
    • Download reCaptcha for FlatPress
    • Extract the contents of reCaptcha for Flatpress to a suitable folder (e.g. recaptcha) under fp-plugins
    • In the Administration area enable the reCaptcha for FlatPress plugin
    • Go the the reCaptcha configuration screen and enter the public and private keys obtained earlier.
    • Finally, if you have Accessible Antispam enabled then disable it

    Version 1.1 of the plugin now makes the four standard reCAPTCHA themes and eight languages (English, Dutch, French, German, Portuguese, Russian, Spanish and Turkish) available. In addition, support for Italian has been added to the plugin using this mechanism (with thanks to Roberto Rossi).