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 |
#112
|
||||
|
||||
At this point try to comment out the code at line 55 and see if anything changes.
|
#113
|
|||
|
|||
Quote:
Code:
/* Code:
*/ Thanks again! kether |
#114
|
||||
|
||||
Maybe these images are virtual or cannot be accessed. The procedures silently fail when a file is not readable for any reason.
|
#115
|
|||
|
|||
Oh, no. Well, I appreciate the time you spent trying to help me. I really appreciate it and your modification. If I can discover a way to make it work, I will PM you and let you know. If you think of something else for me to try, I will be happy to give it a go.
I am just surprised that none of the images from my forum URL are cached after making that code change. I expected some of them to at least cache. Thanks again, Kether |
#116
|
|||
|
|||
after edit to
allow_url_fopen = On this hack worked well |
#117
|
|||
|
|||
Thank you for sharing this mod.
Is it compatible with 3.7.2 ? |
#118
|
||||
|
||||
Yes, it is running flawlessly on my servers including the versions 3.6.x and 3.7.x
|
#119
|
|||
|
|||
Great. :up: Thank you y2ksw.
|
#120
|
|||
|
|||
Tested on new thread, reply edit with 3.6.8 forum and worked properly.
As other stated before me, would be good idea if there an option to exclude some directories since some forums has their own uploading script. I agree this option should be included in the 3.7 forums. this is a must have in my opinion. Thanks for the great work |
#121
|
||||
|
||||
hmmm ... seems as if I will have to make this and some other changes and upgrades soon ...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|