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
  #712  
Old 02-13-2017, 08:53 PM
Kane@airrifle's Avatar
Kane@airrifle Kane@airrifle is offline
 
Join Date: Jun 2011
Location: ZA
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
I only had it set to 1...

Anyway we can get this to import Tapatalk images?
Quote:
Originally Posted by y2ksw View Post
In theory yes, however I'm unsure about the technical problems.
Works just fine on my site.
Reply With Quote
Благодарность от:
y2ksw
  #713  
Old 02-15-2017, 03:05 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kane@airrifle View Post
Works just fine on my site.
How did you accomplish it?
Reply With Quote
  #714  
Old 02-15-2017, 06:40 PM
Kane@airrifle's Avatar
Kane@airrifle Kane@airrifle is offline
 
Join Date: Jun 2011
Location: ZA
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
How did you accomplish it?
Not sure what you mean? Any external image url that sits between [img] tags in the post table is imported as is intended by this mod. Certainly is the case on my board unless I missing some other Tapatalk function..
Reply With Quote
  #715  
Old 02-17-2017, 02:09 AM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Are these two versions still in beta?
Reply With Quote
  #716  
Old 02-19-2017, 10:44 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I decided to install version 1.05 which seems to be working generally quite well except for the following error:

Code:
Database error in vBulletin 4.2.3:

Invalid SQL:
INSERT IGNORE INTO vbiei_img (
                        oldurl, 
                        newurl
                    ) VALUES (
                        'http://www.websmileys.com/sm/love/458.gif', 
                        'https://MYSITE/clear.gif'
                    );

MySQL Error   : MySQL server has gone away
Error Number  : 2006
Request Date  : Monday, February 20th 2017 @ 12:24:53 AM
Error Date    : Monday, February 20th 2017 @ 12:26:54 AM
Script        : http://MYSITE/cron.php?rand=1487550292
Referrer      : https://MYSITE/showthread.php?{VARIOUS THREADS}
IP Address    : {VARIOUS}
Username      : Unregistered
Classname     : vB_Database_MySQLi
MySQL Version : {BLANK but is actually 5.6 /  10.0.29-MariaDB}
What's interesting is that so far at least it is always the same image (see above) but different threads and your add-on is in fact correctly inserting clear.gif in those threads.

I'm on a tweaked dedicated server so I don't think the "MySQL server has gone away" is the usual problem of too many connections (persistent connections is off)... not sure what to make of this.

Any suggestions?

Is it a bad idea to be running version 1.05? (I didn't get a response to my previous question above.)
Reply With Quote
  #717  
Old 02-20-2017, 02:52 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll add my 2 cents....

I've been using y2ksw's mod for years and it's been working flawlessly on our v4.1.3 pl8 ... :up:

I check every morning by manually running his "vB4 Import External Images" cron job, just to see if it's hanging on any image imports, which way back in early versions used to be the result of it trying to import some HUGE freakin image a member had linked to in a post.

I haven't had it hang up for years, but I still check it as an old habit....

I'm running v1.06, but it's been so long, I can't remember why. That's what happens when you get to be almost 70.

I know I had PayPal donated to y2ksw for his excellent work and I also think I did more PayPal's a few times more as he privately helped me with some issues. I may have ended up with v1.06 as a result. For some reason, I think along the way working with him, he did something to ensure that it didn't crash when some clown member tries to link to a picture off-site that's too large for the code to handle. I think he also had me change some PHP values, but again, it's been so long since I've had to touch anything.

v1.06 is what my AdminCP currently shows me running and it's been reliable and probably one of the best vBulletin add-ons we use.

It's amazing to see images from members that go back years and years, which have long since been deleted from their original off-site linked to storage, still be showing in their posts. Being a research site, it has been extremely helpful in keeping old threads with pictures still relevant after several years, instead of getting that dreaded "Photo Missing" error.

Thanks again for your excellent add-on y2ksw ... :up:

Hope that helps someone else here ...

Regards,
Doug
Reply With Quote
  #718  
Old 02-20-2017, 03:03 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would be glad to donate towards an updated version that addresses the issues I mentioned in my above post.
Reply With Quote
  #719  
Old 02-21-2017, 03:30 PM
Sonik_elf's Avatar
Sonik_elf Sonik_elf is offline
 
Join Date: Aug 2015
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello.
Sorry.. I installed it .. And? How to start the scanning process and import images?
Reply With Quote
  #720  
Old 02-21-2017, 04:23 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. Go to AdminCP >> Options >> Settings >>vB4 Import External Images and input your settings and enable the addon

2. Go to AdminCP >> Scheduled Tasks >> Scheduled Task Manager >> vB4 Import External Images

3. Edit your settings there and then enable the cron job /scheduled task.
Reply With Quote
Благодарность от:
MarkFL
  #721  
Old 02-21-2017, 09:19 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's now occurring with other images:

Code:
Invalid SQL:
INSERT IGNORE INTO vbiei_img (
                        oldurl, 
                        newurl
                    ) VALUES (
                        'http://blog.lib.umn.edu/shea0017/philosophy/MATISSE%20ICARUS.JPG', 

...

MySQL Error   : MySQL server has gone away
Missing images seem to create a problem?
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 06:54 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.06531 seconds
  • Memory Usage 2,367KB
  • 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
  • (2)bbcode_code
  • (5)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
  • (22)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)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