Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Import External Images Details »»
Import External Images
Version: 1.0.5, by y2ksw y2ksw is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.x.x Rating:
Released: 11-06-2010 Last Update: 02-13-2011 Installs: 300
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

This vBulletin 4 product imports external images in your posts from external servers or paths into a specific path, normally your forum's image folder.

Differently than the previous product Image Cache for vBulletin 3.x., it parses the posts at regular intervals for new images and replaces the external references in the background. Also, instead of using only a single folder, it creates folders for years and months, making it much easier to handle large quantities of images. The source and destination image URL's are stored into database, too, avoiding unnecessary duplicates.

It moves and optionally converts images from one place to another. It is a handy tool in order to keep your images local to your forums.

Version 1.0.4 is temporarily in BETA stage until the users have confirmed the newly requested features.
Version 1.0.5 is still in BETA stage. It adds a new bunch of additional features, one of which allows you to test your mathematical understanding ... and a few other to fine-tune CURL and socket timeouts, and resizing on the fly of too large images. If you don't know what these options do, please leave them at their default values.

Download Now

File Type: zip 1.0.2.iei4.zip (80.0 KB, 477 views)
File Type: zip 1.0.4.iei4.zip (84.5 KB, 185 views)
File Type: zip 1.0.5.iei4.zip (87.5 KB, 2158 views)

Screenshots

File Type: jpg 08-11-2010-11.32.53.jpg (112.4 KB, 0 views)
File Type: jpg 02-02-2011-22.06.39.jpg (126.0 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #582  
Old 03-21-2014, 08:21 PM
Bob_R Bob_R is offline
 
Join Date: Jun 2009
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by y2ksw View Post
Please go to the options. There is a big field with according description and most probably already a "path" of a previous release of this product. Just add as many items you need
Which options, sir? I went into my vbulletin options for this mod and did not see as you say "a big field with according description and most probably already a "path" of a previous release of this product. Just add as many items you need."
Reply With Quote
  #583  
Old 03-25-2014, 06:39 AM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is the "Ignore" field.
Reply With Quote
  #584  
Old 03-29-2014, 05:54 PM
Bob_R Bob_R is offline
 
Join Date: Jun 2009
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by y2ksw View Post
It is the "Ignore" field.
So, just put the URL of a site or sites in the Ignore field and my hotlink error message WILL show on the offending site and NOT show on my site (on my site the hotlink image was replacing the image which was hotlinked to begin with)?
Reply With Quote
  #585  
Old 04-07-2014, 12:04 PM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bob_R View Post
So, just put the URL of a site or sites in the Ignore field and my hotlink error message WILL show on the offending site and NOT show on my site (on my site the hotlink image was replacing the image which was hotlinked to begin with)?
If you insert the host in the ignore field, the images will not be imported. What they will show, in the end, depends on the site from where you try to show images. Which essentially may be hotlink blockers or anything else
Reply With Quote
  #586  
Old 04-07-2014, 02:06 PM
Bob_R Bob_R is offline
 
Join Date: Jun 2009
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope I'm using the proper terminology. Because you answered my question and now you're saying that this isn't the solution.

Here's the problem with this mod and hot linking (unless I'm doing something wrong but I tested it).

On MY site if I place a hot link image error to show up on the offending site which has grabbed an image from my site. The error image shows BUT the mod also replaces the image on my site with the error image.

Only want the error image to show on the offending site (obviously).

If I don't include an error image the offending site gets a blank screen and the image on my site stays intact. That's fine right? Shows it's working!

Thanks for your help!
Reply With Quote
  #587  
Old 04-07-2014, 06:09 PM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bob_R View Post
I hope I'm using the proper terminology. Because you answered my question and now you're saying that this isn't the solution.

Here's the problem with this mod and hot linking (unless I'm doing something wrong but I tested it).

On MY site if I place a hot link image error to show up on the offending site which has grabbed an image from my site. The error image shows BUT the mod also replaces the image on my site with the error image.

Only want the error image to show on the offending site (obviously).

If I don't include an error image the offending site gets a blank screen and the image on my site stays intact. That's fine right? Shows it's working!

Thanks for your help!
This is simply impossible. If you show a hotlink image to other sites, your site must remain unaffected. This is a server issue and must be setup correctly in the .htaccess file, and never was an issue with the mod.

If the offending site gets a blank screen, then definitively your hotlink formula isn't working. Get Firebug for Firefox and check the response on the "missing" image, I'm almost 100% sure it's an error 5xx, which translates in a scripting error in .htaccess.

The mod does only download images from other sites, and if they have hotlinking images, it will download those, unless you have them excluded = ignored
Reply With Quote
Благодарность от:
Bob_R
  #588  
Old 04-09-2014, 09:03 PM
Bob_R Bob_R is offline
 
Join Date: Jun 2009
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by y2ksw View Post
This is simply impossible. If you show a hotlink image to other sites, your site must remain unaffected. This is a server issue and must be setup correctly in the .htaccess file, and never was an issue with the mod.

If the offending site gets a blank screen, then definitively your hotlink formula isn't working. Get Firebug for Firefox and check the response on the "missing" image, I'm almost 100% sure it's an error 5xx, which translates in a scripting error in .htaccess.

The mod does only download images from other sites, and if they have hotlinking images, it will download those, unless you have them excluded = ignored
Here's my .htaccess in regards to this situation

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?domain.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?domain.com/forums [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L]
Reply With Quote
  #589  
Old 04-10-2014, 10:46 AM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bob_R View Post
Here's my .htaccess in regards to this situation

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?domain.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?domain.com/forums [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L]
Provided that domain.com is your domain, your hotlink protection must look this way. Please see the additional backslash, no second line needed and no fancy queries. It's your site and you know how it can be addressed, so make it short and simple. The missing additional backslash and unsupported fancy queries may cause a blank screen. The F directive does generate a failure, the rest should be shown correctly on the offending page:
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www\.domain\.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L]
If you used this tool: http://www.htaccesstools.com/hotlink-protection/ for generation, it does not work correctly and it is a shame, but fortunately not mine.

The above rules says: If the referer is not blank and if it starts with http://www.domain.com then fail on these file extensions: .jpg, .jpeg, .png and .gif. This means in cleartext, if the referrer is blank or the referer starts with http://www.domain.com, then the images are shown. Direct page access will thus show the images, but if you are navigating the offending site, they will not.

I hope this extra lecture was exhaustive enough and has really nothing to do with the mod.
Reply With Quote
  #590  
Old 05-19-2014, 05:37 PM
shots shots is offline
 
Join Date: May 2006
Location: USA
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this mod pickup changes?

i.e. if someone links an image and then a few days later changes the image (but not the filename) will this mod recognize that?

Followup: if so, will it overwrite the locally stored image or create an additional one with a -1 or something.
Reply With Quote
  #591  
Old 05-20-2014, 07:01 AM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shots View Post
Will this mod pickup changes?

i.e. if someone links an image and then a few days later changes the image (but not the filename) will this mod recognize that?

Followup: if so, will it overwrite the locally stored image or create an additional one with a -1 or something.
The best way to know is to try it out. There are too many scenarios about this argument to efficiently give an answer. Generally, it imports images from external servers to local. What you do in local with these files, is your responsibility, but users have no influence. What people do on remote sites is beyond our possibilities
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10391 seconds
  • Memory Usage 2,376KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (21)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete