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: Nov 2017 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (38 votes - 4.68 average) Installs: 294
Released: 07 Nov 2010 Last Update: 14 Feb 2011 Downloads: 1788
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:	3807
Size:	112.4 KB
ID:	123480   Click image for larger version

Name:	02-02-2011-22.06.39.jpg
Views:	2625
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.
  #31  
Old 10 Nov 2010, 16:43
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by sticky View Post
Good question, would like to know as well.
As far as I know, articles are not stored in the post table, thus the CMS remains untouched. However, if the articles are stored there, the changes apply.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #32  
Old 10 Nov 2010, 16:48
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by sticky View Post
This seems to be causing a good amount of database errors.
If it does cause a lot of database errors (timeout, db "went away" errors), please reduce your maximum post count. The default value of 10 should be enough for most boards.

If you have an extremely short timeout on scripts, you will have to reduce this value even more.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #33  
Old 10 Nov 2010, 16:52
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by Dr.osamA View Post
thank you for your help

i have chmod 777 for folder and i had old version in my vb3.x.x and no new images

that main don't need more time for import images to my site only new posts and that not much
If you want to skip all old posts, you may run this query:


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

This way, only new and edited posts are parsed.

If you decide later to reparse all old posts, too, just run


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

which will restart parsing all over again.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #34  
Old 11 Nov 2010, 00:41
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Real name: Dr.osama
thank you again sir

try it then inform you about results
BRB
__________________
Reply With Quote
  #35  
Old 24 Nov 2010, 14:13
abunaji abunaji is offline
 
Join Date: Feb 2007
If a post is deleted from the forum, will it delete the images in that post automatically?
I think that is very important for there is no need to keep images from deleted posts .. they only eat up disk sapce.

Also, is there a feature to save the images on another server?
I don't have enough space on my vps , but I have plenty on another shared hosting.
Reply With Quote
  #36  
Old 24 Nov 2010, 15:32
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by abunaji View Post
If a post is deleted from the forum, will it delete the images in that post automatically?
I think that is very important for there is no need to keep images from deleted posts .. they only eat up disk sapce.

Also, is there a feature to save the images on another server?
I don't have enough space on my vps , but I have plenty on another shared hosting.
No images are deleted.

If you are on Linux and have direct access, you may define a symbolic link to another server. However, you also will need services, which transfers the requested data back and forth.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #37  
Old 01 Dec 2010, 06:21
sticky sticky is offline
 
Join Date: Sep 2003
Originally Posted by y2ksw View Post
If it does cause a lot of database errors (timeout, db "went away" errors), please reduce your maximum post count. The default value of 10 should be enough for most boards.

If you have an extremely short timeout on scripts, you will have to reduce this value even more.
I reduced the maximum post count and it worked great! Reduced the DB errors, thanks!
Reply With Quote
  #38  
Old 01 Dec 2010, 06:21
sticky sticky is offline
 
Join Date: Sep 2003
One thing I have noticed, it only replaced images in threads and not in the CMS even if the post is promoted. Any way to address this?
Reply With Quote
  #39  
Old 01 Dec 2010, 10:56
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Real name: David
Thanks mate,
If I want to import the images to sub donain ?
like that : static.domain.com/imported

I change the "Imported Images Folder" to ../static.domain.com/imported
the setting of "Remove Invalid Images" on OFF

It does not work for me, it's replace the link of the image to "clear.gif" (Although marked him - not). And not import the file to Sub Domain

Do you have any ideas ?
Reply With Quote
  #40  
Old 01 Dec 2010, 15:49
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by sticky View Post
One thing I have noticed, it only replaced images in threads and not in the CMS even if the post is promoted. Any way to address this?
For now, CMS posts are not parsed. I may consider implementing this feature, if you are not the only one asking for it
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #41  
Old 01 Dec 2010, 16:01
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by dacho View Post
Thanks mate,
If I want to import the images to sub donain ?
like that : static.domain.com/imported

I change the "Imported Images Folder" to ../static.domain.com/imported
the setting of "Remove Invalid Images" on OFF

It does not work for me, it's replace the link of the image to "clear.gif" (Although marked him - not). And not import the file to Sub Domain

Do you have any ideas ?
I knew it wouldn't work that way ...

This plugin is meant to import images from other sites in order to avoid the loss, which sooner or later would happen.

If you need to store images in paths outside your forum domain, you may use symbolic links. Under Linux this is pretty simple to achieve. Additionally, with sftpfs (http://sourceforge.net/projects/sftpfs/) you may store and retrieve them at any place in the world. There are other tools for the same problem, too.

However, the image paths remain local. If you mass-wish a different storage location than the forum domain, I may have a look into it, but please don't expect me to be quick and professional ... such a thing requires a lot of testing and is surely not easy to implement. Besides a considerably higher amount of time needed to maintain the whole thing
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #42  
Old 01 Dec 2010, 19:56
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Real name: David
Thanks for the reply.
It is possible that it will cancel the previous server link of the picture - to kill the [URL] ?
Reply With Quote
  #43  
Old 01 Dec 2010, 20:24
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by dacho View Post
Thanks for the reply.
It is possible that it will cancel the previous server link of the picture - to kill the [url] ?
Deciding when to delete the URL around a picture is the most difficult task. It could be a legit URL pointing to another site, and then you would not wish to delete it. In other cases, it could point nowhere (dead), or to a larger image, like it would happen to imageshack servers for example.

I believe you will have to use direct MySQL queries or handcrafted code in order to remove the links you don't like to keep. There is no magic fomula which may guess the right thing to do
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #44  
Old 02 Dec 2010, 15:19
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Real name: David
I think it can erase all the links,
It's Better if we have the option to decide whether to cancel the links or not, or decide which links do not cancel.
It can improve product
Reply With Quote
  #45  
Old 05 Dec 2010, 02:40
sticky sticky is offline
 
Join Date: Sep 2003
Is it possible to set this to avoid certain forums?
Reply With Quote
Reply


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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 06:59.

Layout Options | Width: Wide Color: