Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: LeftoverSoup on January 04, 2009, 02:23:21 PM

Title: How to make the time say "Posted XXX Hours ago?"
Post by: LeftoverSoup on January 04, 2009, 02:23:21 PM
On my current forums all the times give dates. Like Posted "January 03, 2009, 08:58:04 PM" This is a big problem because i get users from all around the world, and simply i just don't like it.

Is there a way i can make the time say
"Posted 29mins ago"
"Posted 21hours ago"
" Posted 234Days ago"

Something like that, is there any mod available? Thanks!
Title: Re: How to make the time say "Posted XXX Hours ago?"
Post by: LeftoverSoup on January 04, 2009, 06:04:55 PM
I've been researching for the past few hours, i have read its easy to do, and a mod like this was developed a while ago.. http://mods.simplemachines.org/index.php?mod=105
I think this will do what i want.

Dose anyone know how i implement it?
Title: Re: How to make the time say "Posted XXX Hours ago?"
Post by: JimM on January 06, 2009, 12:24:51 AM
What version of SMF are you running?  The mod will parse for 1.1.7 but that doesn't mean it will work.  It appears that it only edits the /Sources/Subs.php file so you may be able to try it and see what happens.  Additionally the mod author says to email and he will try to help you out.
Title: Re: How to make the time say "Posted XXX Hours ago?"
Post by: LeftoverSoup on January 07, 2009, 05:03:42 AM
Im using 1.1.7, i tried that but it produced an error when i edited the subs file, i  must have done something wrong, i emailed him a few days ago but no reply, is anyone else willing to help me?
Title: Re: How to make the time say "Posted XXX Hours ago?"
Post by: N3RVE on January 20, 2009, 07:35:27 AM
Sorry, this is beyond general support we can provide here. I suggest you try a Feature Requests (http://www.simplemachines.org/community/index.php?board=3.0) or the Help Wanted (not for support) (http://www.simplemachines.org/community/index.php?board=50.0) forums.

-[n3rve]