The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Import External Images Details »» | |||||||||||||||||||||||||||||||||||
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
Screenshots
Supporters / CoAuthors Show Your Support
|
20 благодарности(ей) от: | ||
Baja, bond010007, cRipTz, da_judge, Delfi_r, hivitro, imported_EkSeS, john7911, kafi, mescalin, mohammadxxx, RichieBoy67, sweetpotato, tbworld, Techno Cowboy, The_Hawk, thomas, Virus81, xertox, Zero13 |
Comments |
#772
|
|||
|
|||
Quote:
I donated via PayPal and have run y2ksw's for many many years. It's been fantastic and one of the most popular add-ons our members comment on. My question ... since it's been running for so long and we already have thousands of PB pics imported onto our server, am I correct in assuming that this code change permits members to continue IMG'ing PB pics and they will still import? In other words, this code fix works around PB's block and returns us to the status quo of what it used to be? Thanks for any feedback? Regards, Doug Edit: I don't have a line counter in my editor, so what does the code that appears before this look like so I'm sure to put this in the right place, if I do i... thanks .. |
#773
|
||||
|
||||
Doug, the PB fix will work until such time as they find a means to obfusticate it again.
In the iei_cron.php file look for the following code and add the PB code directly after it: Code:
@curl_setopt($ch, CURLOPT_REFERER, IEI_BBURL); |
#774
|
|||
|
|||
Quote:
Appreciate the quick response .. :up: Regards, Doug ps: I'm on a MacBook Pro OSX operating system .. pss: Ok, I've now inserted it for testing and it looks like this... seem like the right place? Code:
if(USE_CURL) { $ch = @curl_init($url); @curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1); @curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); @curl_setopt($ch, CURLOPT_FAILONERROR, 1); @curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); @curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, IEI_CONNECTTIMEOUT); @curl_setopt($ch, CURLOPT_TIMEOUT, IEI_CURL_TIMEOUT); @curl_setopt($ch, CURLOPT_REFERER, IEI_BBURL); if (is_numeric(stripos($url, 'photobucket'))) { curl_setopt($ch, CURLOPT_REFERER, 'http://www.photobucket.com/'); } //@curl_setopt($ch, CURLOPT_USERAGENT, IEI_FORUMDOMAIN); $contents = @curl_exec($ch); @curl_close($ch); } |
#775
|
||||
|
||||
Quote:
|
#776
|
||||
|
||||
Quote:
|
#777
|
|||
|
|||
|
#778
|
|||
|
|||
Quote:
It's ticking away nicely pulling images as we speak! I'm sitting on the edge of my seat watching it and testing images as they pull down to make sure they are continuing to work... LOVE IT!! Quote:
BBEdit: http://www.barebones.com/ EM Editor: https://www.emeditor.com/ |
Благодарность от: | ||
Kane@airrifle |
#779
|
|||
|
|||
Quote:
It's working beautifully and being a research site for over 29,000 retired veterans, is extremely valuable to our members... much appreciated... We've been using y2ksw's outstanding add-on for over 7 years and the accumulated amount of important Photo Bucket research pics that have been preserved (saved) by his mod over the years is measured in the 10's of thousands. Your temporary fix allows that to continue with new pics, at least until Photo Bucket catches up with it. Regards, Doug |
#780
|
|||
|
|||
I think I am missing something real simple here.. but I am not finding a log entry for this mod. Does this not have logging functions, or am I missing where to enable it?
EDIT: Nevermind, i found it and it is logging now. |
#781
|
||||
|
||||
It's not set to log the cron action by default but it does write the imports (old_url - new_url) to a DB table called "iei_img"
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|