Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 16 Oct 2015, 14:16
SnakeV SnakeV is offline
Join Date: Jun 2008
Convert timestamp to readeable format?


I'm trying to get the last reply date of a thread for displaying it on the SHOWTHREAD template.

I have found that $thread[lastpost] display the last reply on a timestamp, ex: 1444930933

I tried to convert it using vbdate on a plugin:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But doesn't seem to work it doesn't retrieve anything, which could be the problem?

Reply With Quote
Old 16 Oct 2015, 14:23
MarkFL's Avatar
MarkFL MarkFL is offline
Join Date: Feb 2014
Real name: Mark
Try using:

vbdate($vbulletin->options['dateformat'], $thread['lastpost'], 1)
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 05:12.

Layout Options | Width: Wide Color: