Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
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
  #612  
Old 08-21-2014, 10:49 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 sticky View Post
Is there only one hook? All I see is: Add and set iei_parsed field accordingly for eventual image parsing

I don't understand why when I click the cron manually it works but it just won't run automatically while all other crons work.

It's very weird.
In fact. But it may be the product is disabled or it is scheduled in a way it never runs often enough.

The iei_parsed field is found in the post table and if it is 1 or more, it won't parse that post again.
Reply With Quote
  #613  
Old 08-21-2014, 03:32 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check that table and it said 1 so i set it to 0 on the posts it showed.

It still isn't working and I can't figure out what to do
Reply With Quote
  #614  
Old 08-22-2014, 02:18 AM
rustyshack rustyshack is offline
 
Join Date: Jun 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have had this mod installed on my one forum for years and it worked great.
Then I moved to a new server and upgraded to 4.2.2 VB
The new server has PHP 5.4 which i am thinking is the problem.

Before i discovered it wasn't working I installed this on another forum on the same brand new server, also running 4.2.2. On this forum it created a 2 folders and then stopped.
I cannot figure out what is stopping it, it seems it can't write files or something.

So i looked on my other forum and it stopped running the same day I moved it to my new server.
So there is either a problem with 4.2.2 or php 5.4
Cannot find any reason that neither will work and this is mainly the differences.

Even if I run it manually it doesn't work.
Reply With Quote
  #615  
Old 08-22-2014, 11:44 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What would it explain it running manually but not automatically?
Reply With Quote
  #616  
Old 08-23-2014, 05:10 PM
Delfi_r Delfi_r is offline
 
Join Date: Jul 2011
Location: Barcelona
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 4.0x, I'm using it on 4.22pl1; php 5.3.2-1 and MySQL 5.1.63 and runs fine.

What I would ask is a version that works on blogs and their comments, too.
Reply With Quote
  #617  
Old 11-10-2014, 03:08 AM
AndrewSimm AndrewSimm is offline
 
Join Date: Sep 2006
Location: Atlanta, GA
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I uninstall this can I delete the images in the imported folder? Will the original external link be back in the post?
Reply With Quote
  #618  
Old 11-10-2014, 04:42 AM
AndrewSimm AndrewSimm is offline
 
Join Date: Sep 2006
Location: Atlanta, GA
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess I know the answers to my questions. Is there a way to reverse this since the original url is stored in the DB?
Reply With Quote
  #619  
Old 11-10-2014, 07: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 AndrewSimm View Post
I guess I know the answers to my questions. Is there a way to reverse this since the original url is stored in the DB?
It is possible to reverse, but it will need some crafting skills with queries.

I'm still unsure if you can do it with queries only, or if it requires also some scripting. If you would like to test if the source is still available, then scripts are definitively required.
Reply With Quote
  #620  
Old 11-16-2014, 01:14 PM
addamroy addamroy is offline
 
Join Date: Sep 2010
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a few questions before I go ahead and use this. (And a big thanks for taking the time to make this)

1 - Does this mod have any lossy or lossless image compression features?

Would be nice if these images were compressed in some way during the import.

2 - If I install this mod, does it AUTOMATICALLY start importing images from past posts, or do I have to initiate that import manually via the mod options?

3 - Does this mod import images AS POSTS ARE MADE, or are they imported via a cron-job throughout the day?

And how often does the cron-job run?

4 - Why are there 2 maximum post count options? I notice there are 2 screenshots, each with similar options. Are both options pages accessible via the mod, or is each one a screenshot from v4 and v5 of this mod?

5 - I'm on a semi-shared server (urljet) and have somewhere around 200,000 posts. Will this mod be too server intensive for me or do I just need to lower the maximum post count options? Also, what post count per run do you recommend?

Thanks dude, this looks awesome.
Reply With Quote
  #621  
Old 11-16-2014, 09:18 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 addamroy View Post
I have a few questions before I go ahead and use this. (And a big thanks for taking the time to make this)

1 - Does this mod have any lossy or lossless image compression features?

Would be nice if these images were compressed in some way during the import.


2 - If I install this mod, does it AUTOMATICALLY start importing images from past posts, or do I have to initiate that import manually via the mod options?

3 - Does this mod import images AS POSTS ARE MADE, or are they imported via a cron-job throughout the day?

And how often does the cron-job run?

4 - Why are there 2 maximum post count options? I notice there are 2 screenshots, each with similar options. Are both options pages accessible via the mod, or is each one a screenshot from v4 and v5 of this mod?

5 - I'm on a semi-shared server (urljet) and have somewhere around 200,000 posts. Will this mod be too server intensive for me or do I just need to lower the maximum post count options? Also, what post count per run do you recommend?

Thanks dude, this looks awesome.
1. If you convert all images (option) then they become compressed with the jpg standard and also filtered against embedded scripts and other strange things.
2. Normally it starts alone.
3. cron; you can decide by changing the frequency
4. they are 2 screenshots depending on the mod version old/new. No vb5 tested yet but maybe it still works ...
5. It may be very server intensive, if you have a high parsing rate and a high number of posts at a single time. I would suggest to try this first on a small test environment. I also suggest to start with a small number of images. If you have an interval of 1 minute and 10 posts at each, it will catch up in about 15 days (1440 minutes x 10 x day). It depends a lot on how much your server can hold. On a professional dedicated server (4 core 3.4G) I have run this script with 1000 posts per minute with no noticeable problems.
Reply With Quote
Reply

Thread Tools

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 12:45 AM.


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.07703 seconds
  • Memory Usage 2,359KB
  • 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
  • (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
  • (5)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