vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Image Cache (https://vborg.vbsupport.ru/showthread.php?t=123338)

Mazinger 08-22-2008 10:59 PM

What are system requirements?

y2ksw 08-23-2008 07:35 AM

Quote:

Originally Posted by Mazinger (Post 1604824)
What are system requirements?

The access to external files through the file_get_contents() function must be granted, thus fopen() on URL's must work.

Mazinger 08-23-2008 03:03 PM

Thanks!

Working now with safe mode off.

snotek 09-22-2008 01:48 PM

It would seem as though we have a need for this, but some updates and new features would be nice - so long as vB 3.7.x doesn't allow this already. We're not going to install this until we update though. Soon.

We run an information based site and notable threads get placed in our archives. Currently the mods have to manually edit the source of every external image and upload it as an attachment before moving the thread(s) to the archives.

This mod would make this work effort obsolete.

Questions:
If two people link to the same offsite image but in different threads, does this mod track that and link to the same image? Or does it simply cache it again.

Can this mod be made so that instead of caching the images it simply makes them an "attachment" as the user that posted the thread?

Are any future updates planned for this mod or is it final as-is?

Are there options that allow us to determine which images get cached and which don't?

Is there a way to clean up the cache over time for images that are in threads that we are not archiving and are no longer relevant?

y2ksw 09-22-2008 03:44 PM

Quote:

Originally Posted by snotek (Post 1627741)
It would seem as though we have a need for this, but some updates and new features would be nice - so long as vB 3.7.x doesn't allow this already. We're not going to install this until we update though. Soon.

We run an information based site and notable threads get placed in our archives. Currently the mods have to manually edit the source of every external image and upload it as an attachment before moving the thread(s) to the archives.

This mod would make this work effort obsolete.

Questions:
If two people link to the same offsite image but in different threads, does this mod track that and link to the same image? Or does it simply cache it again.

Can this mod be made so that instead of caching the images it simply makes them an "attachment" as the user that posted the thread?

Are any future updates planned for this mod or is it final as-is?

Are there options that allow us to determine which images get cached and which don't?

Is there a way to clean up the cache over time for images that are in threads that we are not archiving and are no longer relevant?

It works on my 3.7.x forums as-is perfectly well.
  • If two people link to the same offsite image but in different threads, does this mod track that and link to the same image? Or does it simply cache it again? The images are cached again. However, if a user copies an already cached image, it will just copy the reference.
  • Can this mod be made so that instead of caching the images it simply makes them an "attachment" as the user that posted the thread? This would create a cached image of any copy and thus raise the memory amount sensibly.
  • Are any future updates planned for this mod or is it final as-is? There is an unpublished modification which retrieves also images from imageshack and many other services, together with preview icons and expanded images. However it is rather complicated to use and maintain. So at the moment it remains as-is.
  • Are there options that allow us to determine which images get cached and which don't? None yet.
  • Is there a way to clean up the cache over time for images that are in threads that we are not archiving and are no longer relevant? You may look at the FTP time stamp of the files and delete those which are probably out of date.

Shamil. 10-03-2008 10:13 AM

Would you be able to add a watermarking option to this mod?

y2ksw 10-03-2008 11:41 AM

Quote:

Originally Posted by ct2k7 (Post 1636371)
Would you be able to add a watermarking option to this mod?

Yes, sure (GD only). Please note, that adding a watermark could require quite some resources, since the image(s) must be loaded into memory. On the other hand, this would allow also to resize and save in a common file format.

mac-warez 10-07-2008 11:06 AM

This works good on vbulletin 3.73 i have had it running for about a month with no problems

Super Jinni 10-25-2008 05:08 PM

thanks for the great mod Giovanni

I've a question?
is there anyway to change the images extension from the png to the original image extension (gif, jpg, etc..)? or even to another extension instead of png extension?
I want this cause I've most of users use IE 5 and 6 which they have issues with pngs transparency.

hope to here soon from you..

thanks

:)

y2ksw 10-25-2008 06:22 PM

Quote:

Originally Posted by Super Jinni (Post 1652545)
thanks for the great mod Giovanni

I've a question?
is there anyway to change the images extension from the png to the original image extension (gif, jpg, etc..)? or even to another extension instead of png extension?
I want this cause I've most of users use IE 5 and 6 which they have issues with pngs transparency.

hope to here soon from you..

thanks

:)

You may try to change the png extension at line 103 (y2kswimgcache.php) to something else. The change will apply to new images only.

The images are not transformed though, thus they may or may not work either way. The png extension was given to avoid XSS issues by Internet Explorer 6/7, but in fact the extension does not dictate in any way how images are shown.


All times are GMT. The time now is 08:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01647 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete