Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
JavaScript: Copyright Year Generation Details »
JavaScript: Copyright Year Generation
Mod Version: 1.0.0, by King Kovifor (Coder) King Kovifor is offline
Developer Last Online: Aug 2015 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (4 votes - 5.00 average) Installs: 31
Released: 01 Feb 2009 Last Update: 01 Feb 2009 Downloads: 83
Not Supported Template Edits Re-usable Code  

Just because a bunch of people wanted me to release this. Here's a little JavaScript I wrote that you can place in your copyright statement to keep your year up to date. Just put it where you want the year to display:


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

OR


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

They both do the same thing, one's just on a single line.

A JS file attached just in case you want to keep it as a back up.

Thanks to Gasper for reminding me to put in the text/javascript tag.

Also, this works with any version of vBulletin (or should) and can be seen on vB.org.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 01 Feb 2009, 16:00
UncoderMom's Avatar
UncoderMom UncoderMom is offline
 
Join Date: May 2006
Real name: Lisa
*clicks install*

teehee
__________________
And yeah, I say LOL a LOT! LOL
Reply With Quote
  #3  
Old 01 Feb 2009, 16:49
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Thanks!
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #4  
Old 01 Feb 2009, 17:07
digicom's Avatar
digicom digicom is offline
 
Join Date: Apr 2006
Thumbs up

Thankyou
__________________

Reply With Quote
  #5  
Old 01 Feb 2009, 17:26
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Well, since we are using it here, id better click install.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #6  
Old 01 Feb 2009, 17:29
ForumsMods's Avatar
ForumsMods ForumsMods is offline
 
Join Date: Aug 2007
Real name: Adrian Sacchi
Installed.
Simple hack, but very useful.
Reply With Quote
  #7  
Old 01 Feb 2009, 17:47
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Real name: Martin
ahh here it was, installed ofc.
__________________
My website Evisystems
- - - Stuff - - -
follow the white rabbit, feed! your head
Reply With Quote
  #8  
Old 01 Feb 2009, 17:51
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by Paul M View Post
Well, since we are using it here, id better click install.
I was actually quite surprised that you used it. I'm sure you could have whipped that up quite faster than me (it sadly took me like 5 minutes as my first code failed (document.write(Date.getFullYear()) ).
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration

Last edited by King Kovifor; 01 Feb 2009 at 20:32.
Reply With Quote
  #9  
Old 01 Feb 2009, 19:34
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Real name: Alex
Thanks dude, installed
__________________

Reply With Quote
  #10  
Old 01 Feb 2009, 20:41
Ryan Ashbrook's Avatar
Ryan Ashbrook Ryan Ashbrook is offline
 
Join Date: Dec 2002
Thanks.
__________________
Ryan Ashbrook
Reply With Quote
  #11  
Old 01 Feb 2009, 21:05
-=Sniper=-'s Avatar
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Originally Posted by King Kovifor View Post
I was actually quite surprised that you used it. I'm sure you could have whipped that up quite faster than me (it sadly took me like 5 minutes as my first code failed (document.write(Date.getFullYear()) ).
nearly there, this would have worked.


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

Reply With Quote
  #12  
Old 01 Feb 2009, 21:10
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by -=Sniper=- View Post
nearly there, this would have worked.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Gah. I'm new to JavaScript. And I have to say, it's very low skill. But that totally makes sense.
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #13  
Old 02 Feb 2009, 22:12
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Real name: Matt
Good job here mate. Javascript reminds me of unreal code in games - a mess to understand at the best of times, but very useful too. Compliments PHP nicely.
__________________
www.sog-team.co.uk
Reply With Quote
  #14  
Old 03 Feb 2009, 19:43
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by m002.p View Post
Good job here mate. Javascript reminds me of unreal code in games - a mess to understand at the best of times, but very useful too. Compliments PHP nicely.
I am still learning. I got a book but half the time, it's just bad.
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod 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 02:11.

Layout Options | Width: Wide Color: