Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Import External Images Details »»
Import External Images
Version: 1.0.5, by y2ksw y2ksw is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.x.x Rating:
Released: 11-06-2010 Last Update: 02-13-2011 Installs: 300
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

This vBulletin 4 product imports external images in your posts from external servers or paths into a specific path, normally your forum's image folder.

Differently than the previous product Image Cache for vBulletin 3.x., it parses the posts at regular intervals for new images and replaces the external references in the background. Also, instead of using only a single folder, it creates folders for years and months, making it much easier to handle large quantities of images. The source and destination image URL's are stored into database, too, avoiding unnecessary duplicates.

It moves and optionally converts images from one place to another. It is a handy tool in order to keep your images local to your forums.

Version 1.0.4 is temporarily in BETA stage until the users have confirmed the newly requested features.
Version 1.0.5 is still in BETA stage. It adds a new bunch of additional features, one of which allows you to test your mathematical understanding ... and a few other to fine-tune CURL and socket timeouts, and resizing on the fly of too large images. If you don't know what these options do, please leave them at their default values.

Download Now

File Type: zip 1.0.2.iei4.zip (80.0 KB, 477 views)
File Type: zip 1.0.4.iei4.zip (84.5 KB, 185 views)
File Type: zip 1.0.5.iei4.zip (87.5 KB, 2158 views)

Screenshots

File Type: jpg 08-11-2010-11.32.53.jpg (112.4 KB, 0 views)
File Type: jpg 02-02-2011-22.06.39.jpg (126.0 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #202  
Old 04-13-2011, 05:50 PM
mastershady mastershady is offline
 
Join Date: Apr 2011
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is around now 3 days ... the problem it replaced a regular text with the error Image?!!!!!!!
there is a data in the table ... as you can see in the attachment ... screen shoot ...
are you sure that i have to write the img in the tag field in the hack options ... or to replace it with [IMG] ?! ...
Attached Images
File Type: jpg old-url table.jpg (79.2 KB, 0 views)
Reply With Quote
  #203  
Old 04-13-2011, 06:23 PM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mastershady View Post
it is around now 3 days ... the problem it replaced a regular text with the error Image?!!!!!!!
there is a data in the table ... as you can see in the attachment ... screen shoot ...
are you sure that i have to write the img in the tag field in the hack options ... or to replace it with [IMG] ?! ...
If you have had text between img tags, it takes it as an URL. This text will then fail and eventually a missing image replacement is inserted. There is not a lot I can do. Testing for a piece of text if it eventually is an URL or not, is beyond the idea of a simple product.

Text in place of URL's can come from bad formatting or from using arbitrary tags at your choice. And it reminds me that eventually I'll fall back to the easy and simple version, because I feel that a lot of options and the warnings I gave (to satisfy a few users) are simply too much for a normal forum and source of a lot of questions and additional problems I am really not happy to follow up.

The point is: it is easy to use as long as you understand what the options do. From the moment you change options, I must assume you know what they mean. However, this is not always the case, because each software has options that have to be changed in order to get it working.

From what I see in the screenshot, the product works, but it may not be able to fix problems with your posts.
Reply With Quote
  #204  
Old 04-17-2011, 04:42 AM
amin's Avatar
amin amin is offline
 
Join Date: Dec 2005
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to install it but it takes for ever processing (hung page)!!!

I went back to the plugins page and I found it installed!

I got question

how I can put the "Imported Images Folder" (chmod 777) external to another domain for security issue? If that will take time, is having the folder at the same host domain secure for the forum?

Thank you
Reply With Quote
  #205  
Old 04-17-2011, 11:10 AM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amin View Post
I tried to install it but it takes for ever processing (hung page)!!!

I went back to the plugins page and I found it installed!

I got question

how I can put the "Imported Images Folder" (chmod 777) external to another domain for security issue? If that will take time, is having the folder at the same host domain secure for the forum?

Thank you
1) If the installation hangs, maybe it is the best to reinstall. There is nothing i can do, presumably you are on a busy server.
2) At the moment you can only import images to the forum. I am thinking about some sort of exportation, though, probably with FTP.
Reply With Quote
  #206  
Old 04-19-2011, 10:19 PM
yahooooh yahooooh is offline
 
Join Date: Nov 2009
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i want this option:
adding thread url as link for image
when image hosted and show through [img]
on it

i need to add my thread url also as [url]
i do not allowed img url for other sites and i want to replace images also with url for thread that show this images , this perfect to make people also do not copy the thread to other froums and even they do , the links will be to the origin thread
Reply With Quote
  #207  
Old 04-20-2011, 05:51 AM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yahooooh View Post
i want this option:
adding thread url as link for image
when image hosted and show through [img]
on it

i need to add my thread url also as [url]
i do not allowed img url for other sites and i want to replace images also with url for thread that show this images , this perfect to make people also do not copy the thread to other froums and even they do , the links will be to the origin thread
Could you please make examples? I'm not sure what you want to have added.
Reply With Quote
  #208  
Old 05-08-2011, 10:12 AM
BadGuy's Avatar
BadGuy BadGuy is offline
 
Join Date: Nov 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Sometime I can see it in database in the same ID numbers for days .

Like today inside iei_img table the last id is 131072

its like this from 2 days

the command work every 3 hrs .

also if I run it manually , the next page I got is this :

vB4 Import External Images

that mean is not working

becuase when I see DONE that mean its working fine

some time I see it like this :

Code:
vB4 Import External Images 
Done
So the problem is

Some time works and some times not auto and manually .
Reply With Quote
  #209  
Old 05-10-2011, 09:04 AM
BadGuy's Avatar
BadGuy BadGuy is offline
 
Join Date: Nov 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any update ?
Reply With Quote
  #210  
Old 05-14-2011, 02:56 PM
BadGuy's Avatar
BadGuy BadGuy is offline
 
Join Date: Nov 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Problem fixed

Waiting to add CMS to the system .
Reply With Quote
  #211  
Old 05-22-2011, 08:42 PM
TundraSoul TundraSoul is offline
 
Join Date: Mar 2002
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It worked great for 24 hours, then stopped for no apparent reason.

I tried to run it manually, but got the dreaded error:

Code:
Database error in vBulletin 4.1.3:

Invalid SQL:
INSERT IGNORE INTO iei_img (
                        oldurl, 
                        newurl
                    ) VALUES (
                        'http://www.seven-o-heaven.com/resources/7OHsq700/Seven%20O%20Heaven%20sq700%20055%20North%20Coast%20Journal%20Humboldt%20County.jpg', 
                        'http://www......./images/extras/not-available.gif'
                    );

MySQL Error   : MySQL server has gone away
Error Number  : 2006
Request Date  : Sunday, May 22nd 2011 @ 04:33:53 PM
Error Date    : Sunday, May 22nd 2011 @ 04:35:00 PM
Script        : http://www...../admincp/cronadmin.php?do=runcron&cronid=76
Referrer      : http://www....../admincp/cronadmin.php?do=modify
IP Address    : ****
Username      : Me
Classname     : vB_Database
MySQL Version :
It has managed to import at least two months worth of images (so far).

It looks like it timed out trying to grab that last image.

Any suggestions?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07039 seconds
  • Memory Usage 2,370KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (20)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete