Thursday, October 19, 2006

Simple Recent Comments Plugin

I modified Raoul's [tag]Simple Recent Comments[/tag] plugin a little as mentioned in this post.

I changed the display further such that number of hours elapsed is displayed instead of minutes. I have also fixed a flaw that negative time was shown. The time of the comment is taken from 'comment_date_gmt' and the value from php's time() is actually the server's time not UTC time. Therefore I have to add the difference between [tag]UTC[/tag]'s time and the local time of where the servers are.

3 comments:

  1. this is just a test of the modified plugin to see if time elapsed is shown correctly

    ReplyDelete
  2. Hello,
    Just wondering if anyone could help. I did something stupid and started my blog using a numerical archive system, and now I'd like to change it so that the post title is part of the URL for SEO reasons. Is there any Wordpress plugins that anyone knows of that could switch it without sending Googlers to invalid pages? Maybe some sort of redirector to the correct page?

    Thanks.

    ReplyDelete
  3. Can anyone give me ideas , i might get free time in the future and want to give it for wordpress ...
    any idea ?
    i want idea from simple thing to mid ... 1-2 hours --> 8-10 hours .
    post your ideas...

    ReplyDelete