vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   How to default not checked "Retrieve remote file and reference locally" VB 4.1.10 (https://vborg.vbsupport.ru/showthread.php?t=277164)

Skaut 12-01-2014 04:14 PM

Thank you on solution, but for 4.2.2 this does not work!

Lynne 12-01-2014 04:28 PM

Quote:

Originally Posted by Skaut (Post 2525125)
Thank you on solution, but for 4.2.2 this does not work!

As the thread title states, this is regarding version 4.1.10. If you have your own questions about something in 4.2.2, I suggest you start your own thread and be specific about your problem.

erdiyilmaz 07-17-2017 08:27 AM

It is working on v.4.2.5

And also for hide this i added this code:

Code:

this.getElement().hide();

Raptor 09-29-2018 04:58 AM

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',
                  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);
                                        }

With this

Code:

                        type: 'checkbox',
                  id: 'remote_file',
                  //label: me.editor.lang.vbulletin.retrieve_remote_file_and_ref_local,
                  label: '',
                  labelLayout: 'horizontal',
                  setup: function() {
                                if (me.editor.config.vbulletin.attachinfo)
                                        {
                                        this.getElement().hide();
                                        this.setValue(false);
                                        }

and then in additional.css add this

Code:

.cke_dialog_ui_checkbox_input {
display:none;
}



All times are GMT. The time now is 03:43 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
  • Page Generation 0.01259 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete