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)

KingPin6 02-20-2007 12:56 AM

thank you.

RealitYYY 03-28-2007 08:15 AM

This is great though is it able to be for specific forums and pm messages and not the entire site...

Xplorer4x4 04-01-2007 08:07 PM

Quote:

Originally Posted by RealitYYY (Post 1214311)
This is great though is it able to be for specific forums and pm messages and not the entire site...

Not tested but try putting
PHP Code:

<if condition="n_array($GLOBALS[forumid], array(X,Y,Z))"

as the first line of every plug in for this hack. Then put </if> as the last line if each plug in for this hack.

Replace XYZ with the forums ids of the forums you want it to cache in.

y2ksw 04-02-2007 10:17 AM

PHP Code:

<if condition="in_array($GLOBALS[forumid], array(X,Y,Z))"

may work for templates only (n_array does not work for sure :p )

maxicep 04-02-2007 12:35 PM

Quote:

Originally Posted by y2ksw (Post 1218230)
PHP Code:

<if condition="in_array($GLOBALS[forumid], array(X,Y,Z))"

may work for templates only (n_array does not work for sure :p )

i do it what you write, bu take an error when posting and editing on forum than i uninstalled .:(

y2ksw 04-02-2007 05:48 PM

The plugin has been written for entire sites, not for selections of forums and subforums. Unless I will release a version which allows selecting forums, I do not suggest to make a change to templates. I corrected a typo, in a hypothetically working template modification. ;)

home9000 04-13-2007 03:44 PM

very nice product
let assume that I disable the product after one month what is the impact ?
I will lose all images , is this right ?

y2ksw 04-14-2007 08:26 AM

No, the images you have stored on your server remain. After uninstalling/disabling, newly pasted images will not be stored to your server any more. That's all :)

home9000 04-17-2007 07:39 AM

Is it possible to print logo over the images that store in the site ?

like this
https://vborg.vbsupport.ru/showthrea...ight=watermark
or this
https://vborg.vbsupport.ru/showthrea...ight=watermark

y2ksw 04-17-2007 11:41 AM

Not yet. It has been asked before and when I got time to review this plugin, I may add this feature.

home9000 04-29-2007 07:08 AM

Thanks y2ksw
one more question, The hack will be work for the new post . I want to include the old post is there any way like Update Counters

y2ksw 04-29-2007 11:36 PM

Not yet, sorry. Also this feature was asked in the past, but I'm unable to concentrate on addons and changes, since busy in real life ;)

If you know a little PHP you may create a new cron-job and parse the messages one by one (or a small number of messages) at each interval. It is not a huge deal with an additional table where you keep trace of the messages you already parsed, or an additional field in the post table (which I discourage).

The 'update counters' isn't a great idea on large boards, because you need to take care about script timeouts. When you time out, you have to reload the page manually. On certain systems, the timeout can be disabled for cron-jobs, and most of all, they run in the background without the need of a human clicking for hours on a stupid button :p

home9000 05-01-2007 07:59 PM

Thanks y2ksw

Is it possible to let each month picture have a different folder in this way the number of files not going to effect the performance and it's easy to delete the old files.

my second suggestions and it's good for next release to keep in database the old picture url and you can just replace the url if the picture missing only so the bandwidth not effect in this way

home9000 05-19-2007 04:02 PM

I have problem right now to add any new post because its take time .Maby the problem because all image save in one folder
I have to stop the product right now and I hope we can get fix

ChurchMedia 08-18-2007 09:59 PM

Any chance on a port to 3.6.8? It stopped working for me a couple of revs back.

y2ksw 08-19-2007 07:56 AM

Quote:

Originally Posted by ChurchMedia (Post 1320579)
Any chance on a port to 3.6.8? It stopped working for me a couple of revs back.

I check what's going on ... probably a hook location which has been changed ;)

Thanks for feedback

ChurchMedia 08-19-2007 01:50 PM

Quote:

Originally Posted by y2ksw (Post 1320792)
I check what's going on ... probably a hook location which has been changed ;)

Thanks for feedback

Actually it was because my imgcache folder wasn't chmod to 777. My bad. Sorry!

y2ksw 08-20-2007 02:48 PM

No problem ... there was also an issue on IE7 which may not allow to show correctly *.imgcache images. New files are named *.png now and everything works ;)

KingPin6 08-20-2007 08:02 PM

hello y2ksw thank you for the update, it was always a bit slow with this mod when making posts with pictures but now after this update I cant make posts at all if it contain a few pictures, I see the pictures in the imgcache folder but the post never gets made, I just waited almost 5 minutes and then just canceled, disabled addon and retried, the post was made in a few seconds. any tips would be much appreciated.

y2ksw 08-21-2007 08:46 PM

Quote:

