![]() |
Quote:
Before I step to say it's a bug, let us see what actually happens. How do you count the occurrences of a single image? If the replacement image is empty and you have a replacement enabled, probably you will end up with a home URL only. I haven't tried that yet :) |
1 Attachment(s)
Quote:
Here is the result for the first few rows of the query. Note the url references are all public and do not need to be obscured. |
Quote:
I found the post, but what I found may be indicating a bug. My instance of where it hung: Quote:
Please note the poster put an added space in the IMG open and close tag to keep it from parsing, in their example of instruction. It appears that this mod still looks at the text "[img ]" as "[img]" instead and attempts to do a replacement on this even though it is not an actual IMG tag to be replaced. edit to add: I cleared this problem, and it immediatly hung on the next instance of where "[img] was used in a post as text, but without the closing tag. Again, another instance of a poster giving instruction. |
To better understand what might be going on, I have been reading the iei_cron.php file.
My php reading ability is not really up to production level, but I can sort of make things out. I noticed that you were using php image functions and we have ImageMagick installed on our site and selected in the vBulletin options. I was wondering if that might create a context that had not really been tested with this mod. Another source of stress may be that we have been adding content to the site since 2001 and have leftover fragments from ubb, infopop and bbv2 implementations. We moved to vBulletin with 3.5 in 2008 and imported all the content we could. There are lots of old broken references to previous servers in our posts. |
y2ksw I was just wondering if you had a chance to checkout my last post above to see if it is a bug or something.
I know you may be busy and I can wait. Just was wondering. tnx |
Quote:
|
I don't think there is a security issue in showing my config.
Quote:
Quote:
|
I don'r see a problem with it, everything is in place.
|
Yes just verified the 10 instances on my board that the mod cant recognise the difference between valid and invalid image tags in posts.
invalid meaning - [img] or [ img] used in conversation inside the post that is either not with a closing tag, or is standalone or has a space added inside the tag to keep it from parsing. I am editing the instances where they occur on my board just to make it work. |
Quote:
|
Not sure if this was asked before, but will this work for 3.8.7? If not, do you have one developed similar to this for 3.8.7?
|
Quote:
It was actually in the description :) |
Ha ha, oops. Thanks Giovanni!
That hack isn't really the same as this one is it? This one here takes the image and stores it in the file system. The other hack you linked just caches it right? |
Quote:
|
Wow; clever idea! I wonder if it's possible to do that with files that aren't images? PDFs, .docs, zips, etc? One thing my forum has is a lot of old dead links to files that aren't there any more.
|
Quote:
|
can we change the name of images directory my images import in import directory now can i change directory name import to anyone
|
Quote:
|
if I change my domain name what I must do?
I like this mod mark as installed |
Quote:
Code:
UPDATE post SET pagetext=REPLACE(pagetext, '1st.com', '2nd.com') |
How this system work? when will be images imported? I imported product nothing happened current images
|
It'll take some time to see what happens, because it will handle a number of posts each time the cronjob runs.
|
We upgraded our hardware and system software and moved to 4.2.2. Since then this has stopped working.
The symptom is that the inserted image gets replaced as iei runs, but instead of the reference to the imported image we get a reference to the web root. It has taken some time for the users to notice and complain and then it took me a while to see what they were complaining about. The iei_img table has about 9,000 references that are mapped to web root. Perhaps that is the placeholder while they are being processed. We also have another 45 images that map to 2014/01/1.jpg and there is not 2014 folder in the imported images. I would appreciate any insight into why the 2014 images are not coming in. Did something happen as of the first of the year? |
Another possible problem is that many sites are now watermarking their images with PHP and GD dynamically and posting a URL like http://www.fhwatch.com/watermark.php?image=iPW10779a07.jpg. Will iei handle that kind of reference?
The output stream is a valid image as long as the mime type is recognized. http://www.fhwatch.com/watermark.php...PW10779a07.jpg |
The links should work. Does iei create new folders on your server?
|
There are folders going back to 2001 and lots of images. It stopped creating folders for January 2014. There are 65 diffferent references in iei_img to 2014/01/1.jpg so they cannot all be references to the same image. How can I find out where they were harvested from? Can I rely on them being in date order among the posts? I can search for the 2014/01/1.jpg reference and maybe they are in the same orderr as the iei_img table entries.
It is a new server, I am guessing that the cron job runs as vb itself and there might be permission issues on the parent folder /image/imports. |
If it stopped creating folders in 2014 something has changed. I would suspect that the access rights of the web service can't create folders any more. Since holidays are always the moment where incisive changes take place, maybe your hosting provider has changed something in this area. Or maybe an FTP file permission slipped unintentionally through your hands :)
Normally, the folder containing the years subfolders should have chmod 755 or 777, depending on the server settings. If it has become for some reason 644 or similar, the directories are seen, but can't change or extend. |
All of the folders have 755 setting. We own the system at a colocation center. They do not maintain the software. We are running WHM/CPanel on Centos.
I think I am missing something about the philosophy of missing images. If the cron job cannot import an image, what does it put in the iei_img table? It appears to check for an existing file and then increment the name. The other thing I noticed is that we are getting image urls of the form http://mysite.net/watermark.php?file_identifier.php. Can your code fetch a file of that kind? |
What it puts in place of missing images depends on the settings in the options. It may replace the image with a local image (e.g. clear.gif), or keep the link as-is (ignore).
It does check for the name and increments if already present in order to create a new set of images each month. All links are imported. How they translate to your system however depend on the settings, and probably the *.php images have to be converted. If you decide to keep *.php "images", you will have to add a .htaccess rule for excluding php code execution for the imported files. On my systems I have the file conversion always on (converto to JPG), because it also removes eventually present WORM's or other "crafted" images. Conversion will loose animations and transparency, but this is of much less concern. Crafted images may contain arbitrary runnable code on the client side. |
I will presume that we/I can figure out how to get images to actually upload to our server and actually fix the current problem. It may be related to problems with the image library since we have both GD and ImageMagick installed. It may have something to do with Curl since we also have PHP Soap installed.
If I delete the current repetitive local urls from iei_img and put the original url back in the posts in the order of the posts, and then set iei_parsed back to 0, will the cron job reprocess them? I would ensure that the cron job can actually process the images and create the local files on my system first. |
By setting iei_parsed to 0 the cronjob will reprocess the records.
|
Hello
Thank you for this products i like it . regarding resizing it is default 0 , what is it Cm or PX or what exactly so i can use it in correct way thank you |
Quote:
|
What I hate about this mod is that you cannot hotlink images.
My server people have tried (thru cPanel) and it appears it's because of this mod. Does anyone have any comments on this? Thanks! EDIT: FYI - I have vBSEO installed |
Quote:
|
Quote:
Is that supposed to represent an answer to my question? I realize what this mod does. I use it and have for quite some time now. So, it's YES you cannot hotlink images if you use this mod. |
Quote:
Have you tried editing an individual post and creating the image link there? |
Quote:
|
I understand what a hotlink is but why do you want to import the images that are served on another server and then hot link them? it sort of defeats the whole purpose of this mod unless you mean something different then what I understand hotlinking to be.
|
1 Attachment(s)
Quote:
Someone links to a pic on my site to display it on their site. Instead of the pic they linked to they get this (see screenshot) |
All times are GMT. The time now is 11:45 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:
|