4images Forum & Community
The forum for all 4images gallery administrators
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
4images code on GitHub
Click here
to visit GitHub.
Home
Help
Search
Login
Register
4images Forum & Community
»
4images Issues / Ausgaben
»
Installation, Update & Configuration
(Moderator:
Acidgod
) »
Download from different IP/server - downloadpath?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Download from different IP/server - downloadpath? (Read 12769 times)
0 Members and 1 Guest are viewing this topic.
edwin
Full Member
Posts: 199
Download from different IP/server - downloadpath?
«
on:
March 07, 2007, 12:21:42 PM »
Hi, i've searched the forum but none of the items i found helped me, but mayby somebody else has the solutions
My website at
http://www.foto-janssen.nl
, registrated users can login to my site and search an image and if the want to download this image they push the download button, the big image is the downloaded from the same server as where the program is installed.
Now i want to change the downloadpath to my privat IP adres (213.84.***.**)
I tryed it in functions.php and changed the $download_button to this $download_button = "<a href=\"213.84.***.***/{media_src}\" target=\"blank\"><img src=\"".get_gallery_image("download.gif")."\" border=\"0\" alt=\"\" /></a>";
This gives this result as path
http://www.foto-janssen.nl/images/213.84
.***.***/
Where can i change the code to remove the part wich says
http://www.foto-janssen.nl/images/
regards edwin
«
Last Edit: March 07, 2007, 06:55:21 PM by edwin
»
Logged
CeJay
Sr. Member
Posts: 425
Re: Download from different IP/server - downloadpath?
«
Reply #1 on:
March 07, 2007, 09:43:59 PM »
look here and see if this is what you wanted:
http://www.4homepages.de/forum/index.php?topic=7499.msg33712#msg33712
Logged
edwin
Full Member
Posts: 199
Re: Download from different IP/server - downloadpath?
«
Reply #2 on:
March 08, 2007, 07:18:01 PM »
wow, that's a lot of changed to be made, i hoped that it would a little bit easier than what i see there
I'm a completed nobody with PHP
Hopefully Jan, mawenzi or some of the other whisskids can help me
Logged
CeJay
Sr. Member
Posts: 425
Re: Download from different IP/server - downloadpath?
«
Reply #3 on:
March 08, 2007, 07:19:09 PM »
pretty sure it dont get any easier then that
Logged
edwin
Full Member
Posts: 199
Re: Download from different IP/server - downloadpath?
«
Reply #4 on:
March 08, 2007, 07:21:30 PM »
okay, then i have to try it, i hope that i can give you a mail if i have a question
edwin
Logged
CeJay
Sr. Member
Posts: 425
Re: Download from different IP/server - downloadpath?
«
Reply #5 on:
March 08, 2007, 07:23:14 PM »
if you have any questions post them in that thread, usually someone that has done that mod would respond.
Logged
edwin
Full Member
Posts: 199
Re: Download from different IP/server - downloadpath?
«
Reply #6 on:
March 08, 2007, 07:27:58 PM »
thanks, if sombody other has an idea or an suggestion i'll hope they post it here, any help is welcome
Logged
CeJay
Sr. Member
Posts: 425
Re: Download from different IP/server - downloadpath?
«
Reply #7 on:
March 08, 2007, 07:33:44 PM »
only other thing I can think off, would be to edit each image in the admin section and specify a download path
that would be even more work then the other since you have to modify 1 image at a time
Logged
edwin
Full Member
Posts: 199
Re: Download from different IP/server - downloadpath?
«
Reply #8 on:
March 08, 2007, 07:43:34 PM »
i understand, i will give it a try
thanks
Logged
sonermx
Pre-Newbie
Posts: 3
Re: Download from different IP/server - downloadpath?
«
Reply #9 on:
March 20, 2007, 02:50:46 AM »
thanks
Logged
www.beyintr.com
www.hostsafran.com
www.akatder.org
www.hostsafran.com
www.notdefteri.info
www.bilgiligenc.info
www.turkfanclup.com
www.hekimturk.com
www.eskipazar.org
www.mezunlarforumu.com
www.personelsaglik.net
www.personelsaglik.net
Print
Pages: [
1
]
« previous
next »
4images Forum & Community
»
4images Issues / Ausgaben
»
Installation, Update & Configuration
(Moderator:
Acidgod
) »
Download from different IP/server - downloadpath?