Jump to content


- - - - -

[AH23|TASK] Download Remote Images


  • Please log in to reply
11 replies to this topic

#1 AH Modding

AH Modding

    IP.Board Modder

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 850 posts
  • Location:Bristol, United Kingdom
  • Real Name:Alex
  • IPB Version:v2.3.x

Posted 19 August 2007 - 03:45 PM

File Name: [AH23|TASK] Download Remote Images
File Submitter: AH Modding
File Submitted: 19 Aug 2007
File Updated: 20 Aug 2007
File Category: IP.Board v2.3.x Mods

[AH23] Download Remote Images was designed to preserve content on websites, it was a request by a user. It scans posts once a day to see if there are external images in posts, if so, it will download them to a remote folder and update the posts!

We have designed this around large forums, it will only do 100 posts max a day, and it caches the last post ID's number so it knows where to resume the following day!

/*
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| LEGAL INFORMATION
| =============================================
| AH Modding, and its respective coders, cannot
| be hold responsible for any breaches of copyright
| laws performed by this task.
|
| If the image has respective copyright laws, it is
| the webmasters duty and responsibility to remove the
| copyrighted images from their servers.
|
| The images downloaded to disk by this modification are
| NOT the original copy, they are a cache! It is a copy of
| the original image, and the copyright laws are still held
| to the respective authors, and not the forums using this
| modification.
|
| Any issues with specefic images CANNOT and WILL NOT be held
| against AH Modding, or any of its coders, all alligations
| should be taken up with the appropiate webmasters of the
| respective website
|
| AH Modding cannot be held liable in any shape or form.
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/

Click here to download this file

#2 Cameron07

Cameron07

    Member

  • Banned
  • PipPipPip
  • 42 posts
  • Real Name:Tommy
  • IPB Version:N/A
Contributor

Posted 19 August 2007 - 04:29 PM

Oh ok, so this is like a bandwidth stealer checker?
Posted Image

#3 AH Modding

AH Modding

    IP.Board Modder

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 850 posts
  • Location:Bristol, United Kingdom
  • Real Name:Alex
  • IPB Version:v2.3.x

Posted 19 August 2007 - 04:42 PM

It just stores images on your own server, as some people prefer the content on their own site.

#4 CMANNS

CMANNS

    Coder

  • Banned
  • PipPipPipPipPip
  • 157 posts
  • Real Name:Chris
  • IPB Version:v2.3.x

Posted 22 August 2007 - 07:39 AM

Very nice, any possible way you could make it add the image as a attachment in the same placing as the img tag image so it will be thumbnailed and save bandwidth & keep the pages looking good? The javasvript image resizing is OK I'd prefer it to be assigned to the post though.
IPB Server setup god, have a very busy board? Give me a pm ;-)

#5 Cool Surfer

Cool Surfer

    Not Guilty!!

  • Members
  • PipPipPipPipPipPip
  • 331 posts
  • Location:India
  • Real Name:Cool Surfer
  • IPB Version:v3.0.x
Contributor

Posted 05 December 2007 - 05:01 PM

What is th epath where files are stored?
Affordable hosting at www.xpindia.com
Server Alert Reseller XpIndia.Com Forum
Be Kind And Courteous To People On Your Way Up for You Might meet Them On Your Way down...

#6 AH Modding

AH Modding

    IP.Board Modder

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 850 posts
  • Location:Bristol, United Kingdom
  • Real Name:Alex
  • IPB Version:v2.3.x

Posted 05 December 2007 - 05:05 PM

/uploads/remoteimages ;)

#7 dido22

dido22

    Novice

  • Banned
  • PipPip
  • 8 posts
  • Real Name:Dido
  • IPB Version:v2.2.x

Posted 12 March 2008 - 02:43 PM

Is this work on IPB 2.2.x?

#8 tonyric

tonyric

    n00b

  • Members
  • Pip
  • 3 posts
  • Real Name:Tony
  • IPB Version:N/A

Posted 07 October 2008 - 09:30 PM

For some reason this is not running on 2.3.4 but worked on earlier versions of 2.3.x

#9 Doc

Doc

    Advanced Member

  • Members
  • PipPipPipPip
  • 73 posts
  • Real Name:Viktor
  • IPB Version:v2.3.x

Posted 29 October 2008 - 10:40 AM

http://forums.invisi...h...128409&st=0

#10 AH Modding

AH Modding

    IP.Board Modder

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 850 posts
  • Location:Bristol, United Kingdom
  • Real Name:Alex
  • IPB Version:v2.3.x

Posted 29 October 2008 - 05:49 PM

More specifically: http://ahmodding.co....emoteimages.php

#11 Doc

Doc

    Advanced Member

  • Members
  • PipPipPipPip
  • 73 posts
  • Real Name:Viktor
  • IPB Version:v2.3.x

Posted 18 November 2008 - 08:01 AM

Beside I ceased to work
Worked with patch on PHP4.4.9 well
Pereshel on PHP5.2.6 and he ceased to work

Help his(its) correct

#12 Doc

Doc

    Advanced Member

  • Members
  • PipPipPipPip
  • 73 posts
  • Real Name:Viktor
  • IPB Version:v2.3.x

Posted 31 July 2010 - 06:39 PM

View PostAH Modding, on Aug 30 2007, 06:03 PM, said:

fwrite() fopen() and file_get_contents() are all in PHP 4 ;) It should work fine.
But as possible his(its) force to work at PHP 5 ?
Can who will help?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users