Needs work
Project:
Creative Commons Lite
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2008 at 23:45 UTC
Updated:
18 Mar 2008 at 16:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
epe commentedI will try to use the patch and will give you some feedback then.
I would also like some of the other feature requests being done.
In my point of view, a few of the current feature requests would be solved, if there is
- an additional option "All rights reserved"
- a modules config page for setting a default license per site and enabling/disabling specific licenses.
- optionally users should be able to select their personal default license.
I'm not sure, but it might be enough for the jurisdiction to be selected once per site, depending on where the site is run.
Thanks for working on this module! Danke!
Comment #2
J-K@www.drupalcenter.de commentedI’ve done more work! I also included the patch No License-Option modified a little bit (-> "No License Defined / All rights reserved").
@epe:
Could you code the possibility to “set a default license per site and enabling/disabling specific licenses”?
If not, I could experiment with this and try to make it, but my time is rare. (At the moment I disable licenses direct in the code...)
I attach a full patch, where my changes of the first patch here also included.
Changes:
J-K
Comment #3
Forage commentedI knew I should have made a comment before I started working on this module yesterday. Now we are both making all sorts of changes ;-) I'm almost done with a Drupal 6 port of the module and I included most, if not all, changes from you're previous patch. I'll have a look at the new changes and create a new ticket as soon as I'm finished with the port. A few comments on your patch I'd like to share:
I've fixed these issues in my version already and did a lot of code and UI cleaning. I've also included some other new features:
A few things which still need some consideration:
Comment #4
J-K@www.drupalcenter.de commentedHi Prodoc81,
thanks for working on this module and for all your tips and corrections! This is my first module I work on.
I think, we have to add the possibility, that a user can take a setting in his personal settings so he can choose a version when selecting a license for a node. (And use user_access, that the admin can decide, who can choose a special version.)
If you don’t / can’t choose a special version, the latest version should be used.
This is important, when integrating other content, because then you can’t change the CC version of this work!
I (want to) use this module on a site for a magazine, which I publish, where the authors writing their articles on the site. -> I have user generated content and the user should choose a Creative Commons license.
Do you mean, the default license is selected when creating a node?
This is not a good idea respectively the admin should be able to deactivate this: When other user create content on the site, they should active choose a (Creative Commons) license. If their is no default and a user doesn’t choose a license, then the user get a error-message: Choose a license. So the user have to think about this. If there is a license already chosen, maybe some user doesn’t think about CC.
I think, we should add a option “no Creative Commons license”. Because the license-choose-field is required and when an author doesn’t know about Creative Commons, he wants to upload his work now and doesn’t learn about Creative Commons. Maybe he choose a Creative Commons license before publishing, mainly when this is a need for publishing...
(OK, this could also be an argument for making the field not required and have only Creative Commons licenses... Don’t know, what the best strategy is to get most Creative Commons licensed works.)
Comment #5
J-K@www.drupalcenter.de commentedups, double posting...
sorry, I can’t delete this comment.
Comment #6
Forage commentedGood point. In that case I think it's best to have a version dropdown on the node edit page where you also select the license which defaults to the lasted version for a new node. However, the problem of the different available versions of each licence remains. It's becoming a problem as soon as you select a jurisdiction. E.g. Finland only has version 1.0 for each license, the latest version for Japan is 2.1 (being the only jurisdiction with a version 2.1 I should add), etc.
At the moment I removed the version select completely and compiled a jurisdiction array with its latest version. When a jurisdiction is selected, that latest version of that jurisdiction is used, otherwise it uses version 3.0. I would hate to track down each previous version of each jurisdiction but this would be required in combination with JavaScript if you want to allow version selection.
It makes me wonder, should the jurisdiction selection not be per node as well? Having this only per site would basically be the same as version selection per site. When importing content you shouldn't be the one to change it to a different jurisdiction.
All this would come down to the following on the node edit page:
On the other hand, you could just keep it simple by letting the user figure it out. When you import existing content which has a CC licence you already know the version. You could add a check when you save the node which lowers the version to the latest of that jurisdiction if a higher version is selected.
If a lower non-existing version is selected you will have a dead link on the site's front-end. Is this an acceptable risk?
Yes, that's what it does. If it's a one user site it saves you having to select it for each new node. If you want to force people to select a licence you leave this setting empty and check the 'Mandatory' checkbox. Thus no additional settings are required to get what you want.
With the already implemented 'Mandatory' checkbox you can just select no licence from the dropdown at all and have the same effect. Nothing is selected so it doesn't have a CC licence.
Btw, today I also implemented a multiple select dropdown which allows the admin to select the licence options where the user can choose from.
Comment #7
J-K@www.drupalcenter.de commentedOk, sounds good. (Previous I didn’t understand, what Do you mean with the “Mandatory licence specification checkbox setting”.)
Versions & jurisdictions:
Could we use the Creative Commons API?? -> http://wiki.creativecommons.org/Creative_Commons_Web_Services http://api.creativecommons.org/docs/
The module creativecommons use it, if I know.
This is related to the question: Is this module “light” version anymore?
Or should we work together?
Today I saw, that somebody is working on creativecommons module:
#157530: Update to Drupal 6
Comment #8
Forage commentedI had a look at it yesterday and as far as I can tell there's no way to retrieve version numbers using the API.
I've been wondering this myself as well. To be honest, I didn't even bother to look at that module because I wanted to have a port for Drupal 6 and the light module had a version for 5 so it was a smaller step. Mind you, I just started using Drupal myself as well. As always, I saw room for improvement along the way so I kept on working on it. It seems to me that having two versions is a bit overkill but I don't know what the reason was for creating a light version so I'll have a look at the other module as well.
Before I continue to work on the module I'll create a new ticket and post my version. This way we don't have to keep doing duplicate work. It's usable already, even with the issues mentioned earlier. The only thing it lacks at this stage are the changed you made in the second patch.
A note about all this on the other modules ticket you mentioned wouldn't hurt either.
Comment #9
Forage commentedP.s. could someone please tell me how I can receive e-mail notifications about updated tickets? It's becoming a PITA to keep track of things and I must be overlooking the option somehow.
Comment #10
Forage commentedHeh, I see now why there's a normal and lite version. I think our changes still justify a lite version ;-)
By the way, here's the ticket about the changes I made: #223501: Drupal 6 support + additional features
Comment #11
cburschkaI agree that the lite version is a good thing. Thanks for alerting me to this, Prodoc - I'll see if I can come up with a feature scope for CC that will complement CC Lite rather than duplicate it. :)
Comment #12
skizzo commented@Prodoc81: Maybe you found your way already.
If not, click on issues (on this page right block)
then on subscribe (again, on right block).