vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Import External Images (https://vborg.vbsupport.ru/showthread.php?t=253309)

y2ksw 12-01-2010 02:01 PM

Quote:

Originally Posted by dacho (Post 2127846)
Thanks mate,
If I want to import the images to sub donain ?
like that : static.domain.com/imported

I change the "Imported Images Folder" to ../static.domain.com/imported
the setting of "Remove Invalid Images" on OFF

It does not work for me, it's replace the link of the image to "clear.gif" (Although marked him - not). And not import the file to Sub Domain

Do you have any ideas ?

I knew it wouldn't work that way ... :)

This plugin is meant to import images from other sites in order to avoid the loss, which sooner or later would happen.

If you need to store images in paths outside your forum domain, you may use symbolic links. Under Linux this is pretty simple to achieve. Additionally, with sftpfs (http://sourceforge.net/projects/sftpfs/) you may store and retrieve them at any place in the world. There are other tools for the same problem, too.

However, the image paths remain local. If you mass-wish a different storage location than the forum domain, I may have a look into it, but please don't expect me to be quick and professional ... such a thing requires a lot of testing and is surely not easy to implement. Besides a considerably higher amount of time needed to maintain the whole thing ;)

dacho 12-01-2010 05:56 PM

Thanks for the reply.
It is possible that it will cancel the previous server link of the picture - to kill the [URL] ?

y2ksw 12-01-2010 06:24 PM

Quote:

Originally Posted by dacho (Post 2128049)
Thanks for the reply.
It is possible that it will cancel the previous server link of the picture - to kill the [url] ?

Deciding when to delete the URL around a picture is the most difficult task. It could be a legit URL pointing to another site, and then you would not wish to delete it. In other cases, it could point nowhere (dead), or to a larger image, like it would happen to imageshack servers for example.

I believe you will have to use direct MySQL queries or handcrafted code in order to remove the links you don't like to keep. There is no magic fomula which may guess the right thing to do ;)

dacho 12-02-2010 01:19 PM

I think it can erase all the links,
It's Better if we have the option to decide whether to cancel the links or not, or decide which links do not cancel.
It can improve product

sticky 12-05-2010 12:40 AM

Is it possible to set this to avoid certain forums?

dcuellar 12-05-2010 01:34 AM

Wow. Exactly what I needed. This is perfect for people who want to rewrite external links for advertising like linkbucks. Linkbucks now skips images and lytebox will work because the images are all local.

I just hope this continues to work when I upgrade to 4.1.

y2ksw 12-05-2010 10:52 AM

Quote:

Originally Posted by sticky (Post 2129434)
Is it possible to set this to avoid certain forums?

No.

y2ksw 12-05-2010 10:53 AM

Quote:

Originally Posted by dcuellar (Post 2129445)
Wow. Exactly what I needed. This is perfect for people who want to rewrite external links for advertising like linkbucks. Linkbucks now skips images and lytebox will work because the images are all local.

I just hope this continues to work when I upgrade to 4.1.

It should work for all coming versions :)

Hateman 12-17-2010 07:04 PM

Hi Mate,

i think it dosen't work with vBulletin 4.1. I installed all thinks probably the cacher dont do his work.

Gostemilov 12-17-2010 07:32 PM

Great mod! I nominate it! But what about CMS posts? Is it possible to parse CMS tables? I need it very, very much! Thanks a lot! (4.0.8)

y2ksw 12-18-2010 10:53 AM

Quote:

Originally Posted by Hateman (Post 2135521)
Hi Mate,

i think it dosen't work with vBulletin 4.1. I installed all thinks probably the cacher dont do his work.

I' am testing 4.1 but I'm not through yet. It should work though, unless the post table has changed (which hasn't).

y2ksw 12-18-2010 10:54 AM

Quote:

Originally Posted by Gostemilov (Post 2135529)
Great mod! I nominate it! But what about CMS posts? Is it possible to parse CMS tables? I need it very, very much! Thanks a lot! (4.0.8)

I'll look into it after testing 4.1 :)

urstorm.com 12-19-2010 03:48 PM

pls testing at 4.1 ...
before i install it ,,,

bond010007 12-28-2010 09:47 AM

<font color="DarkGreen">i really looking for one like that but what about images hosted on my web site? inside my forum or in same domain name

thanks in advance

and pls we ned it for 4.1
</font>

RustedBucket 12-28-2010 11:35 AM

Worked fine on 4.1.0 PL2, however, while the concept is good, the plugin is very lacking in control at the moment. Right now it appears to be an all or nothing kind of thing. No control over individual forums, threads or even a single post. These would be great, plus options to exclude things like signatures would help greatly.

urstorm.com 12-28-2010 11:42 AM

worked for me for a wile then stoped ! i dont know why ! its tranfered about 1480 inm at all 98mb then stop days left no change . but i am sure my forum have more than 50 000 img
have dedi server ..

Mofareq 12-28-2010 01:13 PM

Hello y2ksw

i make every thing folder with chmod 777 and run the product , it make sub-folder ( 2010 ) but not have any images and the table of your product is 0 don't have any thing

i sent to my server menagment and them tolde me chmod 777 not worked with SUPHP and that must be to 755 , i change it to 755 and not worked also ...

note : i installed it for 2 weeks and no any images imported

please help me ..

thanks

Nosfer@tu 12-28-2010 02:19 PM

GREAT PRODUCT.

I have been missing this feature, and Vb declined to implement it because of copy rigth shite :D

EXELENT, will report back when I have tested.

EDIT

BTW what happens to images already uploaded to the forum via the attachment system?
Nothing I guess ?

What about images that have a thumbnail link?
Like images on photobucket or imageshack.us ?

Will it download the largest image and thumbnail it or :D ?

demonfatal 12-28-2010 02:19 PM

Thank you great mod!

dcuellar 12-28-2010 04:22 PM

Any chance this can run in real time?

y2ksw 12-29-2010 02:55 PM

Quote:

Originally Posted by bond010007 (Post 2140048)
i really looking for one like that but what about images hosted on my web site? inside my forum or in same domain name

thanks in advance

and pls we ned it for 4.1

You may define in the options all domains to images to keep intact.

y2ksw 12-29-2010 02:57 PM

Quote:

Originally Posted by TiGer ShobiK (Post 2140104)
Hello y2ksw

i make every thing folder with chmod 777 and run the product , it make sub-folder ( 2010 ) but not have any images and the table of your product is 0 don't have any thing

i sent to my server menagment and them tolde me chmod 777 not worked with SUPHP and that must be to 755 , i change it to 755 and not worked also ...

note : i installed it for 2 weeks and no any images imported


please help me ..

thanks

Also check that you are the owner or, that Apache is the owner.

y2ksw 12-29-2010 02:58 PM

Quote:

Originally Posted by Nosfer@tu (Post 2140133)
GREAT PRODUCT.

I have been missing this feature, and Vb declined to implement it because of copy rigth shite :D

EXELENT, will report back when I have tested.

EDIT

BTW what happens to images already uploaded to the forum via the attachment system?
Nothing I guess ?

What about images that have a thumbnail link?
Like images on photobucket or imageshack.us ?

Will it download the largest image and thumbnail it or :D ?

thumbnails :)

y2ksw 12-29-2010 03:00 PM

Quote:

Originally Posted by dcuellar (Post 2140210)
Any chance this can run in real time?

Nope. In order to keep the failures as low as possible, and have nearly zero impact on your server performance while people browse, and no impact on code changes as they happen too often, I have decided to adapt the cronjob technique, which is much more reliable, too.

y2ksw 12-29-2010 03:01 PM

Quote:

Originally Posted by urstorm.com (Post 2140075)
worked for me for a wile then stoped ! i dont know why ! its tranfered about 1480 inm at all 98mb then stop days left no change . but i am sure my forum have more than 50 000 img
have dedi server ..

disk full? 100 MB sounds like that ...

urstorm.com 12-29-2010 04:49 PM

Quote:

Originally Posted by y2ksw (Post 2140780)
disk full? 100 MB sounds like that ...

i have full server 250gb nothing full!!!
do u thing if i uninstall it it and reinstall it working or what is ur advice to fix this ?

y2ksw 12-29-2010 07:30 PM

Quote:

Originally Posted by urstorm.com (Post 2140834)
i have full server 250gb nothing full!!!
do u thing if i uninstall it it and reinstall it working or what is ur advice to fix this ?

You said nothing else, I was just guessing :)

