![]() |
|
Mod Options |
![]() |
|||||||||
![]() This vBulletin 4 product imports external images in your posts from external servers or paths into a specific path, normally your forum's image folder.
Differently than the previous product Image Cache for vBulletin 3.x., it parses the posts at regular intervals for new images and replaces the external references in the background. Also, instead of using only a single folder, it creates folders for years and months, making it much easier to handle large quantities of images. The source and destination image URL's are stored into database, too, avoiding unnecessary duplicates. It moves and optionally converts images from one place to another. It is a handy tool in order to keep your images local to your forums. Version 1.0.4 is temporarily in BETA stage until the users have confirmed the newly requested features. Version 1.0.5 is still in BETA stage. It adds a new bunch of additional features, one of which allows you to test your mathematical understanding ![]() Download Now Only licensed members can download files, Click Here for more information. Supporters / CoAuthors Screenshots Show Your Support
The following members like this post: john7911, The_Hawk, Delfi_r, Techno Cowboy, hivitro and 15 others.
|
#826
|
||||
|
||||
Originally Posted by Hostboard
Then you made a typing error. "syntax error, unexpected ';', expecting ']'" is not a php7 error or so. And you ar sure line 334? the qoted lines are in 324. Your quoted code can't be your inserted code.![]()
But of course you can use the other version or from y2ksw (but the if conditions there is wrong I think) No members have liked this post.
|
#827
|
||||
|
||||
$image_tags = array('img');
As far as I know, implicit arrays are not allowed for a long time by now, but explicit arrays like above, must work.
__________________
Giovanni No members have liked this post.
|
#828
|
||||
|
||||
Is there anyway to get this to support a URL such as:
If I try it comes back as invalid as I suspect it is looking for an image extension such as .jpg, .png, etc.
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5 PHP 7.4.x :: MariaDB 10.5.x :: UTF8MB4 & InnoDB Tables No members have liked this post.
Last edited by Hostboard; 24 Apr 2020 at 12:27. |
#829
|
||||
|
||||
I was going to suggest you strip off everything after the .jpg extension so it would just be this:
but that URL gives an error: Bad URL timestamp Maybe because it's a CDN, possibly a private CDN?
__________________
Psychlinks Web Services Affordable Website Design & Management WordPress, vBulletin, Xenforo Customization & Management No members have liked this post.
|
#830
|
||||
|
||||
Originally Posted by djbaxter
Not sure, but it should be able to pull down the image or at least I was hoping it would...
![]()
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5 PHP 7.4.x :: MariaDB 10.5.x :: UTF8MB4 & InnoDB Tables No members have liked this post.
|
#831
|
|||
|
|||
Not if the server is misconfigured or the link isn't accessible to the public.
__________________
Psychlinks Web Services Affordable Website Design & Management WordPress, vBulletin, Xenforo Customization & Management No members have liked this post.
|
#832
|
||||
|
||||
I can enter the entire URL and the image is displayed from multiple locations. But as you pointed out it is more than likely with the code after the named image.
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5 PHP 7.4.x :: MariaDB 10.5.x :: UTF8MB4 & InnoDB Tables No members have liked this post.
|
#833
|
|||
|
|||
Ah yes. So it does.
I know that some online news services use similar formats to discourage or prevent image scraping. You may need to just accept that such images won't be imported. Alternatively, you can download the image from your browser and upload it from your local disk as an embedded attachment.
__________________
Psychlinks Web Services Affordable Website Design & Management WordPress, vBulletin, Xenforo Customization & Management No members have liked this post.
|
#834
|
||||
|
||||
Originally Posted by djbaxter
Because of what my site is/does, it is not something that I can do. I am just trying to supply the tools. I'll probably just have to have a developer look at it and see if it can be coded to accept URLs of this nature. Thanx for the replies ![]()
![]()
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5 PHP 7.4.x :: MariaDB 10.5.x :: UTF8MB4 & InnoDB Tables No members have liked this post.
|
#835
|
||||
|
||||
Originally Posted by Hostboard
These URL's normally don't work, because they are usually a sub-set of a larger service.![]()
It would eventually work, if the part after, including ? is removed. However it looks like a temporary link anyway.
__________________
Giovanni No members have liked this post.
|
#836
|
|||
|
|||
Hello Giovanni..
Hope you have been well. It's been a long time and I'm not sure that you are still active here. I've been using your Beta 1.0.6 for several years with vBulletin 4.1.3pl1 and it’s been work great! I’ve had to update to bulletin 4.25 now and I’m not sure what’s gone wrong, but the attachment files read by 1.0.6 into directory /images/imported are now showing with only a “?” where the picture should be? When I check the link for any pic, it’s showing as an example. /attachment.php?attachmentid=121951&d=1639421597 …. when it should be linking to a pic captured by your mod and stored within /images/imported? I have the directory in your "Vb Import External Images" options page set to /images/imported. I’m not sure what else I need to do to get into work with vBulletin 4.2.5 as it always has with 4.13pl1? Can you help at all? Thank you… Regards, Doug No members have liked this post.
|
#837
|
||||
|
||||
Originally Posted by BadgerDog
Hello Doug![]()
In fact I have more or less moved away from web and forums, but I try to keep up - you never know. I'm not sure what might have happened, but I guess, something at the server side has changed ... or the page encoding, style, PHP version, fopen permissions ... or the script was copied incomplete or was modified, or the database has a different encoding. Have you tried to change the setting and and change it again, in order to store it as a "new" setting?
__________________
Giovanni No members have liked this post.
|
#838
|
|||
|
|||
Seeking a wee bit of advice of this mod. I'm in the process of rebuilding a vbforum from an old website that is now defunct. The old website ran this mod as an addon and it proved very useful. However, the restored database that I'm preping is currently running on a local machine on my home network so the URLs have all changed from FQDN to an IP address.
I've found a table in the database called IEI_IMG and it seems to me that all I need to do here is do a search and replace on the NewURL field and replace the sitename.com with IP address of the local machine on which it is running. Can anyone confirm that this is all I need to do to point the URL's for all the imported images to a new path on my local machine? Or will I have to single-step through every thread and replace every single URL?
__________________
My Wife married Mr Right, she simply failed to appreciate that my first name is always! No members have liked this post.
|
#839
|
||||
|
||||
Originally Posted by Old-Git
I suggest to add your domain to the hosts file and access your local site as if it was remote.
![]()
__________________
Giovanni No members have liked this post.
|
#840
|
|||
|
|||
Thanks for your reply Giovanni, I got it sorted in the end by doing a string replace in the database. The IEI_IMG table was just a simple record of what had been imported and from where, this was invaluable in helping me rebuild missing content so good call in including it in the package!
Is there any chance that this mod can be ported to VB5x, it's absolutely invaluable on my site!
__________________
My Wife married Mr Right, she simply failed to appreciate that my first name is always! No members have liked this post.
|
![]() |
Tags |
lisansdevir |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 04:29.