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
  #622  
Old 11-17-2014, 01:16 AM
addamroy addamroy is offline
 
Join Date: Sep 2010
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply. Quick clarification though,

Quote:
Originally Posted by y2ksw View Post
also filtered against embedded scripts and other strange things.
What do you mean by that?
Reply With Quote
  #623  
Old 11-17-2014, 04:33 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 addamroy View Post
Thanks for the reply. Quick clarification though,



What do you mean by that?
worms
Reply With Quote
  #624  
Old 11-17-2014, 11:13 AM
addamroy addamroy is offline
 
Join Date: Sep 2010
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by y2ksw View Post
worms
Good because I hate worms.
Reply With Quote
  #625  
Old 11-24-2014, 05:13 AM
mservis mservis is offline
 
Join Date: Jan 2003
Location: Espa?a
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello it's me not delete the images downloaded by the script, both the images and subdirectories marked out apache user and owner.

So do not let me change anything, or delete, or change attributes.

is there any solution?
Attached Images
File Type: jpg import.jpg (39.0 KB, 0 views)
Reply With Quote
  #626  
Old 11-29-2014, 02:02 PM
akxt660 akxt660 is offline
 
Join Date: May 2010
Location: Brasil
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi!

This is an excellent product, thank you for offering us.

When this product will allow the user to switch between "imported images" and return to the "original links"? This is very important as it would be possible to save the images on the server and return to the external reference mode to save bandwidth and ensure the images for the future. Also, if there are problems with the operation or server, it would be possible to return to the original mode.

It would be important to allow: when return to the "imported images" mode, they are not reprocessed the rescue of those who are already on the server, only those that have not yet been redeemed (new links only and reactivate the internal reference).

I believe that after this update , this product would be perfectly safe and can even be used natively in vbulletin system.

Thank You!
Reply With Quote
  #627  
Old 11-29-2014, 02:28 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 akxt660 View Post
Hi!

This is an excellent product, thank you for offering us.

When this product will allow the user to switch between "imported images" and return to the "original links"? This is very important as it would be possible to save the images on the server and return to the external reference mode to save bandwidth and ensure the images for the future. Also, if there are problems with the operation or server, it would be possible to return to the original mode.

It would be important to allow: when return to the "imported images" mode, they are not reprocessed the rescue of those who are already on the server, only those that have not yet been redeemed (new links only and reactivate the internal reference).

I believe that after this update , this product would be perfectly safe and can even be used natively in vbulletin system.

Thank You!
I do understand what you want, but it is not intended to reverse the process of imported images.

Normally, you would use this plugin to ensure to get all the images users have simply pasted and you will know beforehand the cost of the operation: bandwidth and disk space.

On very large sites (1.000+ active users), this will be about 1 GB/month or 1000 images.
Reply With Quote
  #628  
Old 11-30-2014, 11:43 PM
mservis mservis is offline
 
Join Date: Jan 2003
Location: Espa?a
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No solution ?

https://vborg.vbsupport.ru/showpost....&postcount=624

greetings
Reply With Quote
  #629  
Old 12-01-2014, 03:34 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 mservis View Post
Hello it's me not delete the images downloaded by the script, both the images and subdirectories marked out apache user and owner.

So do not let me change anything, or delete, or change attributes.

is there any solution?
There is nothing we can do about it.

This happens if the server process has different access rights than your FTP access, and must be fixed by your provider.
Reply With Quote
  #630  
Old 01-01-2015, 03:48 AM
adwade adwade is offline
 
Join Date: Aug 2006
Location: SouthEast, TN
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
I installed this on a VB 3.8 test forum and it appears to be working well. :up:
Quote:
Originally Posted by y2ksw View Post
There should be no conflict at all, since it uses a different table and an additional field to distinguish parsed posts from new or modified ones. Just disable the 3.x one and install this ... you are ready to go. Please don't forget to enable the product once you have chmodded the imported file folder and setup the options, since it installs disabled.
I disabled my installed 3.x version (i.e. Image Cache v1.0.2.0), uploaded the new cron job, created a forum/images/imported directory, imported the product-iei4.xml (v1.0.2) file per the instructions. After toggling the Always Convert Images to Yes, I then enabled the product on vB3.8

I next edited and approved a moderated thread, after adding an external image to it and the image in the thread was subsequently processed correctly. However the MOD seems to have created some month subfolders (i.e. 03, 05, etc) that appear empty.

Q. I assume the MOD is working it's way through my oldest threads, but was just curious as to why some subfolders created have no contents?
Reply With Quote
  #631  
Old 01-01-2015, 06:04 AM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

R. In a few rare cases the procedure may not be able to terminate the import process timely, or encounter another error, and will leave then an empty folder. If you care about those, from the linux system crontab you may issue the following command once a month:
Code:
find /your/import/folder/ -type d -empty -delete
Please double-check the folder name
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 01:22 AM.


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.07903 seconds
  • Memory Usage 2,374KB
  • Queries Executed 29 (?)
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
  • (20)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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