Add the time the page was generated at back!

  • Thread starter Thread starter AdminAdmin is verified member.
  • Start date Start date
Admin

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
This should typically work on 5.0.x:

On 5.0.2, in your footer template, find:

HTML:
<div id="footer-copyright">

Add after

HTML:
<div id="timeisstupid" class="gd-time h-left">All times are GMT<vb:if condition="$user['timezoneoffset'] != 0">{vb:raw user.timezoneoffset}</vb:if>. This page was generated at {vb:date 'timenow', {vb:raw vboptions.timeformat}}.</div>

Save, (ignore the error about you violating the copyright, old messages are stupid).

You should see the time as shown in the tiny preview.


I use generated at, because the guest cache by default is 10 min long, makes it more clear that the page might be cached in some cases.
 

Facebook Comments

Similar threads

Admin
Replies
0
Views
795
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
6K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
600
AdminAdmin is verified member.
Admin
Admin
Replies
1
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
2
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
575
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
880
AdminAdmin is verified member.
Admin
Back
Top