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)

Kane@airrifle 02-13-2017 08:53 PM

Quote:

Originally Posted by RichieBoy67 (Post 2582202)
I only had it set to 1...

Anyway we can get this to import Tapatalk images?

Quote:

Originally Posted by y2ksw (Post 2582280)
In theory yes, however I'm unsure about the technical problems.

Works just fine on my site.

RichieBoy67 02-15-2017 03:05 PM

Quote:

Originally Posted by Kane@airrifle (Post 2582285)
Works just fine on my site.

How did you accomplish it?

Kane@airrifle 02-15-2017 06:40 PM

Quote:

Originally Posted by RichieBoy67 (Post 2582371)
How did you accomplish it?

Not sure what you mean? Any external image url that sits between [img] tags in the post table is imported as is intended by this mod. Certainly is the case on my board unless I missing some other Tapatalk function..

djbaxter 02-17-2017 02:09 AM

Quote:

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.
Are these two versions still in beta?

djbaxter 02-19-2017 10:44 PM

I decided to install version 1.05 which seems to be working generally quite well except for the following error:

Code:

Database error in vBulletin 4.2.3:

Invalid SQL:
INSERT IGNORE INTO vbiei_img (
                        oldurl,
                        newurl
                    ) VALUES (
                        'http://www.websmileys.com/sm/love/458.gif',
                        'https://MYSITE/clear.gif'
                    );

MySQL Error  : MySQL server has gone away
Error Number  : 2006
Request Date  : Monday, February 20th 2017 @ 12:24:53 AM
Error Date    : Monday, February 20th 2017 @ 12:26:54 AM
Script        : http://MYSITE/cron.php?rand=1487550292
Referrer      : https://MYSITE/showthread.php?{VARIOUS THREADS}
IP Address    : {VARIOUS}
Username      : Unregistered
Classname    : vB_Database_MySQLi
MySQL Version : {BLANK but is actually 5.6 /  10.0.29-MariaDB}

What's interesting is that so far at least it is always the same image (see above) but different threads and your add-on is in fact correctly inserting clear.gif in those threads.

I'm on a tweaked dedicated server so I don't think the "MySQL server has gone away" is the usual problem of too many connections (persistent connections is off)... not sure what to make of this.

Any suggestions?

Is it a bad idea to be running version 1.05? (I didn't get a response to my previous question above.)

BadgerDog 02-20-2017 02:52 PM

I'll add my 2 cents.... :)

I've been using y2ksw's mod for years and it's been working flawlessly on our v4.1.3 pl8 ... :up:

I check every morning by manually running his "vB4 Import External Images" cron job, just to see if it's hanging on any image imports, which way back in early versions used to be the result of it trying to import some HUGE freakin image a member had linked to in a post.

I haven't had it hang up for years, but I still check it as an old habit.... ;)

I'm running v1.06, but it's been so long, I can't remember why. That's what happens when you get to be almost 70. :D

I know I had PayPal donated to y2ksw for his excellent work and I also think I did more PayPal's a few times more as he privately helped me with some issues. I may have ended up with v1.06 as a result. For some reason, I think along the way working with him, he did something to ensure that it didn't crash when some clown member tries to link to a picture off-site that's too large for the code to handle. I think he also had me change some PHP values, but again, it's been so long since I've had to touch anything.

v1.06 is what my AdminCP currently shows me running and it's been reliable and probably one of the best vBulletin add-ons we use.

It's amazing to see images from members that go back years and years, which have long since been deleted from their original off-site linked to storage, still be showing in their posts. Being a research site, it has been extremely helpful in keeping old threads with pictures still relevant after several years, instead of getting that dreaded "Photo Missing" error.

Thanks again for your excellent add-on y2ksw ... :up:

Hope that helps someone else here ... :)

Regards,
Doug

RichieBoy67 02-20-2017 03:03 PM

I would be glad to donate towards an updated version that addresses the issues I mentioned in my above post.

Sonik_elf 02-21-2017 03:30 PM

Hello.
Sorry.. I installed it .. And? How to start the scanning process and import images?

djbaxter 02-21-2017 04:23 PM

1. Go to AdminCP >> Options >> Settings >>vB4 Import External Images and input your settings and enable the addon

2. Go to AdminCP >> Scheduled Tasks >> Scheduled Task Manager >> vB4 Import External Images

3. Edit your settings there and then enable the cron job /scheduled task.

djbaxter 02-21-2017 09:19 PM

It's now occurring with other images:

Code:

Invalid SQL:
INSERT IGNORE INTO vbiei_img (
                        oldurl,
                        newurl
                    ) VALUES (
                        'http://blog.lib.umn.edu/shea0017/philosophy/MATISSE%20ICARUS.JPG',

...

MySQL Error  : MySQL server has gone away

Missing images seem to create a problem?


All times are GMT. The time now is 11:57 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.01570 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_code_printable
  • (5)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