PDA

View Full Version : How to edit footer copyright so the YEAR changes automatically


Seven Skins
13 Dec 2011, 22:20
In this tutorial I will tell you to edit the footer of your vBulletin forum so that YEAR in the footer changes automatically so that you can to New Year Party on December 31 instead of editing your footer copyright notice.

It is only four step process, see the screenshots below.

Login to AdminCP and go to (Step 1 and 2) Settings > Options > Site name / URL / Contact Details and scroll down to the bottom of the page and you will see "Copyright Text" field. Edit the code below for your site and copy and paste (Step 3) it in the "Copyright Text" field. Click Save (Step 4).



PS. Do not forget to edit the text in the red color in the code below.






Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------







.

Merjawy
15 Dec 2011, 05:12
Great!!! saves me some time editing the copyright notice each time and every new year

Thanks

benstillman
21 Dec 2011, 15:22
Hot damn. Why did I not do this sooner???

voglermc
22 Dec 2011, 16:49
Why not just use this for the year?


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------





Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Seven Skins
23 Dec 2011, 10:29
^ PHP doesnot work in the copyright text field.

Robru
29 Dec 2011, 02:33
Thanks for sharing this ;)

Boofo
29 Dec 2011, 06:42
^ PHP doesnot work in the copyright text field.

I found that out the hard way.

Thanks for the tip. I was wondering how to do that without using PHP code in a hook.

Richard E
30 Dec 2011, 04:14
Great tip...it work perfectly the first time....unlike when I hack together something myself.

Thanks and happy New Year!

Richard

thompson
31 Dec 2011, 12:27
thanks for sharing.

rafiul
06 Jan 2012, 17:37
Thanks its working.

Valcav
18 Jan 2012, 22:02
great,

quick question...

When I look to the source code it shows:
2009-<script type="text/javascript">d = new Date();y = d.getFullYear();document.write(y);</script>2012
(or when using a little other script, but doing the same thing: )
2009-<script type="text/javascript">document.write((new Date()).getFullYear());</script>2012

is there a way to only show: 2009-2012
in the source-code?

Friendly greetings,
Valcav

Seven Skins
20 Jan 2012, 11:15
In the source-code javascript will be displayed.

ClErK1991
22 Jan 2012, 21:07
nice, thanks

Eslob
29 Jan 2012, 10:38
great and its working fine.

stained
10 Feb 2012, 17:53
Thanks for this. Much appreciated :thumbup

Merenguista
21 Mar 2012, 09:10
great and its working fine.