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 |
#112
|
|||
|
|||
Please add this option, it would be huge for me in particular
|
#113
|
|||
|
|||
Quote:
Anyway, how do I change task code? /noob here :erm: Seconded. |
#114
|
||||
|
||||
Just for the info of those who may need this feature, I made this edit for it to not import images from 2 specific forums... I am releasing this for info only, I don't recommend you make this change nor will I support it.
In ie_cron.php file I changed: Code:
"SELECT postid, dateline, pagetext, forumid FROM " . TABLE_PREFIX . "post join " . TABLE_PREFIX . "thread on (post.threadid = thread.threadid WHERE iei_parsed=0 AND pagetext LIKE '%[/IMG]%' ORDER BY postid"; Code:
$SQL = "SELECT postid, " . TABLE_PREFIX . "post.dateline, pagetext, forumid FROM " . TABLE_PREFIX . "post join " . TABLE_PREFIX . "thread on (" . TABLE_PREFIX . "post.threadid = " . TABLE_PREFIX . "thread.threadid) WHERE iei_parsed = 0 AND pagetext LIKE '%[/IMG]%' AND forumid != 2 AND forumid != 4 ORDER BY postid"; |
#115
|
|||
|
|||
Quote:
I'm using the current 1.0.2 and my ie_cron.php file shown below does not have the additional ", forumid" on end of the $SQL string to search for? Quote:
Doug |
#116
|
||||
|
||||
Quote:
My point is to change the original code to the new code I specified. |
#117
|
|||
|
|||
Quote:
I'll ignore you find part of the code search and just use the replace part .. :up: If I use a ForumID that has sub-forums, does that mean ALL sub-forums will be ignored too? Appreciate your efforts... Regards, Doug |
#118
|
||||
|
||||
No it doesn't cover subforums, each forumid must be entered manually. You can add more ANDs or consult a mysql manual for a better query.
|
#119
|
||||
|
||||
Quote:
Code:
$SQL = "SELECT postid, " . TABLE_PREFIX . "post.dateline, pagetext, forumid FROM " . TABLE_PREFIX . "post join " . TABLE_PREFIX . "thread on (" . TABLE_PREFIX . "post.threadid = " . TABLE_PREFIX . "thread.threadid) WHERE iei_parsed = 0 AND pagetext LIKE '%[/IMG]%' AND NOT forumid IN (1, 2, 3) ORDER BY postid"; Code:
$SQL = "SELECT postid, " . TABLE_PREFIX . "post.dateline, pagetext, forumid FROM " . TABLE_PREFIX . "post join " . TABLE_PREFIX . "thread on (" . TABLE_PREFIX . "post.threadid = " . TABLE_PREFIX . "thread.threadid) WHERE iei_parsed = 0 AND pagetext LIKE '%[/IMG]%' AND forumid IN (4, 5, 6) ORDER BY postid"; As always, please try first in a sandbox |
#120
|
||||
|
||||
I want to suggest one more change I've used successfully on my test forum that may be of use to people with established forums.
In that query change ORDER BY postid to ORDER BY postid DESC so that the newest threads are processed first since it might take days or weeks to process a large existing forum. |
#121
|
|||
|
|||
Quote:
By the way, thanks for the tips .. Regards, Doug |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|