News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

How to make the time say "Posted XXX Hours ago?"

Started by LeftoverSoup, January 04, 2009, 02:23:21 PM

Previous topic - Next topic

LeftoverSoup

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!

LeftoverSoup

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?

JimM

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.
Jim "JimM" Moore
Former Support Specialist

LeftoverSoup

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?

N3RVE

Sorry, this is beyond general support we can provide here. I suggest you try a Feature Requests or the Help Wanted (not for support) forums.

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

Advertisement: