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 08-21-2014 10:49 AM

Quote:

Originally Posted by sticky (Post 2512196)
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.

sticky 08-21-2014 03:32 PM

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 :(

rustyshack 08-22-2014 02:18 AM

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.

sticky 08-22-2014 11:44 PM

What would it explain it running manually but not automatically?

Delfi_r 08-23-2014 05:10 PM

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.

AndrewSimm 11-10-2014 03:08 AM

If I uninstall this can I delete the images in the imported folder? Will the original external link be back in the post?

AndrewSimm 11-10-2014 04:42 AM

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?

y2ksw 11-10-2014 07:51 AM

Quote:

Originally Posted by AndrewSimm (Post 2522094)
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.

addamroy 11-16-2014 01:14 PM

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.

y2ksw 11-16-2014 09:18 PM

Quote:

Originally Posted by addamroy (Post 2522966)
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.


All times are GMT. The time now is 03:49 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.01661 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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