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: May 2020 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: 1893
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:	4006
Size:	112.4 KB
ID:	123480   Click image for larger version

Name:	02-02-2011-22.06.39.jpg
Views:	2780
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.
  #826  
Old 22 Feb 2020, 09:43
shka shka is offline
 
Join Date: Mar 2016
Originally Posted by Hostboard View Post
Still getting (1) error with this...

NOTICE: PHP message: PHP Fatal error: syntax error, unexpected ';', expecting ']' on line 334 in /home/........./public_html/forums/includes/cron/iei_cron.php"

This did not work...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Then you made a typing error. "syntax error, unexpected ';', expecting ']'" is not a php7 error or so. And you ar sure line 334? the qoted lines are in 324. Your quoted code can't be your inserted code.

But of course you can use the other version or from y2ksw (but the if conditions there is wrong I think)
Reply With Quote
  #827  
Old 23 Feb 2020, 07:53
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
$image_tags = array('img');

As far as I know, implicit arrays are not allowed for a long time by now, but explicit arrays like above, must work.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #828  
Old 24 Apr 2020, 12:15
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
Is there anyway to get this to support a URL such as:


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

If I try it comes back as invalid as I suspect it is looking for an image extension such as .jpg, .png, etc.
__________________
Custom Solutions for your vBulletin


Last edited by Hostboard; 24 Apr 2020 at 12:27.
Reply With Quote
  #829  
Old 24 Apr 2020, 12:23
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
I was going to suggest you strip off everything after the .jpg extension so it would just be this:


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

but that URL gives an error: Bad URL timestamp

Maybe because it's a CDN, possibly a private CDN?
Reply With Quote
  #830  
Old 24 Apr 2020, 12:28
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
Originally Posted by djbaxter View Post
I was going to suggest you strip off everything after the .jpg extension so it would just be this:


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

but that URL gives an error: Bad URL timestamp

Maybe because it's a CDN, possibly a private CDN?
Not sure, but it should be able to pull down the image or at least I was hoping it would...
__________________
Custom Solutions for your vBulletin

Reply With Quote
  #831  
Old 24 Apr 2020, 12:32
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by Hostboard View Post
Not sure, but it should be able to pull down the image or at least I was hoping it would...
Not if the server is misconfigured or the link isn't accessible to the public.
Reply With Quote
  #832  
Old 24 Apr 2020, 12:34
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
I can enter the entire URL and the image is displayed from multiple locations. But as you pointed out it is more than likely with the code after the named image.
__________________
Custom Solutions for your vBulletin

Reply With Quote
  #833  
Old 24 Apr 2020, 12:46
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Ah yes. So it does.

I know that some online news services use similar formats to discourage or prevent image scraping. You may need to just accept that such images won't be imported. Alternatively, you can download the image from your browser and upload it from your local disk as an embedded attachment.
Reply With Quote
  #834  
Old 24 Apr 2020, 13:04
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
Originally Posted by djbaxter View Post
Ah yes. So it does.

I know that some online news services use similar formats to discourage or prevent image scraping. You may need to just accept that such images won't be imported. Alternatively, you can download the image from your browser and upload it from your local disk as an embedded attachment.
Because of what my site is/does, it is not something that I can do. I am just trying to supply the tools. I'll probably just have to have a developer look at it and see if it can be coded to accept URLs of this nature. Thanx for the replies
__________________
Custom Solutions for your vBulletin

Reply With Quote
  #835  
Old 26 Apr 2020, 14:40
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by Hostboard View Post
Is there anyway to get this to support a URL such as:


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

If I try it comes back as invalid as I suspect it is looking for an image extension such as .jpg, .png, etc.
These URL's normally don't work, because they are usually a sub-set of a larger service.

It would eventually work, if the part after, including ? is removed. However it looks like a temporary link anyway.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
Reply

Tags
lisansdevir


Currently Active Users Viewing This Thread: 2 (0 members and 2 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 17:28.

Layout Options | Width: Wide Color: