Ageing is a stupid way to present a post date

Posted 5398 days ago tells me it is an old post, Posted October 23 1997  tells me that it is an old post and the exact date it was posted on.  Who wants to calculate a date when you can present it directly?  I know my members would like to know the date a post was made without pulling out the calculator and also trying to adjust for Leap Years.

Geeks, making the world a better place
Quote · 14 Nov 2013

I like it for the first hour (a minute ago, 10 minutes ago, etc.). But after an hour, it should switch to an actual time stamp.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 14 Nov 2013

I like Nathan's suggestion. Maybe first 24-hour then switch to time stamp.

Quote · 14 Nov 2013

 

I like it for the first hour (a minute ago, 10 minutes ago, etc.). But after an hour, it should switch to an actual time stamp.

I like Nathan's suggestion. Maybe first 24-hour then switch to time stamp.

Thanks for the idea Cool

so much to do....
Quote · 14 Nov 2013

Yes, and that would be easy to add, I may do that for my site.

In the forum it calls a function that calls a function; it checks to see how many seconds from now; and displays either the minutes, hours, or days.  Easy enough to keep the minutes and hours and change the days to post date, or even allow a few days to past before post date is presented.  The timestamp is passed to the orca date function which calls another function to get the aging and that is returned.  Check the timestamp for the amount of ageing and if beyond what you want for ageing, then call your code, else allow it to call the original ageing function.

For the forum, the function for orca date is in /modules/boonex/forum/inc/util.php.

For blog posts, the code in in the blog module; I would assume each module is handling its own date.

Geeks, making the world a better place
Quote · 14 Nov 2013

Made a ticket: http://www.boonex.com/trac/dolphin/ticket/3332

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 16 Nov 2013

 I don't think showing time is another very good idea. Cuz time will be server time and that could confuse users if they are in different time zones. If they put time they will have to put "GMT -8" or something like that which indicates the time zone of the server.

Made a ticket: http://www.boonex.com/trac/dolphin/ticket/3332

 

so much to do....
Quote · 16 Nov 2013

 

 I don't think showing time is another very good idea. Cuz time will be server time and that could confuse users if they are in different time zones. If they put time they will have to put "GMT -8" or something like that which indicates the time zone of the server.

Made a ticket: http://www.boonex.com/trac/dolphin/ticket/3332

 

On an international site, this is unavoidable.  However, easy enough to not show the time; that is a part of the date() function; you change that to determine how your date appears.  You would have to poll the user and determine their time zone and I don't think it is that important; just leave the time off and place the date; of course then you have "what about the day zone thing?"  I tell members that times and dates are the location of the server.

Geeks, making the world a better place
Quote · 16 Nov 2013

Me likes Nathans suggestion too!!

http://www.boonex.com/market/posts/paansystems - your resource for Dolphin Pro
Quote · 17 Nov 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.