<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: WordPress Plugin: Time Since</title>
	<atom:link href="http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/feed/" rel="self" type="application/rss+xml" />
	<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/</link>
	<description>enhancing your experience since 2003.</description>
	<pubDate>Fri, 05 Dec 2008 02:41:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Pochka</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-19128</link>
		<dc:creator>Pochka</dc:creator>
		<pubDate>Sun, 05 Oct 2008 07:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-19128</guid>
		<description>Hello! It's just ubeliavable INCREDIBLE porno videos collection! Привет! Здесь невероятно ОГРОМНАЯ коллекция порно видео роликов! И она доступна к скачиванию!!!</description>
		<content:encoded><![CDATA[<p>Hello! It&#8217;s just ubeliavable INCREDIBLE porno videos collection! Привет! Здесь невероятно ОГРОМНАЯ коллекция порно видео роликов! И она доступна к скачиванию!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: df</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-19124</link>
		<dc:creator>df</dc:creator>
		<pubDate>Fri, 29 Aug 2008 14:52:42 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-19124</guid>
		<description>klasfjkljasflkja skgj asdgas</description>
		<content:encoded><![CDATA[<p>klasfjkljasflkja skgj asdgas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hactuer</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18015</link>
		<dc:creator>hactuer</dc:creator>
		<pubDate>Tue, 18 Sep 2007 16:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18015</guid>
		<description>has anyone seen the new  &lt;a href="http://20six.co.uk/gamecopypro" rel="nofollow"&gt; game copy pro&lt;/a&gt;  software package they just came out with.
looks like it can copy ps2 games. has anyone used it before?</description>
		<content:encoded><![CDATA[<p>has anyone seen the new  <a href="http://20six.co.uk/gamecopypro" rel="nofollow"> game copy pro</a>  software package they just came out with.<br />
looks like it can copy ps2 games. has anyone used it before?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elessehaf</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18019</link>
		<dc:creator>Elessehaf</dc:creator>
		<pubDate>Sun, 16 Sep 2007 00:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18019</guid>
		<description>Kawa banga!
http://index.klassper.cn
&lt;a href="index.klassper.cn" rel="nofollow"&gt;MoNo&lt;/a&gt;
So so</description>
		<content:encoded><![CDATA[<p>Kawa banga!<br />
<a href="http://index.klassper.cn" rel="nofollow">http://index.klassper.cn</a><br />
<a href="index.klassper.cn" rel="nofollow">MoNo</a><br />
So so</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manele</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18014</link>
		<dc:creator>Manele</dc:creator>
		<pubDate>Tue, 11 Sep 2007 07:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18014</guid>
		<description>i just installed this plugin on my blog and i love it! thank you!</description>
		<content:encoded><![CDATA[<p>i just installed this plugin on my blog and i love it! thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: outpersonalscom</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18013</link>
		<dc:creator>outpersonalscom</dc:creator>
		<pubDate>Sun, 17 Jun 2007 20:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18013</guid>
		<description>&lt;a href="http://www.outpers0nals.com" rel="nofollow"&gt;outpersonals.com&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://www.outpers0nals.com" rel="nofollow">outpersonals.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: digitalon</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18011</link>
		<dc:creator>digitalon</dc:creator>
		<pubDate>Mon, 12 Mar 2007 04:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18011</guid>
		<description>This is my Digital Camera And Cell Phones &lt;a href="http://digitalon.info/" rel="nofollow"&gt;Blog&lt;/a&gt;.
Full reviews of digital cameras and cellphones reviews... enjoy</description>
		<content:encoded><![CDATA[<p>This is my Digital Camera And Cell Phones <a href="http://digitalon.info/" rel="nofollow">Blog</a>.<br />
Full reviews of digital cameras and cellphones reviews&#8230; enjoy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: izlesene</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18010</link>
		<dc:creator>izlesene</dc:creator>
		<pubDate>Sat, 10 Feb 2007 21:44:06 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18010</guid>
		<description>Great</description>
		<content:encoded><![CDATA[<p>Great</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JR Beltman</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18009</link>
		<dc:creator>JR Beltman</dc:creator>
		<pubDate>Sat, 30 Dec 2006 09:57:58 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18009</guid>
		<description>one thing. The quotes / speechmarks or whatever you call these must be replaced with those straight ones that are accepted by PhP.  Sorry, but I am not sure how you call these things....

Let me know if this all works for you</description>
		<content:encoded><![CDATA[<p>one thing. The quotes / speechmarks or whatever you call these must be replaced with those straight ones that are accepted by PhP.  Sorry, but I am not sure how you call these things&#8230;.</p>
<p>Let me know if this all works for you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JR Beltman</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18008</link>
		<dc:creator>JR Beltman</dc:creator>
		<pubDate>Sat, 30 Dec 2006 09:54:16 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18008</guid>
		<description>I have only been able to test this in the +GMT time zone, so I dont know if it works in the -GMT, but guess it does.

The first bit of code should be pasted right after where the array is declared.

&lt;code&gt;
    $query = "SELECT option_value FROM wp_options WHERE option_name='gmt_offset'";
    $result = mysql_query($query);

    $gmt_offset_wp = mysql_result($result,0)*60*60;
    $gmt_delta_today = tzdelta();
    $today = time(); /* Current unix time  */

    $since = $today + $gmt_offset_wp - $gmt_delta_today - strtotime($post-&#62;post_date);
&lt;/code&gt;

The second part should be pasted just before the '?&#62;' at the end of the plugin code

&lt;code&gt;
    function tzdelta ( $iTime = 0 )
    {
      if ( 0 == $iTime ) { $iTime = time(); }
      $ar = localtime ( $iTime );
      $ar[5] += 1900; $ar[4]++;
      $iTztime = gmmktime ( $ar[2], $ar[1], $ar[0], $ar[4], $ar[3], $ar[5], $ar[8] );
      return ( $iTztime - $iTime );
    }
&lt;/code&gt;

&lt;strong&gt;How does it work?&lt;/strong&gt;
WP seems to take the GMT time + your GMT offset and puts that as the date and time the entry was posted.

So, we need to get the
- GMT offset fromthe wp database (sql query in code)
- GMT time difference of where your server is (mine is in the US somewhere, and I am currently in Sri Lanka)

Then we use these 2 extra values to correct the value of today(), because that function gives you the local server time.</description>
		<content:encoded><![CDATA[<p>I have only been able to test this in the +GMT time zone, so I dont know if it works in the -GMT, but guess it does.</p>
<p>The first bit of code should be pasted right after where the array is declared.</p>
<p><code><br />
    $query = "SELECT option_value FROM wp_options WHERE option_name='gmt_offset'";<br />
    $result = mysql_query($query);</p>
<p>    $gmt_offset_wp = mysql_result($result,0)*60*60;<br />
    $gmt_delta_today = tzdelta();<br />
    $today = time(); /* Current unix time  */</p>
<p>    $since = $today + $gmt_offset_wp - $gmt_delta_today - strtotime($post-&gt;post_date);<br />
</code></p>
<p>The second part should be pasted just before the &#8216;?&gt;&#8217; at the end of the plugin code</p>
<p><code><br />
    function tzdelta ( $iTime = 0 )<br />
    {<br />
      if ( 0 == $iTime ) { $iTime = time(); }<br />
      $ar = localtime ( $iTime );<br />
      $ar[5] += 1900; $ar[4]++;<br />
      $iTztime = gmmktime ( $ar[2], $ar[1], $ar[0], $ar[4], $ar[3], $ar[5], $ar[8] );<br />
      return ( $iTztime - $iTime );<br />
    }<br />
</code></p>
<p><strong>How does it work?</strong><br />
WP seems to take the GMT time + your GMT offset and puts that as the date and time the entry was posted.</p>
<p>So, we need to get the<br />
- GMT offset fromthe wp database (sql query in code)<br />
- GMT time difference of where your server is (mine is in the US somewhere, and I am currently in Sri Lanka)</p>
<p>Then we use these 2 extra values to correct the value of today(), because that function gives you the local server time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amellie</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18007</link>
		<dc:creator>amellie</dc:creator>
		<pubDate>Sat, 23 Sep 2006 06:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18007</guid>
		<description>opps.. sorry.. it seems the code dissapear..

try adding this
&lt;code&gt;if ($since '.$original.'&lt;/a&gt;'&lt;/code&gt;

after this line:
&lt;code&gt;$since = $today - strtotime($post-&#62;post_date);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>opps.. sorry.. it seems the code dissapear..</p>
<p>try adding this<br />
<code>if ($since '.$original.'&#8216;</code></p>
<p>after this line:<br />
<code>$since = $today - strtotime($post-&gt;post_date);</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amellie</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18006</link>
		<dc:creator>amellie</dc:creator>
		<pubDate>Sat, 23 Sep 2006 06:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18006</guid>
		<description>with the "-1 year 12 months" issue... I tried to fix it by adding:

if ($since post_date);

so far, it works for me :)</description>
		<content:encoded><![CDATA[<p>with the &#8220;-1 year 12 months&#8221; issue&#8230; I tried to fix it by adding:</p>
<p>if ($since post_date);</p>
<p>so far, it works for me <img src='http://manalang.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TechZ</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18005</link>
		<dc:creator>TechZ</dc:creator>
		<pubDate>Fri, 25 Aug 2006 20:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18005</guid>
		<description>Hi, my "Time Offset" is set to +3, because my host time is GMT and I live in Bahrain, +3, so I get the "-1year 12 months" issue. :( Any ideas on how to solve this?</description>
		<content:encoded><![CDATA[<p>Hi, my &#8220;Time Offset&#8221; is set to +3, because my host time is GMT and I live in Bahrain, +3, so I get the &#8220;-1year 12 months&#8221; issue. <img src='http://manalang.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> Any ideas on how to solve this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lening</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18004</link>
		<dc:creator>lening</dc:creator>
		<pubDate>Fri, 03 Feb 2006 03:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18004</guid>
		<description>I like what you did with the design of your blog! Compliments. Regards, Albert.</description>
		<content:encoded><![CDATA[<p>I like what you did with the design of your blog! Compliments. Regards, Albert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonio</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18003</link>
		<dc:creator>Antonio</dc:creator>
		<pubDate>Fri, 23 Sep 2005 14:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18003</guid>
		<description>@78.RES:
hi max, I would be interested in your german mod of the plugin.
Could you please send it to [toni] at [volloeko&#124;de].

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>@78.RES:<br />
hi max, I would be interested in your german mod of the plugin.<br />
Could you please send it to [toni] at [volloeko|de].</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 78.RES</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18002</link>
		<dc:creator>78.RES</dc:creator>
		<pubDate>Wed, 31 Aug 2005 21:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18002</guid>
		<description>hi.

just tried the different time_since plugins all along the web and yours is the only one working for me.
its such an brilliant idea of user-friendly displaying of time (etc) that i just "translated" the code into german (talkin' about time and number and the thing with singular/plura is a bit more complicated in german, but nothing what 2 ifs couldn't solve).

thanks for the plugin!

regards,
max

(mail me if you want to have the result - or have a watch at blog.REScrew.de -&#62; it is under construction, but time_since should work)</description>
		<content:encoded><![CDATA[<p>hi.</p>
<p>just tried the different time_since plugins all along the web and yours is the only one working for me.<br />
its such an brilliant idea of user-friendly displaying of time (etc) that i just &#8220;translated&#8221; the code into german (talkin&#8217; about time and number and the thing with singular/plura is a bit more complicated in german, but nothing what 2 ifs couldn&#8217;t solve).</p>
<p>thanks for the plugin!</p>
<p>regards,<br />
max</p>
<p>(mail me if you want to have the result - or have a watch at blog.REScrew.de -&gt; it is under construction, but time_since should work)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryan masuga</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18001</link>
		<dc:creator>ryan masuga</dc:creator>
		<pubDate>Sun, 09 Jan 2005 18:35:52 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18001</guid>
		<description>-1 years, 12 months ago problem solved by correcting the "Times in the weblog should differ by" form field on the under General Options in the WP admin.</description>
		<content:encoded><![CDATA[<p>-1 years, 12 months ago problem solved by correcting the &#8220;Times in the weblog should differ by&#8221; form field on the under General Options in the WP admin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryan masuga</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-18000</link>
		<dc:creator>ryan masuga</dc:creator>
		<pubDate>Sat, 11 Dec 2004 20:57:53 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-18000</guid>
		<description>I've implemented this on my site as subtle text next to the date of the post. It's a great plugin, but I am interested in a fix for the "-1 years, 12 months ago" post problem. When I try the &lt;code&gt;$today = time() + 60*60*x;&lt;/code&gt; code, it says my last post was 0 minutes ago, which is fine, but then all my previous posts seem to be off by the offset I enter there. It seems anything less than an hour is listed with the -1. It seems like a simple enough fix, but I'm not enough of a PHP jockey to alter it.

Admittedly, this is a minor problem, but it sure would look nicer to see "12 minutes ago" rather than "-1 years, 12 months ago" for the first hour or so!

Thanks for the plugin.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve implemented this on my site as subtle text next to the date of the post. It&#8217;s a great plugin, but I am interested in a fix for the &#8220;-1 years, 12 months ago&#8221; post problem. When I try the <code>$today = time() + 60*60*x;</code> code, it says my last post was 0 minutes ago, which is fine, but then all my previous posts seem to be off by the offset I enter there. It seems anything less than an hour is listed with the -1. It seems like a simple enough fix, but I&#8217;m not enough of a PHP jockey to alter it.</p>
<p>Admittedly, this is a minor problem, but it sure would look nicer to see &#8220;12 minutes ago&#8221; rather than &#8220;-1 years, 12 months ago&#8221; for the first hour or so!</p>
<p>Thanks for the plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-17999</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Mon, 29 Nov 2004 18:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-17999</guid>
		<description>Thanks Gilbert.  I'll look into automating this based on the time offset property that's stored in your WP options.

Rich</description>
		<content:encoded><![CDATA[<p>Thanks Gilbert.  I&#8217;ll look into automating this based on the time offset property that&#8217;s stored in your WP options.</p>
<p>Rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gilbert</title>
		<link>http://manalang.com/archives/2004/05/24/wordpress-plugin-time-since/#comment-17998</link>
		<dc:creator>Gilbert</dc:creator>
		<pubDate>Fri, 26 Nov 2004 03:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://manalang.wordpress.com/2004/05/24/wordpress-plugin-time-since/#comment-17998</guid>
		<description>Rich, I think I've found a solution to the problem caused by the host server's time differing from the local post time.

Edit line 23 as follows:

&lt;code&gt;
$today = time() + 60*60*x;
&lt;/code&gt;

where x is the time difference between the host server and the entry post's time in hours. I think there should be an easier way to do this by calculating x automatically using PHP, but unfortunately I'm not very familiar with PHP...please tell me if  this is possible.

In any case the plugin now works fine on my blog.
cheers!</description>
		<content:encoded><![CDATA[<p>Rich, I think I&#8217;ve found a solution to the problem caused by the host server&#8217;s time differing from the local post time.</p>
<p>Edit line 23 as follows:</p>
<p><code><br />
$today = time() + 60*60*x;<br />
</code></p>
<p>where x is the time difference between the host server and the entry post&#8217;s time in hours. I think there should be an easier way to do this by calculating x automatically using PHP, but unfortunately I&#8217;m not very familiar with PHP&#8230;please tell me if  this is possible.</p>
<p>In any case the plugin now works fine on my blog.<br />
cheers!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
