Mon, April 29, 2024 (9:02am)
"All limitations are self imposed."
HomeBlogGallerySettings
How To Make XtGem Filelist Uploaded Time To "Time Ago"
This Xtscripts and Javascript changes the default uploaded time of file using the XtGem filelist function.

Demo:
Total Files: 48 | Total Size: 129.15 MB
rascal flatts - bless the broken road (2.11MB)
2014-12-07 00:18:04 UTC+0:00
rascal flatts - backwards acoustic (1.88MB)
2014-12-05 12:24:22 UTC+0:00
rascal flatts - sara-beth (1.99MB)
2014-12-05 12:19:03 UTC+0:00
rascal flatts - skin (2.03MB)
2014-12-05 12:18:45 UTC+0:00
rascal flatts - life is a highway (2.12MB)
2014-12-05 12:18:22 UTC+0:00
«12345»
The XtGem Filelist Script:

I have added the UTC+0:00 with the XtFilelist variables .file_date. and .file_time. to get the real time of the file uploaded on XtGem servers.
Note: If you're going to change the template of the filelist don't remove the name="pubdate" on the div or else this function will not going to work.

The Javascript within Xtscript to change the time to "time ago". Put it under your XtGem Filelist Script:


This script is created by Sir Graham Warner, credits for him. Because of this Ive made it possible to change the default xtfilelist time.

To know more about XtGem Filelist function you need to go to this link.
Your Browser Informations
mobile version with Mozilla/5.0 browser from
IP: 3.19.31.73
Host: ec2-3-19-31-73.us-east-2.compute.amazonaws.com
Page Counters
Online: 1
Today: 1
This Week:1
This Month of April: 1
Since this page was created: 451
Last Update of this page: Nov, 26 2014 (9:34pm)
This page was generated with the speed of 0.0003 seconds by our ISP server.
From: This page

XtGem Forum catalog