Automated copyright year in footer

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
DaannO
Registered User
Posts: 86
Joined: Mon Sep 17, 2007 11:24 am

Automated copyright year in footer

Post by DaannO » Sat Dec 27, 2008 12:12 pm

An easy question but al the php codes on google dont work. I want to have an automated copyright year scrip to replace the 2008 year in the footer. The script has to read out the server time and then the year part.

So something like this that will work: http://php.about.com/od/finishedphp1/qt/copyright.htm

User avatar
ric323
Former Team Member
Posts: 22909
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Automated copyright year in footer

Post by ric323 » Sat Dec 27, 2008 12:31 pm

That's a silly idea.
The copyright applies to when the code was written. Making it just display the current date invalidates the concept.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions

DaannO
Registered User
Posts: 86
Joined: Mon Sep 17, 2007 11:24 am

Re: Automated copyright year in footer

Post by DaannO » Sat Dec 27, 2008 2:11 pm

ric323 wrote:That's a silly idea.
The copyright applies to when the code was written. Making it just display the current date invalidates the concept.
Ok, noted, but what is there a way for this anyway?

Locked

Return to “[3.0.x] Support Forum”