CC Licenses 2.0

In MT, use of the <MTBlogCCLicenseURL> has been hardcoded to the 1.0 licenses, however these have been outdated and v2.0 of the licenses have been released a while ago. So lets hack the files so we can still use the tag.

You'll need two files, lib/MT/Util.pm and php/lib/cc_lib.php. Find in them the following line

http://creativecommons.org/licenses/$code/1.0/

and replace it with

http://creativecommons.org/licenses/$code/2.0/

7 Comments

abhi said:
on Oct 18, 2004 6:22 AM | Reply

wat's the difference between the two licences???

Arvind Satyanarayan said:
on Oct 18, 2004 9:50 PM | Reply

The post I linked to above to the Creative Commons weblog highlights the changes!

Julio Alonso said:
on Oct 19, 2004 7:09 PM | Reply

Is it possible also to hack my way to use one of the international CC versions? I would be interested in using the Spanish version.

Arvind Satyanarayan said:
on Oct 19, 2004 7:40 PM | Reply

Sure, you will need to edit the lines as shown above but just add the international bit necessary, so in the case of spanish it would be

http://creativecommons.org/licenses/$code/2.0/es/

Melissa Della said:
on Nov 29, 2004 7:51 PM | Reply

Arvind,

I found your hack from the MT Support forums. This was exactly what I was looking for! Thanks so much.

Stomper_Guy said:
on Dec 22, 2004 2:35 AM | Reply

I found you from the forum as well. Thanks for the advice! It works now!

Is there a planned fix for this, or should I make that sugestion?

Kai said:
on Aug 10, 2005 7:50 PM | Reply

Thanks a ton!

Leave a comment

Preview