![]() |
|
Mod Options |
![]() |
|||||||||
This modification is in the archives.
![]() 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 Download Now Only licensed members can download files, Click Here for more information. Addons Supporters / CoAuthors Show Your Support
|
#166
|
||||
|
||||
Short answer: no
![]() You would like to store the images to a media server which would need a lot of more operations. However, if you have Linux, you can use the fsftp file system in order to move imported files into another server, or a symbolic link to move it on the same server to another domain. Together with the Forum URL Replacement option, you may achieve then the desired effect. This applies however only to the newer version, here: http://www.vbulletin.org/forum/showthread.php?t=253309 No members have liked this post.
|
#167
|
||||
|
||||
My bro',
Please this version update: - update all equal to Import External Image (vb4) - a scan and remove of unused images - a scan and update of images - Watermark - Integrate automatically ![]() Is it possible? Congratulations, you're a great developer.
__________________
My Modifications: Thread Starter Manoel - Random Avatar vB3.x Manoel - Random Avatar vB4.x No members have liked this post.
|
#168
|
||||
|
||||
You may watermark your pictures with external tools (e.g. download - watermark - upload). I will not add this feature for copyright reasons.
All the other requests may be possible, I'll think about it ![]() The following members like this post: Manoel Júnior
|
#169
|
||||
|
||||
Originally Posted by y2ksw
Again, thank you for all the help. Many people still have version 3.8, an update would be very good this product to these people.![]()
Thanks again.
__________________
My Modifications: Thread Starter Manoel - Random Avatar vB3.x Manoel - Random Avatar vB4.x No members have liked this post.
|
#170
|
||||
|
||||
Do not forget us (vb3.8) please my friend.
__________________
My Modifications: Thread Starter Manoel - Random Avatar vB3.x Manoel - Random Avatar vB4.x No members have liked this post.
|
#171
|
||||
|
||||
Excellent. I came a cross an issuie where it would attempt to cache album pictures (vb 3.8.7), but instead it cache a 1x1px img? (vBulletin's cron ?)
This however didn't happen when attachments were used in img tags ![]() To work around I added the following code to y2kswimgcache.php so that any images in the forums were not cached:
No members have liked this post.
|
#172
|
||||
|
||||
Any news y2ksw??
Thanks
__________________
My Modifications: Thread Starter Manoel - Random Avatar vB3.x Manoel - Random Avatar vB4.x No members have liked this post.
|
#173
|
|||
|
|||
This works well under 3.8.7!
No members have liked this post.
|
#174
|
||||
|
||||
No members have liked this post.
|
#175
|
|||
|
|||
Very nice mod! works very well on 3.8.7, but I noticed a bug, when you give a space after the img bbcode, modification does not work.
No members have liked this post.
|
#176
|
||||
|
||||
Originally Posted by SCuN
It's not intended to have a space there ![]()
![]() If there are spaces, probably they are intentional in order to show the tags in the post. No members have liked this post.
|
#177
|
|||
|
|||
After minimal testing, your version of this for VB4 works under vb 3.8 also ... (although there may be an issue with cron logging?)
No members have liked this post.
Last edited by dartho; 18 May 2012 at 05:07. |
#178
|
|||
|
|||
One quick question: IS there any way to determine if a cached image is no longer in use?(i.e. a thread which had a cached-image in it has been deleted, but the cached-image remains) From what I've gathered reading this thread, if a thread is deleted and the cached-image is no longer needed it still remains (unused) in place. True?
This is a GREAT MOD and has kept our discussions meaningful, no matter how old they are by keeping the images within our threads intact. ![]() Oh and I'll 2nd Manoel Junior's comment: Congratulations, you're a great developer. No members have liked this post.
Last edited by adwade; 16 Aug 2013 at 02:09. |
#179
|
||||
|
||||
Originally Posted by adwade
If a thread is deleted and the cached-image is no longer needed it still remains (unused) in place: True![]()
Because a post may be copied inside and even outside your forums and their images are still in use. Since you link images statically to your site, you are becoming the primary source of that copy, if the original disappears for one or another reason. I am aware of the space problem, but in the very long run, old images may become very interesting to researchers. And thus, new people are coming to your site, only because you got what they need ![]() No members have liked this post.
|
#180
|
|||
|
|||
Originally Posted by y2ksw
I understand and can agree with your logic. ![]()
![]() I'm running v1.0.2.0 on vB3.8.6 and it's run flawlessly since I installed it w-a-y back when.(i.e. vB 3.6) My only concern is how many images can I hold in just ONE directory, before it blows up on me? ![]() And along those lines, is there any way to patch/modify the version I'm running to keep-it-going?(i.e. as Focus2 suggested in post #150 of this thread) No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 04:10.