Page 1 of 1
Automatically bind license to user-Uploads
Posted: 16 Mar 2011, 14:29
by Seppi
Hi there
Is there a way to automatically have a specific license assigned to each file, that has been uploaded by a user?
So far I seem to be only able to bind a license to a file in the BackEnd-Administration.
But might I'm missing something.
Thanks in advance
Seppi
Re: Automatically bind license to user-Uploads
Posted: 17 Mar 2011, 00:59
by Jan
Hi, no, for now there is no such feature
Jan
Re: Automatically bind license to user-Uploads
Posted: 17 Oct 2012, 00:30
by brentwilliams2
I'm sorry, but this is a feature that should be default at this point...
That said, I've worked out a hack. I can't guarantee it will work as intended without other consequences, so use at your own risk.
Open /views/user/view.html.php and replace all instances of "license" with "confirm_license".
Open /views/user/tmpl/default_files.php and find the <tr> that lists the license.
1) Within the input string, add the following:
(This assumes the license id is "1" in your setup)
2) For the <tr>, add:
That will hide the row, so the user does not change the license.
I believe those are the only changes I made to make it work. Hope that helps!
Re: Automatically bind license to user-Uploads
Posted: 19 Oct 2012, 15:45
by Jan
Hi, thank you for the guide.
Jan