The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Image Cache Details »» | |||||||||||||||||||||||||
Y2K Software Image Cache
Compatible at least with vBulletin 3.5.4 and 3.6.4 Please click here for the product Import External Images for vBulletin 4 This product caches images from external sites to a local board folder (including signatures) located at: http://www.domain.tld/[forum/]imgcache Installation
When a board user opens a new thread or message, or edits an existing one (all advanced, quick-reply and ajax), and pastes an image from all but the local cache directory (or by copy and paste, or by specifying [IMG] tags), upon submission the image is read from the external url and written to the local (server) image cache folder. This avoids to show a placeholder image when the source link is dead or temporarily unavailable. The link to the image is accordingly replaced. The script scans first all image references and creates a table of unique images in the current message. It creates a new database table entry in y2ksw_imgcache for each image, reads the new ID and creates a sequence of new images for each url it happens to be readable, and creates for each successful read an imgcache/<id>.png file. After this sequence, the files are cached locally and may disappear from their sources without leaving an unreferenced image pointer at the local board. Known bugs When an image link contains dynamic data, vBulletin would show the image in preview, but change also the IMG tags to URL. This causes to loose the reference and the plugin will not attempt to recover. A possible solution is to allow dynamic contents for IMG tags on your board. Version history 1.0.3.0 2007-08-19 Repaired browser (IE 7) issue for images of a different file extension than the officially recognized types. For this issue, newly cached files have now the *.png extension. 1.0.2.0 2006-08-27 Image caching of signatures ([IMG] tags for signatures must be enabled); added a donation button inside readme.htm for specific user requests, which will help us to keep this product always up-to-date. 1.0.1.2 2006-08-07 Release changes for vbulletin.org 1.0.1.1 2006-08-06 Image size verification to avoid caching of invalid images 1.0.1.0 2006-07-17 Collision-free unique cache ID's 1.0.0.0 2006-07-17 Product creation Supporters / CoAuthors Show Your Support
|
Comments |
#142
|
|||
|
|||
Sorry, forgot to add this, can you make it to grandfather in all the older posts before installation?
|
#143
|
||||
|
||||
Sorry, I'm in a kind of lack of time and can't dedicate on this hack in order to make it better.
In my archives I have an application which pulls in old images from a wide variety of services (e.g. ImageShack), which I'm willing to supply, but still I can't give support on that, either. |
#144
|
|||
|
|||
hi
is there any new ver. for 3.8.x thanks regards |
#145
|
|||
|
|||
worked great on my 3.8.3.
|
#146
|
|||
|
|||
Quote:
where can i find it ? no support needed thanks for this mod ! |
#147
|
|||
|
|||
Three questions:
1. Does this cross any lines as far as copyrights are concerned. Since you are essentially making a copy of the image and redistributing it? 2. Is the original link no longer available for the user to reference? 3. Does this only cache remote (off domain) images? If not, is it possible to do that? Answered |
#148
|
|||
|
|||
Is there a way I can make it NOT cache images in the .PNG format? The problem is, it caches them as .PNG's, but they are actually JPG's and GIF's. This causes watermarking apps to fail because they don't understand the format.
I have tried pretty much every single option for watermarking including the .HTACCESS, but non work with this option enabled. I really love the image cache and do not want to disable it. Is there any easy way to convert the PNG's back to the original formats without killing anything? |
#149
|
|||
|
|||
Your plugin is very good, i am using on my very large forum. But the problem is i have about 120000 images in the imgcache folder. Because of too much images in a single folder it crashes the server harddisk to get the images and load.
Now the suggestion: It will be good if your script can automatically create new folders for everymonth like when we are in november 2009 then folder name have to be /imgcache/112009/, for december 2009 /imgcache/122009/ etc. If you can modify the script like this, i am sure your plugin will be the best for ever. Thank you. |
#150
|
|||
|
|||
No plans of releasing this plugin for vb 4? I'm looking for such plugin and as the targeted forum use tons of images, like Sarangan, a new folder organization would be welcome
|
#151
|
|||
|
|||
Quote:
Code:
// Create filename $f = 'imgcache/' . sprintf('%d', $id) . '.png'; Code:
// Create filename $kd = "imgcache/" . date("m_Y"); if (!is_dir($kd)){ mkdir($kd , 0777); $filename = $kd . '/index.html'; $Content = "Restricted Access\r\n"; $handle = fopen($filename, 'x+'); fwrite($handle, $Content); fclose($handle); } $f = $kd . '/' . sprintf('%d', $id) . '.png'; |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|