vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Force "insert Image" tool to default to "From Computer" (https://vborg.vbsupport.ru/showthread.php?t=317750)

Bill Stuntz 03-12-2015 11:23 AM

Force "insert Image" tool to default to "From Computer"
 
When creating/editing a post, the FIRST time the "Insert Image" tool is opened it defaults to "From Computer" but the second (and all later) times it defaults to "From URL" which seems to imply that we WANT external photos. We want to discourage but not prohibit externally hosted photos, and force users to ACTIVELY select "From URL" each time if they feel they MUST post external photos. Our MB is very photo intensive, and external photos that have disappeared are a real problem, resulting in a large number of useless threads/posts.

Is there a way to force the "Insert Image" tool to preselect "From Computer" EVERY time the tool is opened instead of just the FIRST time?

And is there a way to state that we discourage external photos in the text of the "Insert Image From URL" screen?

HM666 03-13-2015 08:10 AM

Quote:

Originally Posted by Bill Stuntz (Post 2540227)
Is there a way to force the "Insert Image" tool to preselect "From Computer" EVERY time the tool is opened instead of just the FIRST time?

There maybe a way to do this possibly, but you may need a bit of coding for it to work. As to what code you would need I'm not sure exactly.

Quote:

Originally Posted by Bill Stuntz (Post 2540227)
And is there a way to state that we discourage external photos in the text of the "Insert Image From URL" screen?

Yes you should be able add some code to that template. You can use standard HTML for that and place it where you want it to be in the template.


All times are GMT. The time now is 11:53 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.01067 seconds
  • Memory Usage 1,711KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete