![]() |
I'm not using this mod on my 4.2.0 site but honestly being familiar with the code I can't see any reason this shouldn't work in 4.2.0.
|
Quote:
Quote:
There are currently no plans to upgrade. |
Just tried it again with 1.0.4. The cron job still doesn't seem to want to run on it's own but when I run it manually it now completes. However, it's not even creating the sub-directories in Images/Imported and obviously it's not touching any of the images at all.
permissions on the folders have been set to both 755 and 777. It simply doesn't seem to want to work on 4.2.0. PL2. I've wasted enough time on it so I've uninstalled it and will come back to it after others have tried and confirmed it works on 4.2.0 PL2. |
Hmm, just working on this and can't see it doing anything. Using 1.0.5 on vb4.2.0 PL2
# ls -l /var/www/forum/images/ drwxrwxrwx 2 nginx nginx 4096 Jul 26 11:46 imported # ls -l /var/www/forum/includes/cron/ -rwxrwxrwx 1 nginx nginx 16607 Jul 26 11:43 iei_cron.php Nothing getting created in the imported folder. I have set it so it only includes forum ID 121 in the options and left the exclude empty. |
Actually it IS doing something.
I query the iei_img table I see it has the newurl and old url, but it isn't fetching the image. If I try the newurl I get a 404. phpinfo: Code:
cURL support enabled |
All sorted forget I was even here.
I think it all came down to it running the scheduled task before the permissions were correct. Then it wouldn't refetch the image. After I got a new post with new image up it worked fine. |
1 Attachment(s)
Donated PayPal to author and been using this terrific mod for a year or so now and it's great !!!
Running 4.1.3pl5 ... We've come across something weird with it I can't figure out. A member referenced 5 JPG pics (all under 100k in size) using IMG bbcode and pointing to PhotoBucket. y2ksw's excellent import mod executed it's scheduled task and imported 3 of them just fine ... FR8002 imported as FR8002-1 FR8003 imported as FR8003-1 FR8004 imported as FR8004-1 It refused to import 2 of them titled: FR-8001 FR-8005 With the first 3, a typical edit post showed links like this, as they are stored on our own server: http://www.xxxx.com/images/imported/2012/07/FR8002-1.jpg http://www.xxxx.com/images/imported/2012/07/FR8003-1.jpg http://www.xxxx.com/images/imported/2012/07/FR8004-1.jpg The same edited post shows links to where the two that didn't post as: http://www.xxxx.com/ (Note: no reference to a pic at all) There's nothing abnormal about the two pics that this mod fails to process, except they have a "-" dash character as the second character of the filename. In order to get the pics to show for our member, I had to manually upload for the two of them from PhotoBucket into the imported directory and they display properly in vBulletin doing that. However, all testing I've done with test posts, consistently causes the import mod to fail on these two pics. Anyone have any idea what's happening? :confused: Is it possible that the "-" in the filename is causing a problem with this mod? Thanks for any feedback ... :) Regards, Doug |
Just tested this on my vB 4.2.0 PL2 suite. It's a no-go for all 3 versions.
The cron job never runs. It says it does complete. No scheduled task is run for Import Export Images. Directories have correct permissions. nothing imported, no scheduled task in the log even if ran manually and it says DONE like it performed its task successfully |
Quote:
|
Quote:
The product is designed to work with most configurations without blocking the board. If nothing happens, please re-check the permissions. Most of the times the problems are permission problems (even though everything seemed ok), but we have had also memory related problems with huge images ... but then it wouldn't arrive at Done ;) As told so many times before, if Apache (or any other server) can't access the folders for rwx it may however be able to create, nothing will happen. On a Linux environment, Apache should run as www-data (33:33) and jail PHP into a web space. FTP should then have the same access rights as Apache (33:33) and then magically all server problems disappear. Whenever you have a situation where FTP has different rights than the web server, and the web server rights are not enough, and the rights propagation is not working properly, then nothing will work very well and this plugin fails. Specially in a SAFE_MODE on situation (deprecated for PHP 6+ I believe, thus really should not exist any more on PHP 5.x setups). |
Quote:
Depending on the remote server, "-" may have all sorts of problems at their end, last not least an invalid image, which simply will never import because not conforming to the image standards. If it was for example a spoofed image (image is a script), it will not contain some tags in order to identify it self and thus will fail to load. It is a sort of inbuilt antivirus. |
One of the things I did to help a bit of debugging was to query the database directly to see if things were happening as they should.
Here's a few pointers that might help. Tweak them as you see fit like is the iei_parsed set or not. Based on the queries in the actual code. Code:
select * from iei_img; Code:
SELECT t.threadid, postid, p.dateline FROM post p INNER JOIN thread t ON p.threadid = t.threadid WHERE iei_parsed=1 and pagetext LIKE '%[/IMG]%' order by postid limit 0,100; |
Really, really liking this addon.
We have a forum that has been around 10 years. In that time people move on and some have now removed or edited photobucket and flickr accounts causing a few 404's for some images that were very useful. This addon stops that from happening. Very pleased with it. Rated accordingly. |
Actually, just thought of something that would make this a killer app for us.
If as an admin there was a button on a post/thread that initiated an immediate backup or added it as a priority to the schedule. That way when I find a thread that I really need to be sure I have copies of I just click and it gets copied. |
Quote:
|
For version 3.8.x will be supported? image cache is old and useless.
|
Quote:
No rush on it as I'm still doing a happy dance as it's backing stuff up for me :) |
Hello,
I'd like the images in forum posts to be uploaded to the server when they are promoted to CMS articles. Is there any way to mod this to do that? I don't want all forum post images uploaded, just the images in the CMS articles. Thanks! |
Quote:
|
Hello,
Thanks for a great mod. How do I add more tags into this mod ? Right now we can only use [img] tag. I do have : [FLOAT=left] and [/FLOAT] [FLOAT=right] and [/FLOAT] on my forum to align images to the left or to the right of the post. This is very IMPORTANT What should I do to install the images BB Code ? |
Quote:
Code:
UPDATE post SET pagetext=REPLACE(pagetext, '[FLOAT=left]', '[IMG]') To enable IMG you will have to change your vbulletin options at several places: show all options and search for IMG ;) |
Quote:
I'd love to be able to have this run, and automatically parse/convert all imagevenue.com and imgbox.com and etc BBCodes to default vbulletin ... or import them as attachments with thumbnails and full size images automatically. Is there anything for vbulletin (if not your plugin/modification maybe another one?) that can maybe do this? Thanks |
Quote:
There is no inbuilt feature and software solutions would be far over the top of this, maybe any product :) |
Quote:
is there anyway to have this plugin import the images... but just have it to filesystem automatically? I didn't want to put all that load into database in first place. the disk space i need not worry about, its the database size that's issue. and now it's STILL 78MB.. >_<. and on top of it, alot of August's threads are image-less... :( also... when viewing threads in advanced edit.. its like Code:
[U R L="http://img156.imagevenue.com/img.php?image=79993_12708391_122_34lo.jpg"][I M G]http://footish.xxx/attachments/2012/08/376.jpg[/I MG ][/U RL ] |
This plugin doesn't add size to your database. It imports external images to the local file system. But I understood you would like to keep the images elsewhere and for this reason there is the article about curlftpfs.
Only img tags are imported unless you add other tags (and you understand what the option does). There is no such thing as capturing wrapping images, too. |
I am confused. I can run it just fine, but it gives me this when I try to enable the cron job.
Quote:
It just will not enable the cron job for me. |
Looks like the product is disabled ;)
|
LOL - so it is..... Doh!
Thanks for the hint! I feel retarded now! :) |
welcome back from holidays! :)
|
tnk u, but this mod for my forum not work : link
|
Quote:
If your server does not allow to connect to and read external resources, it will not be able to import any image. |
Excellent mod!
I have one question: do you think it is possible to create folders for days, too? Quote:
|
Quote:
|
Hi
Just a quick question, I have a from member that uses photobucket. And for some reason she has an extra [img] before and after her images, will this stop your hack from working? Dave |
Quote:
|
You have plans to update this mod for vBulletin5?
|
Quote:
|
Quote:
Dave |
Is there something I could use with this mod to watermark my images? Does anyone else use something to watermark the images, and willing to share?
Thanks in advance! |
@y2ksw: Can you add the postid in the table iei_img? This makes it easier to find wrong urls in the post.
|
All times are GMT. The time now is 02:34 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:
|