• [MOD] Multi Size Download of same image [ver 4.7] 5 0 5 1
Currently:  

Author Topic: [MOD] Multi Size Download of same image [ver 4.7]  (Read 433050 times)

0 Members and 1 Guest are viewing this topic.

Offline wallward

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #270 on: May 03, 2012, 09:17:52 PM »
Hi,
very wonderful
I try to this change but after  modify files my site not work
please uploade modify file for 1.7.10, please  :oops:
sorry 4 my bad english  :roll:

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #271 on: May 03, 2012, 11:15:38 PM »
Hi,
very wonderful
I try to this change but after  modify files my site not work
please uploade modify file for 1.7.10, please  :oops:
sorry 4 my bad english  :roll:


Welcome to the forums!

Depending on the mods you already have installed on your site, everyones files are a little different.
If you attach your changed files with the mod added to them, I will look them over and see if I see where you might have gone wrong.
Buddy Duke
www.budduke.com

Offline wallward

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #272 on: May 04, 2012, 12:14:59 AM »
many thanks budduke :)
Please check Attach file

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #273 on: May 04, 2012, 01:17:50 AM »
many thanks budduke :)
Please check Attach file

I saw a couple of mistakes in two of the files. The modifield files are attached...
Buddy Duke
www.budduke.com

Offline wallward

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #274 on: May 04, 2012, 01:24:56 AM »
thank you Man,
if it possible please see my details.html

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #275 on: May 04, 2012, 11:45:18 AM »
thank you Man,
if it possible please see my details.html

That file looks correct.
You do have to turn on the multi download option in the admin settings.
Look under the settings for your category, you will see where to turn it on/off
Buddy Duke
www.budduke.com

Offline wallward

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #276 on: May 04, 2012, 11:53:09 AM »
I know you are busy, And this request is not properly, but if possible please check my setting and see my site
http://wallward.net

i send admin password with pm to you

Offline wallward

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #277 on: May 19, 2012, 03:20:25 PM »
Hello again budduke
and many thank you for previous answer  :mrgreen:
I have another question,
when add new image to gallery, I resized image and save original image in big folder,
how to config this MOD to use original image from big folder when user request image with download button?

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #278 on: May 19, 2012, 05:35:26 PM »
Hello again budduke
and many thank you for previous answer  :mrgreen:
I have another question,
when add new image to gallery, I resized image and save original image in big folder,
how to config this MOD to use original image from big folder when user request image with download button?

It should do that automatically for you as long as it and the big mod was installed correctly.
Buddy Duke
www.budduke.com

Offline aliosa

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #279 on: May 28, 2012, 12:41:48 PM »
Hi

Now my images open in a new window, how do i set the path in order to jump directly to download ( by download i mean the option to select the download place)

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #280 on: May 28, 2012, 02:37:40 PM »
Hi

Now my images open in a new window, how do i set the path in order to jump directly to download ( by download i mean the option to select the download place)

Does the normal download button (without using this mod) also open in new window or does it ask where to download?
If it also opens in a new window then it is in the browser doing it.
If it asks for a download location, then look at the variable in this mod in the global.php file
$multi_download_var['target']="";
If that is set for "" then it should ask for the download location, if you have it set for "_blank", it will open in a new window.

If that is not how it is working then something is not placed correctly in one of your files. If you can zip your changed files and give me a link to it, I will take a look.
Buddy Duke
www.budduke.com

Offline Tiburon

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.hintergrundbilder.de
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #281 on: September 14, 2012, 10:52:10 AM »
First of all, thanks for developing this mod, really good work.

I tested it with the actual version 1.7.11 and there seems to be a problem with adding new categories.

Normally you have to search the following cod twice, when modifiying the admin/categories.php
$auth_postcomment $HTTP_POST_VARS['auth_postcomment'];

This code has changed in version 1.7.11 to:

 $auth_postcomment intval($HTTP_POST_VARS['auth_postcomment']);

// MOD Multi Download 
  
$multi_download = (isset($HTTP_POST_VARS['multi_download'])) ? intval($HTTP_POST_VARS['multi_download']) : 0
// END MOD Multi download


I inserted the Mod code above after those new versions (twice), but that doesnīt work. It is no longer possible to add a category.
Donīt know how, but it might be, that the Mod code at this point has to be changed a little bit.
When I replaced the new "admin/categories.php" with an older modified version, it worked again.



----------------------------------

Have a nice Day

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #282 on: September 14, 2012, 04:21:06 PM »
@Tiburon,
I have not installed this mod on 1.7.11 but looking it over it should still work. I may have time this weekend.
Can you PM me your admin/categories.php file with the mod placed so I can compare it with my copy?

Will let you know what I find,

UPDATE:
There was a missing closing bracket in the file that took care of the issue...
What Tiburon pointed out is correct, if you are using this on 1.7.11 look for the newer search item instead of the original
« Last Edit: September 15, 2012, 12:44:29 AM by budduke »
Buddy Duke
www.budduke.com

Offline Tiburon

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.hintergrundbilder.de
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #283 on: September 17, 2012, 05:49:55 PM »
Hi Budduke,

thank you for fixing this problem now. Creation and deleting of categories works fine now but it seems that there is another problem with the new version of 4images.

I tried to install the mod twice with a new installation of 4images 1.7.11 and everything seems to work but when I want to download an image it opens in a new window (like i want it to do) but then I get an broken image.
Donīt know if this might be caused by download.php or if I made a mistake.
----------------------------------

Have a nice Day

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #284 on: September 18, 2012, 06:44:46 PM »
Hi Budduke,

thank you for fixing this problem now. Creation and deleting of categories works fine now but it seems that there is another problem with the new version of 4images.

I tried to install the mod twice with a new installation of 4images 1.7.11 and everything seems to work but when I want to download an image it opens in a new window (like i want it to do) but then I get an broken image.
Donīt know if this might be caused by download.php or if I made a mistake.


I took a look at @tiburon's download.php file and saw the mistake. It is working now.
Buddy Duke
www.budduke.com