Code Monkey
Well-known member
Nope you're right. Just tested it. Been so long I forgot.
Why is the attachment like this:
View attachment 61674
And it doesn't display in the post. If I go to the URL of it, I can see it :|
Eh I just needed to check the FLUSH FLAG box and it fixed it right upI can't think of any reason for that. What's the BB code of the post? Can you point me at a live example? URL of the original image?
Eh I just needed to check the FLUSH FLAG box and it fixed it right up
Now one more issue:
I have a bunch of old images from vBulletin, and they are on a different sub-domain then everything else (data, js, etc) but the addon won't pick them up.
What should I do?
example:
main domain: brogan.com
images: img.brogan.com
// now ignore URLs that contain the substring in the self::$metaMirror_ignore array
// this could theoretically skip files contining these names, so you could add the http://
// but probably best to have to top domain only
$do_ignore = false;
foreach(self::$metaMirror_ignore as $ignore_value)
{
if($original_url && $ignore_value && strpos($original_url, $ignore_value) !== false)
{
$do_ignore = true;
break;
}
}
if($original_url && $ignore_value && strpos($original_url, $ignore_value) !== false && strpos($original_url, 'img.brogan.com') == false )
One more issue: I was using camo-go to proxy my images for SSL, and when it grabbed them it attached em correctly, but the mime-type is all fudged up so the full-image doesn't display (thumbnail is fine)
https://xenogamers.org/attachments/5918/
Eh too much work. Also I did disable before I started the process (figured this might happened) but some users copied and pasted the proxied url around so I have to manually intervene. Also since I started the process around 8am, I would lose 12 hours of content (I'm dumb ) so not an option, but I've only noticed 3 affected images, so I doubt it's that big of an issue.I'm not sure what might be going on there. I'd suggest restoring from backup, removing Camo, and re-running.
This looks cool, I've tested and works good. I've turned it on with 50 posts per step but it will take some time since my forum has arond 450,000 posts (of course not all have images). How can I check that it's finished and converted everything there was to convert?
Alright everything is working, got the corruption thing sorted out. One more issue though.
It doesn't seem to be converting the images and I'm confused as to why not. I run the cronjob, nothing happens, but if I use the tester with default settings, it detects the image and rightfully shows me what it will do (and does it successfully, might I add) so why wouldn't it be working on it's own at this point?
Thank you very much! It would be nice! May be you give the choice for user(admin) which extensions would be rehosted (List the file extensions that are allowed to be rehosted. Use spaces or line break between extensions).No immediate plans to do this, but I might get round to it eventually. It would be useful for the large number of PDF files that get linked.
Once it finishes, what's the best way to keep things hosted locally moving forward? Seems overkill to keep this running every five minutes after the initial conversion?
This add-on is brilliant. Great job!
We use essential cookies to make this site work, and optional cookies to enhance your experience.