![]() |
Quote:
Quote:
/gallery/ If it is a subdomain or domain: gallery.domain.tld If it is ImageShack: imageshack. And don't forget to backup your post table this time ;) |
What's the point of this mod and can it reduce my First Byte Time in www.webpagetest.org?
|
Quote:
|
Quote:
|
Quote:
|
Yep it has changed.
So to be clear since I would like to use the mod. in the white list, if my site is root/forum and root/gallery all I need to do is add /gallery/ to the list. |
Perhaps I was reckless but I wanted image resizing, so I installed the 1.0.5 version on my test board.
I was not sure from the instructions whether the mod would create the /images/import directory or I would need to do that, so I ran it for a little while without manually creating the directory. The directory did not appear, so I then created the directory with 755 permissions. I then ran the mod for about an hour and checked the table iei_img to see what was going on. The table shows a number of images have been re-url'd with many going to year based subdirectories and many just being ignored because they were invalid. However, the /images/import/ directory remains empty. Here is a translated url from the table http://mb.nawcc.org/forum/images/imported/2006/11/1.jpg Are these entries just a "plan of work" and the code actually does the transfers as another background task? I have turned the mod off by disabling the cron job at the moment |
Quote:
Yes, you would add add /gallery/ to the list. This however may also exclude /gallery/ images from anywhere else ... so maybe it's a good idea to include the domain, too, e.g.: mydomain.com/gallery/ And please don't forget the backup! :) |
Quote:
If an image was imported previously, it just sets the new reference. |
Doesn't seem to be working for me - vB 4.1.5.
Either the cron task is not running (when running it manually, it completes in an instant), or the code is not working. Either way, none of the images are being downloaded, or the URL replaced. Any ideas? |
Probably the task is not running. If you turn logging on (edit the task) you should see at least a note.
If no images are downloaded, probably your server is locked against downloads or by disallowing fopen on URL's or by firewall. |
I turned on logging, made it manually run the task, and viewed the log - no entries.
Looks like the task is not running at all. What now? |
I'm running version 1.02, by the way.
Had the same when having had version 1.04 or 1.05 installed. |
Thanks for this :)
|
Quote:
Quote:
|
Nope, board is up and running. As far as I can tell, all other cron jobs are running just fine. Even checked in the cron folder to make sure the iei file has right permissions and ownership set.
It wasn't originally, but even after I changed it to reflect the other scripts' ownerships, it still doesn't work. Truly confusing. What's even more startling is that months ago when I first had it running, it appears to have been working (the import/images folder is created and has prior files in it). It just seems that the actual script simply doesn't want to run. Even deleting it and reinstalling it made no difference. Really odd. |
Okay, I was able to verify that the script *does* execute :
Introduced an error in the script - script sticks. There's an obvious execution difference. Remove the error, script seems to work. SO, we now know it executes the code, but the code does nothing. Also, it generates an error in the general error log file, to verify that the introduced error was registered, and that the code was being executed otherwise: [Tue Sep 06 22:22:59 2011] [error] [client 99.9.155.41] PHP Parse error: syntax error, unexpected T_STRING in /home/suaymac/public_html/includes/cron/iei_cron.php on line 24, referer: http://suaymac.com/suayadmincp/cronadmin.php?do=modify Okay, so now what? The script runs, but does nothing (or rather, not the intended behavior) - not quite sure what other places to look into. |
Update - updating to 1.05, and previously completely removing the older version, made it work. It performs as expected now. Yay!
Thanks for the help! |
One additional observation / request / question -- this script seems to work on the FORUM section, yet doesn't touch images in the CMS section. Is there some way to make it include those?
|
Ive noticed this is missing some photos. It seems images with this structure or at least from this site are not being imported.
Code:
http://www.hostingpics.net/viewer.php?id=335914DSC0001.jpg Any ideal why? |
Quote:
|
Quote:
|
Since it only displays the actual image on my site is there still a way to import it?
|
Quote:
|
Forgive my ignorance but how exactly would I do that? Is it a white-list setting or ???
|
Quote:
Quote:
Code:
UPDATE post SET pagetext=REPLACE(pagetext, 'http://www.hostingpics.net/viewer.php?id=', 'http://img11.hostingpics.net/pics/') Normally you would first run a script to see if all the images are coming from the same server and then apply a global query which solves links in bunches. |
Broker with images:
Code:
http://forumcom.detonaleech.com.br/files/John_Denver_-_Country_Roads-oN86d0CdgHQ_s.jpg |
Quote:
|
Quote:
when image is hosted and change the url address to my site i want to make the image itself can be clicked with url of the thread itself so if one copy the thread the images will be clicked to my forum thread |
Quote:
If, one day, you change your domain name, just reinstall the product and the images are reimported with the new domain name's URL (if the old domain is still accessible). |
Quote:
to be for example the image been like this: https://vborg.vbsupport.ru/ if you click the image it will be direct to the this thread and only should be this if the original has not link to another site that what i mean |
Quote:
|
I have all my pictures hosted on imageshack but tynipic or not the matter to my server
Sorry, was a technical failure, if I work |
ciao y2ksw ho un problema! ho messo la 1.0.5 va bene! ma da qualche giorno ho problemi che in alcuni topic mostra immagini che non centrano con il contrnuto.
cioè mi spiego esempio se un topic ho messo una locandina di un albom ramazzotti, c'è il problema che l'immagine cambia e diventa altro. non so se mi sono spiegato, a comunque non sono riuscito a capire sto problema. thanks! |
Quote:
|
4.1.8 ?
funciona |
Quote:
|
Installed this on a very old site and it turned every image link into a dead url.
I can post a good image link, run the cron and it is zapped. Because it edits the database it is irrecoverable. Use with caution. I'd love to hear if there is anyway to fully uninstall this, and reverse any changes it made it image urls, as at present, i have a forum full of dead images, 1000's of them. |
Quote:
forse e dico forse ? stato quando ho resettato il database ad un giorni prima per? i file erano gli stessi e non del giorno prima. pu? essere? scusa se non parlo in inglese ma cos? mi spiego meglio, ripondi pure in inglese te non c'? problema. |
Quote:
|
All times are GMT. The time now is 08:07 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|