sticky 12-31-2010 07:48 PM

Quote:

Originally Posted by y2ksw (Post 2140779)
Nope. In order to keep the failures as low as possible, and have nearly zero impact on your server performance while people browse, and no impact on code changes as they happen too often, I have decided to adapt the cronjob technique, which is much more reliable, too.

I do get failures from time to time where images will be replaced and the wrong image will be shown.

How do I cut down on these?

y2ksw 01-01-2011 01:49 PM

Quote:

Originally Posted by sticky (Post 2142003)
I do get failures from time to time where images will be replaced and the wrong image will be shown.

How do I cut down on these?

If images have been replaced on source, there is nothing I can do about it.

sticky 01-02-2011 10:08 AM

Quote:

Originally Posted by y2ksw (Post 2142278)
If images have been replaced on source, there is nothing I can do about it.

I understand, but why does it replace incorrectly sometimes?

It works about 90% of the time correctly but sometimes it will replace an image with the wrong image.

And can it be edited to use the same image name as the source?

y2ksw 01-02-2011 11:50 AM

Quote:

Originally Posted by sticky (Post 2142685)
I understand, but why does it replace incorrectly sometimes?

It works about 90% of the time correctly but sometimes it will replace an image with the wrong image.

And can it be edited to use the same image name as the source?

