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

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

Name:	02-02-2011-22.06.39.jpg
Views:	2746
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.
  #736  
Old 05 Mar 2017, 14:59
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by RichieBoy67 View Post
Ok, well this thread is for this mod..

Can anyone tell me why Tapatalk images do not import. I believe they used to but I am not sure. It could have to do with their https:// url change or ours but I really want those images on our server..
Maybe ... you have no CURL? fopen() is somewhat limited with https.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #737  
Old 05 Mar 2017, 18:21
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by djbaxter View Post
Why would the cron job for this task suddenly stop logging events?
Originally Posted by y2ksw View Post
If PHP silently crashes, for example.
I'm not sure what you mean by "silently crashes". I haven't seen anything to suggest anything crashed in server alerts. But assuming this might happen, what is the resolution? Server reboot?
Reply With Quote
  #738  
Old 06 Mar 2017, 09:59
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by djbaxter View Post
I'm not sure what you mean by "silently crashes". I haven't seen anything to suggest anything crashed in server alerts. But assuming this might happen, what is the resolution? Server reboot?
If PHP crashes silently then there is no notification anywhere and the causes are unknown. We have had silent crashes with huge images (such as 60.000x80.000 pixel). The solution is to mark that post as "scanned ok" and eventually exclude the specific image in the options, if it appears in more than one post.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #739  
Old 08 Mar 2017, 18:36
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by y2ksw View Post
If PHP crashes silently then there is no notification anywhere and the causes are unknown. We have had silent crashes with huge images (such as 60.000x80.000 pixel). The solution is to mark that post as "scanned ok" and eventually exclude the specific image in the options, if it appears in more than one post.
How do you mark it as "scanned ok"? How do you even know which image to do that for if there's no notification and if the add-on is no longer logging its activity?
Reply With Quote
  #740  
Old 09 Mar 2017, 02:06
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
I just checked and this does not appear to be working at all any more.. no changes to the settings or plug in but updated Vbulletin, changed php version..things like that. Vbulletin 4.2.4 beta 1..also changed site to https://

Cron tasks says done but nothing happens..
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #741  
Old 09 Mar 2017, 02:28
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Just found this in my log:

Database error in vBulletin 4.2.5 Beta 1:

Invalid SQL:
INSERT INTO oasl_session SET userid='85961', session_token='JEOGPb3rGt1nfI7PfB2LXGTq8B6xJazzQGDv', date_created='1488993068';

MySQL Error : Duplicate entry '85961' for key 'userid'
Error Number : 1062
Request Date : Wednesday, March 8th 2017 @ 12:11:07 PM
Error Date : Wednesday, March 8th 2017 @ 12:11:08 PM
Script : http://##############
Referrer : http://#######
IP Address : 173.245.50.139
Username : #######
Classname : vB_Database_MySQLi
MySQL Version :
Server : ########

It is supposed to be https://// also not sure about the duplicate session..
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #742  
Old 09 Mar 2017, 08:50
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
@RichieBoy67: That's essentially what is / was happening for me.

I recently updated to vBulletin 4.2.4 but I was getting all that with 4.2.3 PL2.
Reply With Quote
  #743  
Old 09 Mar 2017, 10:03
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by djbaxter View Post
How do you mark it as "scanned ok"? How do you even know which image to do that for if there's no notification and if the add-on is no longer logging its activity?
The posts are scanned top-down (from postid=1 to latest).

The plugin adds a field to post, called iei_parsed.

If you issue the query:


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

you get the last post ID which was successfully parsed. If this value stays put, then something is not working.

As for the concerns with https and SSL (I've been looking into it now), requesting data from such sites requires you to use CURL. You can choose the mode from the options. CURL is installed anyway since required by 4.x vBulletin versions.

Marking a post "OK" can be done this way:


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

where N is the postid.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #744  
Old 09 Mar 2017, 10:05
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by RichieBoy67 View Post
Just found this in my log:

Database error in vBulletin 4.2.5 Beta 1:

Invalid SQL:
INSERT INTO oasl_session SET userid='85961', session_token='JEOGPb3rGt1nfI7PfB2LXGTq8B6xJazzQGDv', date_created='1488993068';

MySQL Error : Duplicate entry '85961' for key 'userid'
Error Number : 1062
Request Date : Wednesday, March 8th 2017 @ 12:11:07 PM
Error Date : Wednesday, March 8th 2017 @ 12:11:08 PM
Script : http://##############
Referrer : http://#######
IP Address : 173.245.50.139
Username : #######
Classname : vB_Database_MySQLi
MySQL Version :
Server : ########

It is supposed to be https://// also not sure about the duplicate session..
These are crashed database issues and require a table repair.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #745  
Old 09 Mar 2017, 10:07
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by RichieBoy67 View Post
I just checked and this does not appear to be working at all any more.. no changes to the settings or plug in but updated Vbulletin, changed php version..things like that. Vbulletin 4.2.4 beta 1..also changed site to https://

Cron tasks says done but nothing happens..
Please disregard my PM and see here:

http://www.vbulletin.org/forum/showp...&postcount=743
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #746  
Old 09 Mar 2017, 10:36
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by y2ksw View Post
The posts are scanned top-down (from postid=1 to latest).

The plugin adds a field to post, called iei_parsed.

If you issue the query:


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

you get the last post ID which was successfully parsed. If this value stays put, then something is not working.

As for the concerns with https and SSL (I've been looking into it now), requesting data from such sites requires you to use CURL. You can choose the mode from the options. CURL is installed anyway since required by 4.x vBulletin versions.

Marking a post "OK" can be done this way:


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

where N is the postid.
Thank you.

Running the first query shows 242442 as the last post ID.

Manually running the cron job leaves that number unchanged.

Running the second query yields


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

Repeating the whole sequence gives the same result.

Does that mean the add-on has stopped working?

Note my statement above that I recently updated to 4.2.4 but the issues were happening prior to that update.
Reply With Quote
  #747  
Old 09 Mar 2017, 12:52
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Originally Posted by y2ksw View Post
The posts are scanned top-down (from postid=1 to latest).

The plugin adds a field to post, called iei_parsed.

If you issue the query:


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

you get the last post ID which was successfully parsed. If this value stays put, then something is not working.

As for the concerns with https and SSL (I've been looking into it now), requesting data from such sites requires you to use CURL. You can choose the mode from the options. CURL is installed anyway since required by 4.x vBulletin versions.

Marking a post "OK" can be done this way:


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

where N is the postid.
When I run this I get nothing..

##I get an id now after running a table repair. I will run the other one ..
Attached Images
File Type: jpg 74.208.158.184_8443_localhost_2017-03-09_07-51-51.jpg (11.4 KB, 11 views)
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #748  
Old 09 Mar 2017, 13:17
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
I think it's working now because I do see the id moving after I run the 1st query. I do not see any new images yet in my import folder but I assume that just means it has not found any to import yet?

Thanks for your help!
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #749  
Old 09 Mar 2017, 17:46
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Still not working for me. I did a repair and optimize on the database. No errors found.
Reply With Quote
  #750  
Old 10 Mar 2017, 00:54
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Nope, not working.. looks like it went through the posts and is caught up with the last post but it has not imported any of the images..
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

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 20:36.

Layout Options | Width: Wide Color: