The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I'm trying to figure out a way to FORCE the little checkbox that tells vBulletin to download a linked image and reference it locally.
After an extensive amount of research I figured out that it used to be in a template and was easily editable, but now it's been moved to a js file. Well, I found that js file, but I cannot figure out the proper code to force that box to be checked AND disabled. The file is /forum_root/clientscript/ckeplugins/vbimage/dialogs/image.js The code is: Code:
},{
type: 'checkbox',
id: 'remote_file',
label: me.editor.lang.vbulletin.retrieve_remote_file_and_ref_local,
labelLayout: 'horizontal',
setup: function() {
if (me.editor.config.vbulletin.attachinfo)
{
this.setValue(true);
}
}
}]
Can someone that knows a little more about js give a hand? :erm: |
|
#2
|
|||
|
|||
|
if you managed to find that code, then I don't think I know any more js than you do. But try this:
Code:
},{
type: 'checkbox',
id: 'remote_file',
label: me.editor.lang.vbulletin.retrieve_remote_file_and_ref_local,
labelLayout: 'horizontal',
setup: function() {
//if (me.editor.config.vbulletin.attachinfo)
// {
this.setValue(true);
this.disable();
// }
}
}]
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|