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 |
#92
|
||||
|
||||
Quote:
Sorry, no other ideas ... |
#93
|
||||
|
||||
Is there any other php/server requirements/conditionals that this hack wouldn't work with?
|
#94
|
||||
|
||||
Maybe if fopen() would not work. But at this point you would not be able to save attachments on your server as well.
|
#95
|
||||
|
||||
I just checked, and fopen() is off in the php info. Is there any way to enable it via .htaccess?
|
#96
|
||||
|
||||
Not as far as I know, sorry.
|
#97
|
||||
|
||||
Hi -- I've been using Image Cache since 2006. Today the imgcache folder is completely empty except for an index.html file! ALL of the images cached for almost 2 years are GONE! Does anyone have any idea what may have caused this? Is there a directory size limit in PHP or something? I hope they are still there and just unreadable...
|
#98
|
||||
|
||||
Would it be possible the access rights of the folder have changed and you have no READ and/or LIST permission?
|
#99
|
||||
|
||||
I have a dedicated server and I have full management over it. I discovered about an hour ago that all of my profile pix have been deleted as well. Myself and a server wiz-kid from Seattle are looking into it. He doesn't think we are being hacked. It may have something to do with GD. UG! Either way it's a nightmare and I'm going to pay for daily backups now.
So, your mod is fine (it's great, in fact )! |
#100
|
||||
|
||||
Phew (for me)
Anyway I've checked the code and there is no possibility of an accidental deletion. |
#101
|
|||
|
|||
installed on VB 3.7 and working great! Thanks! I have been looking for something like this for a long time!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|