I cannot get the date of the comments to show time ago. I've read that there is supposed to be a setting for this? Does anyone know where?

Thanks

Comments

DamienMcKenna’s picture

You might try using the Timeago module?

System Lord’s picture

Thanks for the reply. I have considered that, but I have successfully changed all my other date displays on my site to timeago just by altering the tpl files. Now, I would hate to install a module just for one remaining date. Although I will as a last resort.

I'm not sure if AF overrides Comments module, so perhaps I need this issue in Drupal core section (?)

The time seems to come from comment.tpl.php

    <div class="submitted">
    <?php print $submitted; ?>
    </div>

Or advanced-forum.naked.post.tpl.php

<div id="<?php print $post_id; ?>" class="<?php print $classes; ?>" <?php print $attributes; ?>>
  <div class="forum-post-info clearfix">
    <div class="forum-posted-on">
      <?php print $date ?>

I don't know php that well, however I do know that when I remove <?php print $date ?> the comment post date disappears.

Michelle’s picture

I thought there was a setting for this but don't see it... I wonder if it got lost in the port to D7? I'm overloaded at the moment trying to get a handle on my new job but do intend to dive into the queue and take care of the outstanding issues just as soon as I'm able. If you figure it out before then, please post. Otherwise, I'll see about making this a setting (again?) because it should be.

System Lord’s picture

Thanks, Michelle!