vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=277164

How to default not checked "Retrieve remote file and reference locally" VB 4.1.10
by Scottr126
18 Jan 2012 02:56

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?

Scottr126 19 Jan 2012 14:29

Help... anyone?

LifesGreatestGift 19 Jan 2012 16:04

open file
./clientscript/ckeplugins/vbimage/dialogs/image.js

around line 257 you will see

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

change

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

UPLOAD the changed file. Clear cache. Done.

Scottr126 19 Jan 2012 22:14

Once again thank you so much for the help! It worked perfectly.

Deuces73 10 Apr 2012 19:13

Tried it , but nothing has changed ...

Any ideas on what could be wrong ?

( clear cache = Clear CMS cache in ACP , right ? )

ahfm 13 Apr 2012 08:34

i think he means browser cache

Liff 16 Apr 2012 05:56

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?

salvador21 07 Jun 2012 18:41

Quote:

Originally Posted by Liff (Post 2320526)
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..

Me too, and don't forget, you will need to do this for every upgrade.

I wish this could be easily disabled, it's just begging for people to steal images from other sites.

shershen08 06 Aug 2012 15:50

works great, thanks!
could there be any additional parameter to hide (display:none or smth) this checkbox?

zascok 07 Aug 2012 20:30

Quote:

Originally Posted by shershen08 (Post 2354987)
works great, thanks!
could there be any additional parameter to hide (display:none or smth) this checkbox?


put this into additional.css ;)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


djbaxter 01 Oct 2012 12:32

Any way to do this with a plugin to avoid editing and re-editing vBulletin files with every upgrade?

minimotorman 21 Feb 2013 00:58

Quote:

Originally Posted by zascok (Post 2355329)
put this into additional.css ;)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I can't get this to work?

Any other pointers?

I have disabled the tick from being on by default but want to remove it all together.

obglobal.net 03 Mar 2013 11:44

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:

obglobal.net 06 Mar 2013 01:16

BUMP! ...............

caltek 13 Aug 2013 18:43

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.


All times are GMT. The time now is 20:34.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.