If, for example, the source does not allow hot linking, they send usually a dummy image of 1x1 pixel in order to save bandwidth. If you have CURL enabled, more images are correctly downloaded, since CURL simulates a browser, while raw sockets (fopen) don't.

If you have known sites where you get always wrong images, you may include them into the Ignore list. This way the images are kept on the original server, although you may loose them over time.

kether1 01-06-2011 04:00 PM

Thanks so much, Giovanni! I use your 3.X version of this and love it.

When upgrading to 4.x should I uninstall your 3.X version and install this version?

The 3.X appears to still work after my upgrade. I see this version puts the images in a different location and in sub-folders. I think that is a great idea. My 3.X version folder is huge. :)

Again, thanks for your good work.

Kether

Brandon Sheley 01-06-2011 05:00 PM

I've been looking for a mod like this, I'm going to tag it for now and will check it out later

a few questions
I see you mentioned it only grabs thumbnails, can that be changed?
Also can we place the images before the forum root, like how we can optimize the attachments by pulling them out of the DB and placing them on the file server?

thx

kether1 01-12-2011 08:23 PM

Quote:

Originally Posted by kether1 (Post 2144967)
Thanks so much, Giovanni! I use your 3.X version of this and love it.

When upgrading to 4.x should I uninstall your 3.X version and install this version?

The 3.X appears to still work after my upgrade. I see this version puts the images in a different location and in sub-folders. I think that is a great idea. My 3.X version folder is huge. :)

Again, thanks for your good work.

Kether


Hi Giovanni, do I need to uninstall the 3x version before installing this version on my 4.1.0 forum? Thanks man!

Kether

y2ksw 01-13-2011 08:30 AM

Quote:

Originally Posted by kether1 (Post 2148177)
Hi Giovanni, do I need to uninstall the 3x version before installing this version on my 4.1.0 forum? Thanks man!

Kether

If the 3.x product continues to work for you on vBulletin 4.x, you need not to upgrade. However, I would try the new version on a test board, since it allows you to store images in a more efficient way and classified by date. I would not use both solutions though.

y2ksw 01-13-2011 08:39 AM

Quote:

Originally Posted by Brandon Sheley (Post 2145004)
I've been looking for a mod like this, I'm going to tag it for now and will check it out later

a few questions
I see you mentioned it only grabs thumbnails, can that be changed?
Also can we place the images before the forum root, like how we can optimize the attachments by pulling them out of the DB and placing them on the file server?

thx

Theorically it can be changed in order to download the source images and the thumbnails. However, each system has different ways and changes them from time to time, in order to avoid direct downloading. Since this is freeware and I have no income with it, nor are there enough customers for asking this feature, it is unlikely it will be ever implemented.

Similarily, the file server/gallery issue has been discussed before. If there was a consistent number of users requesting to move files to another server, I may look into moving files via FTP and/or PHP's fopen and updating queries and so stuff. But until now you are only about the third person asking for this feature. Instead, you may use fsftp for Linux, which transparently links another server to a symbolic link of your forum root subfolder of your choice. There may be other solutions too. I do not support any of those solutions ;)

BirdOPrey5 01-13-2011 11:54 AM

I installed this on a VB 3.8 test forum and it appears to be working well. :up:
Thank You...

Ever think about an option to keep the original file name rather than renaming it to a number?

y2ksw 01-13-2011 02:36 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2148409)
I installed this on a VB 3.8 test forum and it appears to be working well. :up:
Thank You...

Ever think about an option to keep the original file name rather than renaming it to a number?

Yes. But under Windows, file names cannot contain ? and other strange things you may find in an image URL, some Linux versions may not love excessively + and *, and numbers are a good solution for all imaginable file systems one can come across :)

kether1 01-13-2011 05:15 PM

Thank you, Giovanni, for answering my question! I want to use your new version on my vb4 forum instead of the vb3 version, I just wanted to know what to do before installing the vb4 version. I did not want a conflict. This has been an excellent product for me. One of my favorite modifications I use on my forum. Thank you for sharing your work and time.

Kether

BirdOPrey5 01-13-2011 05:49 PM

Can someone who has been using this give me some idea how much disk space this uses in a real world environment? Obviously it's different for everyone but just an idea- how long you had it? how many posts you get? how much disk space is the folder taking up each month?


All times are GMT. The time now is 04:22 AM.

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.01815 seconds
  • Memory Usage 1,840KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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