Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Import External Images Details »
Import External Images
Mod Version: 1.0.5, by y2ksw (Coder) y2ksw is offline
Developer Last Online: Jun 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (38 votes - 4.68 average) Installs: 302
Released: 07 Nov 2010 Last Update: 14 Feb 2011 Downloads: 1865
Supported DB Changes Uses Plugins Additional Files Translations  

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

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	08-11-2010-11.32.53.jpg
Views:	3947
Size:	112.4 KB
ID:	123480   Click image for larger version

Name:	02-02-2011-22.06.39.jpg
Views:	2736
Size:	126.0 KB
ID:	126356  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #616  
Old 10 Nov 2014, 04:08
AndrewSimm's Avatar
AndrewSimm AndrewSimm is offline
 
Join Date: Sep 2006
If I uninstall this can I delete the images in the imported folder? Will the original external link be back in the post?
Reply With Quote
  #617  
Old 10 Nov 2014, 05:42
AndrewSimm's Avatar
AndrewSimm AndrewSimm is offline
 
Join Date: Sep 2006
I guess I know the answers to my questions. Is there a way to reverse this since the original url is stored in the DB?
Reply With Quote
  #618  
Old 10 Nov 2014, 08:51
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by AndrewSimm View Post
I guess I know the answers to my questions. Is there a way to reverse this since the original url is stored in the DB?
It is possible to reverse, but it will need some crafting skills with queries.

I'm still unsure if you can do it with queries only, or if it requires also some scripting. If you would like to test if the source is still available, then scripts are definitively required.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #619  
Old 16 Nov 2014, 14:14
addamroy addamroy is offline
 
Join Date: Sep 2010
I have a few questions before I go ahead and use this. (And a big thanks for taking the time to make this)

1 - Does this mod have any lossy or lossless image compression features?

Would be nice if these images were compressed in some way during the import.


2 - If I install this mod, does it AUTOMATICALLY start importing images from past posts, or do I have to initiate that import manually via the mod options?

3 - Does this mod import images AS POSTS ARE MADE, or are they imported via a cron-job throughout the day?

And how often does the cron-job run?

4 - Why are there 2 maximum post count options? I notice there are 2 screenshots, each with similar options. Are both options pages accessible via the mod, or is each one a screenshot from v4 and v5 of this mod?

5 - I'm on a semi-shared server (urljet) and have somewhere around 200,000 posts. Will this mod be too server intensive for me or do I just need to lower the maximum post count options? Also, what post count per run do you recommend?

Thanks dude, this looks awesome.
__________________
Amazing Post-bit Legacy Hacks HERE http://www.vbulletin.org/forum/membe...ort=date#hacks
Reply With Quote
  #620  
Old 16 Nov 2014, 22:18
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by addamroy View Post
I have a few questions before I go ahead and use this. (And a big thanks for taking the time to make this)

1 - Does this mod have any lossy or lossless image compression features?

Would be nice if these images were compressed in some way during the import.


2 - If I install this mod, does it AUTOMATICALLY start importing images from past posts, or do I have to initiate that import manually via the mod options?

3 - Does this mod import images AS POSTS ARE MADE, or are they imported via a cron-job throughout the day?

And how often does the cron-job run?

4 - Why are there 2 maximum post count options? I notice there are 2 screenshots, each with similar options. Are both options pages accessible via the mod, or is each one a screenshot from v4 and v5 of this mod?

5 - I'm on a semi-shared server (urljet) and have somewhere around 200,000 posts. Will this mod be too server intensive for me or do I just need to lower the maximum post count options? Also, what post count per run do you recommend?

Thanks dude, this looks awesome.
1. If you convert all images (option) then they become compressed with the jpg standard and also filtered against embedded scripts and other strange things.
2. Normally it starts alone.
3. cron; you can decide by changing the frequency
4. they are 2 screenshots depending on the mod version old/new. No vb5 tested yet but maybe it still works ...
5. It may be very server intensive, if you have a high parsing rate and a high number of posts at a single time. I would suggest to try this first on a small test environment. I also suggest to start with a small number of images. If you have an interval of 1 minute and 10 posts at each, it will catch up in about 15 days (1440 minutes x 10 x day). It depends a lot on how much your server can hold. On a professional dedicated server (4 core 3.4G) I have run this script with 1000 posts per minute with no noticeable problems.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #621  
Old 17 Nov 2014, 02:16
addamroy addamroy is offline
 
Join Date: Sep 2010
Thanks for the reply. Quick clarification though,

Originally Posted by y2ksw View Post
also filtered against embedded scripts and other strange things.
What do you mean by that?
__________________
Amazing Post-bit Legacy Hacks HERE http://www.vbulletin.org/forum/membe...ort=date#hacks
Reply With Quote
  #622  
Old 17 Nov 2014, 05:33
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by addamroy View Post
Thanks for the reply. Quick clarification though,



What do you mean by that?
worms
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #623  
Old 17 Nov 2014, 12:13
addamroy addamroy is offline
 
Join Date: Sep 2010
Originally Posted by y2ksw View Post
worms
Good because I hate worms.
__________________
Amazing Post-bit Legacy Hacks HERE http://www.vbulletin.org/forum/membe...ort=date#hacks

Last edited by addamroy; 17 Nov 2014 at 12:20.
Reply With Quote
  #624  
Old 24 Nov 2014, 06:13
mservis mservis is offline
 
Join Date: Jan 2003
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, 31 views)
Reply With Quote
  #625  
Old 29 Nov 2014, 15:02
akxt660 akxt660 is offline
 
Join Date: May 2010
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
  #626  
Old 29 Nov 2014, 15:28
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
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.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #627  
Old 01 Dec 2014, 00:43
mservis mservis is offline
 
Join Date: Jan 2003
No solution ?

http://www.vbulletin.org/forum/showp...&postcount=624

greetings
Reply With Quote
  #628  
Old 01 Dec 2014, 04:34
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
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.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #629  
Old 01 Jan 2015, 04:48
adwade adwade is offline
 
Join Date: Aug 2006
Real name: A.D.
Originally Posted by BirdOPrey5 View Post
I installed this on a VB 3.8 test forum and it appears to be working well.
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?

Last edited by adwade; 01 Jan 2015 at 05:10.
Reply With Quote
  #630  
Old 01 Jan 2015, 07:04
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Please double-check the folder name
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
Reply

Tags
lisansdevir


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 05:13.

Layout Options | Width: Wide Color: