Lamborghini Huracán LP 610-4 t
Tue, May 14, 2024 (7:27am)
"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
Mp4 (1.84MB)
2014-12-05 12:05:22 UTC+0:00
Mp4 (1.61MB)
2014-12-05 12:05:02 UTC+0:00
Mp4 (2.01MB)
2014-12-05 12:04:44 UTC+0:00
Mp4 (1.75MB)
2014-12-05 12:04:30 UTC+0:00
Mp4 (1.8MB)
2014-12-05 12:03:10 UTC+0:00
«123456789»
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 United States
IP: 18.219.96.188
Host: ec2-18-219-96-188.us-east-2.compute.amazonaws.com
Page Counters
Online: 1
Today: 2
This Week:2
This Month of May: 2
Since this page was created: 453
Last Update of this page: Nov, 26 2014 (9:34pm)
This page was generated with the speed of 0.0002 seconds by our ISP server.
From: This page