Originally Posted by KingPin6 (Post 1321843)
hello y2ksw thank you for the update, it was always a bit slow with this mod when making posts with pictures but now after this update I cant make posts at all if it contain a few pictures, I see the pictures in the imgcache folder but the post never gets made, I just waited almost 5 minutes and then just canceled, disabled addon and retried, the post was made in a few seconds. any tips would be much appreciated.

Strange ... anyway 17 seconds for a message is long. I'll upload the previous version (1.0.2.0) to allow reverting.

The changes I've made should actually use much less memory, specifically when there are more images in a message, at a single time.

KingPin6 08-22-2007 02:53 PM

17 was a typo ;) which I fixed before your post but you read it already :) thank you, I will debug my setup further and will reply back with anything I come up with.

Lethe 08-25-2007 07:06 PM

actually nice mod..thx..
i used it for 1 week but i just have to much images on my users posts so i uninstalled it.. in one week i got nearly 100 mb in the imgcache folder. i cant delete them couse all links are automaticly rewritten to the imgcache folder..
the question is ; is there a way to rewrite them back ?

y2ksw 08-26-2007 09:00 AM

Quote:

Originally Posted by Lethe (Post 1325643)
actually nice mod..thx..
i used it for 1 week but i just have to much images on my users posts so i uninstalled it.. in one week i got nearly 100 mb in the imgcache folder. i cant delete them couse all links are automaticly rewritten to the imgcache folder..
the question is ; is there a way to rewrite them back ?

Sorry, there is no way, since the original URL is not stored anywhere.

Njm 10-06-2007 08:29 AM

thanx 4 the hack

some user have issue with it

when i put manny image in my post and add it .. it will take long time to show

and some time it give me server Busy ?
HTTP 408/409 Server Busy

how can i fix it ?


thanx agin my frined


vBulletin Version 3.6.8

y2ksw 10-06-2007 10:53 PM

Every image is downloaded form the source as-is, and thus may take quite some time to download. The message will not show up before all images are downloaded.

If you host on a fast server, this should not be an issue, but on shared systems it may be a problem.

hilfe-forum 10-13-2007 04:53 PM

Hmm dont work wen Pic URL is not hard-Postet....

y2ksw 10-14-2007 05:00 AM

Well, sure, an image link is always an URL and thus handled just as that.

yahoooh 10-14-2007 07:43 AM

there is an error should be fixed:

i have gallery for images and also hosting images service
when a member use images already in my gallery on on my server it will be also copied and go to imgcache and i think this is not needed so

how to exclude images that already present on my site folders ?

hilfe-forum 10-14-2007 07:11 PM

Quote:

Originally Posted by y2ksw (Post 1359517)
Well, sure, an image link is always an URL and thus handled just as that.


no change to work with revite URL?s?

in my Board a plugin revite this url: "www.abc.de" to this "pic.abc.de/fg.jpg"

So in post i see the picture but your plugin only see www.abc.de?... :(

booktoweb 10-15-2007 03:32 AM

its not work with me in 3.6.8

yahoooh 10-16-2007 05:55 AM

Quote:

Originally Posted by booktoweb (Post 1360381)
its not work with me in 3.6.8

it works with me

booktoweb 10-21-2007 12:56 AM

i dont know why its not works with me
i am using it from version 3.0.8 without any problem

========
open directory imgcache and make its CHMOD 777
upload y2kswimgcache.php
Install the product (product-y2kswimagecache.xml)
========

used old version and latest version

y2ksw 10-21-2007 09:33 PM

Do you have any other hacks installed? If yes, which?

booktoweb 10-22-2007 07:30 PM

i installed new test forum and try hack
but its not works

yahoooh 10-30-2007 06:31 PM

still i need : to not cache images that already in mu server

any update

y2ksw 10-30-2007 07:20 PM

Quote:

Originally Posted by yahoooh (Post 1372181)
still i need : to not cache images that already in mu server

any update

I think that is not easy to perform. However I'll look into it for the next release.

bkaul 11-09-2007 07:33 PM

Quote:

Originally Posted by booktoweb (Post 1360381)
its not work with me in 3.6.8

It has been working in 3.6.8 for me, but upon patching to PL2, it now generates a PHP Access Violation whenever a new post using [img] code is submitted.

y2ksw 11-09-2007 07:52 PM

I have patched and tried right now, and the is no problem at all. However I just replaced the files, not doing the full upgrade.

ChurchMedia 11-09-2007 08:19 PM

Quote:

Originally Posted by bkaul (Post 1379250)
It has been working in 3.6.8 for me, but upon patching to PL2, it now generates a PHP Access Violation whenever a new post using [img] code is submitted.

I'm patched -- no problems here.

bkaul 11-13-2007 09:48 PM

Quote:

Originally Posted by ChurchMedia (Post 1379290)
I'm patched -- no problems here.

Hmm ... problem started on the same day that I patched it. Odd. No disk space or database problems... will have to poke around a bit and see what I can figure out, I guess.


All times are GMT. The time now is 04:26 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.01334 seconds
  • Memory Usage 1,823KB
  • 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
  • (3)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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