Hire us to design your site.
Jul
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 &copy; 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 :)

VldMods

About the Author: gugu

Hey ... I´m the owner of this site ;) If you need help customize your vldpersonals site. Please ask me and I will try to help you. Enjoy reading !

13 Comments + Add Comment

  • 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: Thumb up 0 Thumb down 0

    • VldMods

      I think mine is easier and perform the same function ;)

      Like or Dislike: Thumb up 0 Thumb down 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: Thumb up 0 Thumb down 0

    • VldMods

      thanks …

      Like or Dislike: Thumb up 0 Thumb down 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: Thumb up 0 Thumb down 0

    • VldMods

      you are welcome … glad you like it …

      Like or Dislike: Thumb up 0 Thumb down 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: Thumb up 0 Thumb down 0

    • VldMods

      Thanks ….

      Like or Dislike: Thumb up 0 Thumb down 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: Thumb up 0 Thumb down 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: Thumb up 0 Thumb down 0

  • I like іt whenever peoplе come togethеr and ѕhare
    vіеωs. Great blog, stick with it!

    Like or Dislike: Thumb up 0 Thumb down 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: Thumb up 0 Thumb down 0

    • VldMods

      Thanks … we must activate comments manually ;)

      Like or Dislike: Thumb up 0 Thumb down 0

Clients Testimonials

Peter
Thanks for your help and a great support my site works fine now ... no matter how often I had ask for your support you have kindly answered all of my questions ... I recommend you. I vote 5 stars for you. 5 of 5 stars

Peter

About VldMods

Welcome to vldMods here we will try to connect all free and pay mods for vldpersonals 2.5.3 and newer.

You can now translate VldMods in 50 different languages.

Translate a post then you Continue Reading »

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

Subscribe to VldMods Newsletter a confirmation email will be sent to you!
This is a good way to be informed about our tutorials and news.

VldMods Polls

Do You Like VldMods Site?