Jump to content
vBWarez - Rest In Peace

Add the time the page was generated at back!


Recommended Posts

[B][COLOR="#FF0000"]vB Version: 5.0.x[/COLOR][/B]

This should typically work on 5.0.x:

On 5.0.2, in your footer template, find:

[CODE]<div id="footer-copyright">[/CODE]

Add after

[CODE]<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>[/CODE]

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.

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...