![]() |
Quote:
Can somewhere view logs or something? |
Only missing images appear in the image folder.
|
Update:
It appears that the error messages I received and posted above were misleading (at least they misled me). It is not the case that this add-on is finding the same missing image in a number of posts; I thought that initially made sense because the image pointed to a no longer available smiley. Rather it seems that once the add-on encounters a no longer available image, it gets "stuck" on that image each time it tries to process another run, and keeps generating the same error. A work-around which appears to be working for me is to add the URL (or part of the URL) pointing to the problem image to the add-on's Ignore list: AdminCP >> Settings >> Options >> vB4 Import External Images >> Ignore Ignore Images containing these values are ignored and will not be replaced. Normally you will enter here your media server or gallery folder. Images of your forum and the imported folder are always ignored. Please separate each item by a new line. My ignore list now looks like this: Code:
imgcache/ |
Quote:
Quote:
|
I think you've missed the point. See my latest post above. The add-on gets stuck on a missing image and keeps trying to retrieve it even after it moves on to other posts.
https://vborg.vbsupport.ru/showpost....&postcount=723 |
Quote:
All I can say is, when you cannot solve the timeout problems, the plugin does not work for you. |
I'm actually strongly considering developing a service for forum owners, as I am one myself, to do what this plugin did (or does, I don't know if it still works) along with a few extra features... all things I've been doing on my forum for a few years but utilizing custom code and not vB plugins...
There's almost nothing I hate more than coming to a forum and reading quality posts from a while back but the images not working in them. What I've been doing, and the service that I'm considering starting up, would do these things: 1.) Any external images in the past that have been posted to your forum, which are still available, would be imported into my server cluster. 2.) After being imported, the image will be optimized (using lossless - or lossy - the site owner would be able to choose which they would want) using the latest image optimization routines (OptiPNG, etc etc etc). 3.) After being optimized, the old external images inserted into posts on your forums would be updated to no longer route to the external image, but the one on my server. 4.) Files would be distributed to your viewers over our CDN to allow for a better (by not having to wait for things to load) browsing experience. 5.) Any future posts made with external images inserted into them would have them automatically imported, optimized, posts updated and distributed through our service automatically. The setup would be extremely painless, it'd pretty much be a set it and forget it type thing - everything would be done in the background. I have a lot of resources at my disposal, but I'd charge around $10/month for access to this service (you can enable it for all of your forums - if you run multiple forums) because there are infrastructure costs if I were to provide this as a service. Also you'd have the option to have all your normal image uploads (i.e. when someone attaches a jpg to a thread they are making) served through our service as well - the idea here would be to reduce strain on your server, reduce your bandwidth costs and improve browsing experience by faster page loading thanks to the files being served via CDN. Another thing, and this is still experimental (but I'm implementing it on my forum as we speak), you would have the option to allow us to optimize your images even further, by making it so images that are way too big for the viewer's screen would be resized automatically during the import->optimization phase, into 4 different files (based on the most popular browser screen resolutions), which would not only increase their page loading speed, but decrease their bandwidth used and decrease your bandwidth used. They would, of course, be able to see the image in all it's glory by clicking on it, but the initial view would be sized intelligently (responsive web design). Images would never be upscaled - QUALITY and performance is something I require when it comes to processing images, so you would never see crappy quality images due to our service. LASTLY, lol, this is still experimental as well (another thing I'm implementing on my forum as we speak), but images could be served as BPGs instead of JPGs/PNGs - more or less this would decrease the file size of images by about 30-40%, saving you and your viewers bandwidth, and making pages load even faster. Should this option be offered, and the forum owner want it enabled, you'd have to stick a piece of javascript into your forum (would all be done via the vB plugin) since BPGs aren't natively supported by browsers yet, but it's well worth doing. I'll post some before and after screenshots once I'm done implementing everything on my own forum. As I said before, this would be an extremely powerful tool for any forum, there would be hardly any work required to implement it on your own forum. And of course since it would be provided as a service, I'd help anyone who needs it when it comes to installation/configuration. I'm curious to see what kind of interest a service like this would conjure up - I know if it was around when I created my forum I would have definitely jumped on it for $10/month. |
Quote:
|
Quote:
If you went ahead, it would also have to be an SSL site.. Regards, Doug |
Quote:
The point is that high end servers have a cost which never is paid unless some tricks apply. For example, I was playing with the idea of using flickr and instagram for storing images, taking advantage of a paid account. Then, the service would handle the downloading and redirecting only. But still, a professional service is very costly both in time and hardware. Personally I prefer a low-end solution and no or little costs, at the expense of sometimes not getting exactly what I want. |
I'll add a little more in response later today as I only have a few seconds at this very moment, but I wanted to mention something right now at least, regarding this:
Quote:
In regards to it being ran on HTTPS, I entirely agree. In fact, it's something I strongly believe in so much that I wouldn't even give the option to disable SSL for the service. Some could argue that having images behind SSL could cause extra round trip time due to SSL negotiation, but these images being served from a CDN would clear that up for most forum operators - and in a lot of situations, even being behind SSL but served with a CDN images would still load faster due to not a lot of places using CDNs for forum images/attachments. That, along with all of the other newer technologies that increase loading time (HTTP/2 etc), would all be enabled, and again, such extreme performance optimizations aren't as common on forums as we'd all prefer. I am extremely... paranoid, or obsessive... when it comes to optimization when it comes to delivery of web objects. SSL is becoming a very important aspect to the web these days, and I'd sweeten the pot for those who would use this service if I do end up creating it (I'm looking to create a few services for forum owners actually, this one included)... by allowing the site owner to choose the subdomain they wish to have their images served from, and thus creating, utilizing and issuing (yes, giving you the actual cert to utilize on your site however you want) a wildcard SSL certificate (signed by GlobalSign's AlphaSSL CA) for your domain for free. Will add a little bit more later when I get back. |
Quote:
Thanks .. :) Regards, Doug |
Ok, well this thread is for this mod..
Can anyone tell me why Tapatalk images do not import. I believe they used to but I am not sure. It could have to do with their https:// url change or ours but I really want those images on our server.. |
Why would the cron job for this task suddenly stop logging events?
|
Quote:
|
Quote:
|
Quote:
Quote:
|
Quote:
|
Quote:
|
I just checked and this does not appear to be working at all any more.. no changes to the settings or plug in but updated Vbulletin, changed php version..things like that. Vbulletin 4.2.4 beta 1..also changed site to https://
Cron tasks says done but nothing happens.. |
Just found this in my log:
Database error in vBulletin 4.2.5 Beta 1: Invalid SQL: INSERT INTO oasl_session SET userid='85961', session_token='JEOGPb3rGt1nfI7PfB2LXGTq8B6xJazzQGD v', date_created='1488993068'; MySQL Error : Duplicate entry '85961' for key 'userid' Error Number : 1062 Request Date : Wednesday, March 8th 2017 @ 12:11:07 PM Error Date : Wednesday, March 8th 2017 @ 12:11:08 PM Script : http://############## Referrer : http://####### IP Address : 173.245.50.139 Username : ####### Classname : vB_Database_MySQLi MySQL Version : Server : ######## It is supposed to be https://// also not sure about the duplicate session.. |
@RichieBoy67: That's essentially what is / was happening for me.
I recently updated to vBulletin 4.2.4 but I was getting all that with 4.2.3 PL2. |
Quote:
The plugin adds a field to post, called iei_parsed. If you issue the query: Code:
SELECT postid As for the concerns with https and SSL (I've been looking into it now), requesting data from such sites requires you to use CURL. You can choose the mode from the options. CURL is installed anyway since required by 4.x vBulletin versions. Marking a post "OK" can be done this way: Code:
UPDATE post SET |
Quote:
|
Quote:
https://vborg.vbsupport.ru/showpost....&postcount=743 |
Quote:
Running the first query shows 242442 as the last post ID. Manually running the cron job leaves that number unchanged. Running the second query yields Code:
Affected Rows: 0 (0.0015s) Does that mean the add-on has stopped working? Note my statement above that I recently updated to 4.2.4 but the issues were happening prior to that update. |
1 Attachment(s)
Quote:
##I get an id now after running a table repair. :) I will run the other one .. |
I think it's working now because I do see the id moving after I run the 1st query. I do not see any new images yet in my import folder but I assume that just means it has not found any to import yet?
Thanks for your help! |
Still not working for me. I did a repair and optimize on the database. No errors found.
|
Nope, not working.. looks like it went through the posts and is caught up with the last post but it has not imported any of the images..
|
@y2ksw I think I know the cause, I've made the following changes for someone and now it's working again:
In the cURL part in the iei_get_contents function, I made it so that any SSL errors are ignored (for HTTPS sites). This can be done by setting CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER to 0. I also added a check there so that it returns false when the status code is bigger than 400. Finally, the iei_normalize_path function adds a slash in front of the path which does not seem to work on all servers. I removed the first slash in the path that's created by that function and that fixed the whole thing. |
Quote:
Interesting Dave .... thanks .. :) We import pics from all kinds of SSL sites and have so for years with this mod, but I don't recall us ever having to modify CURL options to do so.. and y2ksw's mod hasn't crashed, or failed to import a pic in years. Are we missing something, or are we just lucky? Regards, Doug |
Quote:
|
Hello guys will this work on Version 4.2.5 or would you guys recommend something else for that 4.2.5? Thanks!!!
|
Quote:
|
Works in 4.2.5 PHP 7.1 for me.
|
Quote:
(** The modifications relate to the information stored, I like to save the postid and a timestamp). |
Awesome, thank you so much. I remember I stop doing the Vbulletin because it was a pain in the ass to keep up with all the version updates on the modules. You guys are pretty awesome to have around for the community and thanks!
|
Hi folks,
Some members pointed me to this thread, great mod! Now that Photobucket has stopped 3rd party hosting, years of threads on my forum now have the below redirected image. Has anyone tried this mod since PB have done this? Any luck? I'm concerned it will try and pull all of the PB photos but will pull the redirected image code instead or just blanks, any ideas/help greatly appreciated! https://vborg.vbsupport.ru/ |
Quote:
|
All times are GMT. The time now is 12:47 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|