How do I turn dates off?

Everything on my site looks old.. EG "John wrote this 200 days ago".. How do I turn this feature off? I dont want it to say when a file was added, a bookmark was made etc.. Not until I can get a more engaging community. ANy help would be appreciated.

  • You could simplily this plugin: http://community.elgg.org/plugins/869364/1.8.2/elgg-18-enhanced-friendly-time. While this plugin is not exactly what you are looking for as it does change the time output (e.g. not showing XXX days ago but instead the date for items posted long ago) you could use it as a starting point.

    For not showing any time output the following code should work in start.php:

    <?php

    function no_friendly_time_init() {

        elgg_register_plugin_hook_handler('format', 'friendly:time', 'no_friendly_time_hook');

    }

    function no_friendly_time_hook($hook, $type, $return, $params) {

        $timestamp = "";
        return "<acronym title=\"$timestamp\">$friendly_time</acronym>";

    }

    elgg_register_event_handler('init', 'system', 'no_friendly_time_init');

    Actually, you would need only a manifest.xml file in addition to this start.php to have a plugin that does no longer show the posting date of items.