I searched all forums in topic as well as message, "right to distribute". Found nothing.
Searched language keys, nope.
I'm really surprised no one asked to have this removed or I just didn't find it? I'm looking for suggestion on having this removed.
I don't see a point in having that mandatory checkbox. Moot point when flash upload does not mandate that to be checked. Youtube does not ask members if they have the right to distribute videos before uploading as they expect rules to be followed in TOS.
Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net |
The language key is _bx_files_i_have_the_right_to_distribute
Edit: That seems to be located in the inc/BxDolFilesUploader.php file ~ Line 464 labeled as 'agreement' array.You can probably just comment this out.
From this:
'agreement' => array( 'type' => 'checkbox', 'name' => 'agree', 'label' => _t('_bx_'.$this->sUploadTypeLC.'s_i_have_the_right_to_distribute'), 'required' => true, 'attrs' => array( 'onchange' => "parent.{$this->_sJsPostObject}.onFileChangedEvent();" ) ),
To this:
/*
'agreement' => array( 'type' => 'checkbox', 'name' => 'agree', 'label' => _t('_bx_'.$this->sUploadTypeLC.'s_i_have_the_right_to_distribute'), 'required' => true, 'attrs' => array( 'onchange' => "parent.{$this->_sJsPostObject}.onFileChangedEvent();" ) ),
*/
Nothing to see here |
just curious - would changing the field type to hidden and making required = false work just as well? caredesign.net |
just curious - would changing the field type to hidden and making required = false work just as well?
Maybe. I didn't check the database to see if it could be done. (meaning making that 'hidden')
Nothing to see here |
Found at /inc/classes/BxDolFilesUploader.php -- That suggestion didn't work. Nothing happens when hitting 'continue' button... hmm
I also took out that code between /* and */ too as well.
Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net |
Reason I believe it does not work. After checking out the source code, it appears that in order for the Continue button to become clickable, both the form field and the checkbox need to have been "changed".If you notice that both of those fields have an onchange attribute. The functions for these are on the upload.js file in the videos module. So the goal would be to allow the continue button to be clickable onchange of just the file field, then the field can be removed from the form. caredesign.net |
OK, got a solution for you - first off, follow Zarcon's advice - which will remove the field from the form. Then on upload.js around line 46, change:
case 'upload': var sFileVal = $('#video_upload_form .video_upload_form_wrapper .form_input_file').val(); var sAgreeVal = $('#video_upload_form #video_upload_form_input_agree').is(':checked'); var sAcceptedFilesBlockVal = $('#accepted_files_block').text(); shVideoEnableSubmit(sFileVal != null && sFileVal != '' && sAgreeVal == true && sAcceptedFilesBlockVal == '');
bPossibleToReload = true; break;
to this:
case 'upload': var sFileVal = $('#video_upload_form .video_upload_form_wrapper .form_input_file').val(); var sAcceptedFilesBlockVal = $('#accepted_files_block').text(); shVideoEnableSubmit(sFileVal != null && sFileVal != '' && sAcceptedFilesBlockVal == '');
bPossibleToReload = true; break;
caredesign.net |
Aha! I'm happy to confirm that Zarcon's and Professorsr's suggestion works!
Appreciated and hope someone else will find this useful.
upload.js found at /modules/boonex/videos/js
Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net |
In my opinion, this should be removed in 7.1.5. Why ask it on the regular uploader and not any of the others? My guess is it is a hold-over from earlier days when the regular might have been the only uploader one could use and then it was never added to the others. If I am wrong there, then why is it only on the regular uploader and not the others? Maybe different coders? Who knows?
And as mentioned, on our site this is mentioned by the ToS and ToSes have been upheld in USA court as enforceable and legal contracts; don't know about courts outside of the USA
Geeks, making the world a better place |
Yes, it's from the old days. Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net |