Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
How to edit footer copyright so the YEAR changes automatically
Seven Skins
Join Date: Sep 2008
Posts: 1,481

London, UK
by Seven Skins Seven Skins is offline 13 Dec 2011
Rating: (5 votes - 5.00 average)

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.





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





.
Attached Images
File Type: png footer-copyright-1.png (59.6 KB, 299 views)
File Type: png footer-copyright-2.png (93.8 KB, 322 views)
File Type: png footer-copyright-3.png (8.1 KB, 405 views)
Views: 67749
Reply With Quote
Comments
  #2  
Old 15 Dec 2011, 05:12
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Great!!! saves me some time editing the copyright notice each time and every new year

Thanks
Reply With Quote
  #3  
Old 21 Dec 2011, 15:22
benstillman benstillman is offline
 
Join Date: Jun 2007
Real name: Ben
Hot damn. Why did I not do this sooner???
__________________
Reply With Quote
  #4  
Old 22 Dec 2011, 16:49
voglermc's Avatar
voglermc voglermc is offline
 
Join Date: Oct 2006
Real name: Mark V
Why not just use this for the year?

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


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

__________________
Reply With Quote
  #5  
Old 23 Dec 2011, 10:29
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
^ PHP doesnot work in the copyright text field.
Reply With Quote
  #6  
Old 29 Dec 2011, 02:33
Robru's Avatar
Robru Robru is offline
 
Join Date: Aug 2005
Thanks for sharing this
Reply With Quote
  #7  
Old 29 Dec 2011, 06:42
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by Seven Skins View Post
^ 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.
Reply With Quote
  #8  
Old 30 Dec 2011, 04:14
Richard E Richard E is offline
 
Join Date: Sep 2011
Great tip...it work perfectly the first time....unlike when I hack together something myself.

Thanks and happy New Year!

Richard
Reply With Quote
  #9  
Old 31 Dec 2011, 12:27
thompson thompson is offline
 
Join Date: Jul 2007
Real name: Thomas
thanks for sharing.
Reply With Quote
  #10  
Old 06 Jan 2012, 17:37
rafiul's Avatar
rafiul rafiul is offline
 
Join Date: Jun 2009
Thanks its working.
Reply With Quote
  #11  
Old 18 Jan 2012, 22:02
Valcav Valcav is offline
 
Join Date: Nov 2010
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
Reply With Quote
  #12  
Old 20 Jan 2012, 11:15
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
In the source-code javascript will be displayed.
Reply With Quote
  #13  
Old 22 Jan 2012, 21:07
ClErK1991's Avatar
ClErK1991 ClErK1991 is offline
 
Join Date: May 2009
Real name: Geovanni Clerk
nice, thanks
Reply With Quote
  #14  
Old 29 Jan 2012, 10:38
Eslob Eslob is offline
 
Join Date: May 2010
great and its working fine.
__________________
Eslob Forums, base of information & discussion..
منتديات | عالم حواء | يوتيوب | خواطر | سبق | صور سيارات
Reply With Quote
  #15  
Old 10 Feb 2012, 17:53
stained stained is offline
 
Join Date: Jun 2009
Thanks for this. Much appreciated :thumbup
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
Miscellaneous Hacks JavaScript: Copyright Year Generation King Kovifor vBulletin 3.8 Template Modifications 13 03 Feb 2009 19:43
copyright update automatically. Davey vBulletin 2.x Full Releases 27 22 Feb 2003 15:56



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

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 22:05.

Layout Options | Width: Wide Color: