11
2011
Auto update copyright date !
I had figure out how to auto update the copyright date in footer on my site.
if you have a commercial license you can change this code !
Q: why we need it ? A: you don´t need to edit your footer every year ;)
Example: Say you have this on your footer.tpl:
Copyright © 2007 – 2010 yoursite.com, All Rights Reserved
but now it is 2011 and you will auto update it every year !
Insert and replace you old copyright code with this one:
Copyright © yoursite.com 2007-<?php echo date(Y) ?> All Rights Reserved.
if you done right you should now see this copyright text !
Copyright © 2007 – 2011 yoursite.com, All Rights Reserved.
Every year it will auto update the new year. Hope it can help someone.
and change 2007 to the year you start you dating site :)
13 Comments + Add Comment


Add your vldpersonals site here.
Sponsor/Donate to VldMods
I hope you like VldMods if you sponsor me I can make it even better ;) Thanks.
Find Us On Facebook
VldMods Newsletter
Featured Posts
-
Videos Fun & Friends
-
Forum
-
Blink icon then get new messages
-
Our Community
-
Why we need a Bootstrap theme for VldPersonals. Campaign Now 30% OFF
-
Search Engine Optimization
-
Display a register form at the front page.
-
Support/Help for VldPersonals Owner
-
Include a Browser Detection
-
Answer & Question
-
60 Mods to Make Your Site Better
-
Newsletter Mail System for vldPersonals
-
Auto update copyright date !
-
Tool Tip Registration Mod
-
Change Join Now logo (multilanguages)
-
Marketplace
-
Register Step by Step Mod
-
New templates on luvpoint for vld.2.7
-
Bootstrap 3.0 Theme for VldPersonals
VldMods Polls
Views
- Free & Pay Mods - 10,383 views
- Tutorials - 4,282 views
- 60 Mods to Make Your Site Better - 3,552 views
- Help & Support - 2,824 views
- How to edit the Frontpage VldPersonals. - 2,277 views
- jquery step by step form. - 1,987 views
- New templates on luvpoint for vld.2.7 - 1,945 views
- Templates for Vldpersonals. - 1,922 views
- Contact - 1,592 views
- Buy Mods or Donate Me - 1,527 views
I’ve written a short snippet which is an improvement over this, as it supports date ranges, so all you enter is the start date, and then it will display it as just that year, or that year to the current one if applicable
Check it out at http://www.gostomski.co.uk/snippet/better-auto-updating-copyright-date
Like or Dislike:
0
0
I think mine is easier and perform the same function ;)
Like or Dislike:
0
0
I have learn several good stuff here. Definitely price bookmarking
for revisiting. I surprise how much attempt you
place to create this kind of great informative website.
Like or Dislike:
0
0
thanks …
Like or Dislike:
0
0
Hello there, credit must go for an extremely informative weblog,
I do not generally , post remarks but really liked your post therefore
decided say thanks ! > Jasmine
Like or Dislike:
0
0
you are welcome … glad you like it …
Like or Dislike:
0
0
Greetings from Florida! I’m bored at work so I decided to check out your site on my iphone during lunch break. I really like the info you provide here and can’t wait to take a look when I get home.
I’m surprised at how quick your blog loaded on my cell phone .. I’m not even using WIFI, just 3G .
. Anyhow, excellent blog!
Like or Dislike:
0
0
Thanks ….
Like or Dislike:
0
0
Hello there! This post couldn’t be written any better! Reading through this post reminds me of my previous room mate! He always kept talking about this. I will forward this post to him. Fairly certain he will have a good read. Thanks for sharing!
Like or Dislike:
0
0
I am surе thiѕ parаgraph haѕ touched all the intегnet vieωers, its
reallу reаlly good аrticle on buіlding uр new web
site.
Like or Dislike:
0
0
I like іt whenever peoplе come togethеr and ѕhare
vіеωs. Great blog, stick with it!
Like or Dislike:
0
0
Wow that was odd. Ӏ juѕt ωrote аn vеry long comment but aftеr I clіcked ѕubmit my comment dіdn’t appear. Grrrr… well I’m not writing all that
oveг agaіn. Anyωays, juѕt wantеd to say ѕuperb blog!
Like or Dislike:
0
0
Thanks … we must activate comments manually ;)
Like or Dislike:
0
0