![]() |
How to default not checked "Retrieve remote file and reference locally" VB 4.1.10
When uploading images into a post there is an option for "Retrieve remote file and reference locally" and by default it is checked. This option is terrible and I have alot of users complaining about and causing problems.
Is there any way I can disable this option all together or atleast have the option not checked by default? |
Help... anyone?
|
open file
./clientscript/ckeplugins/vbimage/dialogs/image.js around line 257 you will see Code:
},{ Code:
this.setValue(true); Code:
this.setValue(false); |
Once again thank you so much for the help! It worked perfectly.
|
Tried it , but nothing has changed ...
Any ideas on what could be wrong ? ( clear cache = Clear CMS cache in ACP , right ? ) |
i think he means browser cache
|
Thanks very much LGG.. When I clear my browser cache this works a treat!
I've had a look through the script and I'm not very comfortable making changes I'm not sure about.. Is it also possible to have it default to URL rather than From Computer? |
Quote:
I wish this could be easily disabled, it's just begging for people to steal images from other sites. |
works great, thanks!
could there be any additional parameter to hide (display:none or smth) this checkbox? |
Quote:
put this into additional.css ;) Code:
.cke_dialog_ui_checkbox_input { |
Any way to do this with a plugin to avoid editing and re-editing vBulletin files with every upgrade?
|
Quote:
Any other pointers? I have disabled the tick from being on by default but want to remove it all together. |
So I've located ./clientscript/ckeplugins/vbimage/dialogs/image.js, and I get this:
Status: Starting download of /clientscript/ckeplugins/vbimage/dialogs/image.js Error: Failed to open "/image.js" for writing Error: File transfer failed I'm certainly no whiz at this type of thing, but I get the feeling it's not working.........:rolleyes: I'm supposed to download it, edit it, re-upload it and clear the cahe, right? It's a no-go.:confused: |
<font color="DarkOrange">BUMP! </font>...............
|
I just commented out label: me.editor.lang.vbulletin.retrieve_remote_file_and_ ref_local, and set it to label: '', then added the .cke_dialog_ui_checkbox_input{display:none;} to additional.css and that got rid of it completely.
Thanks for the help. |
The purpose of the feature is to prevent Trojans being embedded in your site which can later be changed to something malicious.
If your users are referencing other people's material via an image URL they do not have the right to use, they are already in violation of copyright. We strictly enforce copyright ownership and we upload all external images using the Import External Images mod. |
Quote:
|
I don't think linking to a publicly available image is necessarily a copyright violation. If so, everything at imgur would be illegal.
But rather than long legal arguments, what vb really needs is an option for this to be on or off by default. Don't hold your breath. |
Linking is not. But inserting the image into another page is - there's a difference. However, for copyright it does not matter if you serve the image from your server or another one.
|
Quote:
The default behavior is really just quick insertion of an uploaded attachment. If you have threads available on your site that are years old and only used as a research base, you are vulnerable to someone modifying the target of your image reference to something else you would not want to see on your site. Since you make a reference to the foreign site whenever the image is displayed, it is possible that the reference could be corrupted in such a way as to damage your site. The default behavior is, in my opinion, the correct behavior. If you always make local references, you are always in control of what is displayed. As Cellarius says, if the actual image is displayed on your site you need to have a chain of authority to use it. If the image does not appear, but is only linked then you do not need any usage authorization. In some cases the rule now seems to be that you can also use a thumbnail in the link if it is not sufficient quality to infringe on the copyright of the original. The fact that there are tons of flagrant violations does not change the law, which is international in scope. The mod we are using for the purpose of importing ALL external image references is this one that runs in the background as a cron job and stores them locally with a local reference. https://vborg.vbsupport.ru/showthrea...mport+external |
Thank you on solution, but for 4.2.2 this does not work!
|
Quote:
|
It is working on v.4.2.5
And also for hide this i added this code: Code:
this.getElement().hide(); |
Tested 100% in 4.2.5. Completely removes and disables the checkbox and text leaving only the URL entry.
https://vborg.vbsupport.ru/external/2018/09/6.png ./clientscript/ckeplugins/vbimage/dialogs/image.js Go to Line 257 Replace Code:
type: 'checkbox', Code:
type: 'checkbox', Code:
.cke_dialog_ui_checkbox_input { |
All times are GMT. The time now is 03:32 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|