Author Topic: [MOD]-BETA Whole/part category download  (Read 77429 times)

0 Members and 1 Guest are viewing this topic.

Offline woraini

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD]-BETA Whole/part category download
« Reply #30 on: July 11, 2006, 05:55:56 AM »
Hi!  I had this MOD set up on my old site...but for some reason this time around, I can't do it.  I'm getting this error:
---------------------------------------
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id = 19 AND c.cat_id = i.cat_id ORDER BY image_name ASC
Unknown column 'i.user_id' in 'on clause'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /chronicled.net/photogalle/includes/db_mysql.php on line 116

DB Error: Bad SQL Query: SELECT cat_id, image_media_file, image_download_url FROM 4images_images WHERE image_active = 1 AND image_id IN () AND cat_id IN (0, 9, 16, 7, 1, 10, 3, 14, 2, 11, 6, 20, 8, 5, 4, 12, 13, 15, 17, 18, 19)
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND cat_id IN (0, 9, 16, 7, 1, 10, 3, 14, 2, 11, 6, 20, 8, 5, 4, 12, 13, 15, 1' at line 3
------------------------------------

Any ideas?

Thanks!

Offline GhostPool

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • GhostPool Designs
Re: [MOD]-BETA Whole/part category download
« Reply #31 on: July 16, 2006, 01:13:02 AM »
I'm getting the following error message after using this Mod.

Fatal error: Call to undefined function: file() in /home/utwwemed/public_html/galleries/download.php on line 340

On line 340 I have: $file['file_data'] = $zipfile->file();

I'm using 4images Version 1.7.2.
     

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD]-BETA Whole/part category download
« Reply #32 on: July 16, 2006, 02:46:50 AM »
Sorry this mod is not compatible with v1.7.2
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline GhostPool

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • GhostPool Designs
Re: [MOD]-BETA Whole/part category download
« Reply #33 on: July 16, 2006, 02:22:29 PM »
Thought'd you'd say that. :) Ah well, any chance someone could modify it to work with version 1.7.2?

Offline Rasenkantenstein

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: [MOD]-BETA Whole/part category download
« Reply #34 on: January 10, 2007, 08:34:18 PM »
Hello!

I would like to push this thread to the top. I could very need such mod for my 4images 1.7.4

Offline ghostmi

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD]-BETA Whole/part category download
« Reply #35 on: March 19, 2007, 04:40:54 PM »
how I can make to appear an other image in place of this ?

Offline ghostmi

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD]-BETA Whole/part category download
« Reply #36 on: March 19, 2007, 04:50:53 PM »
but download only those images in the page, not are unloaded the entire gategory  :cry: :cry:

Offline Jenn

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [MOD]-BETA Whole/part category download
« Reply #37 on: March 19, 2007, 07:32:22 PM »
how I can make to appear an other image in place of this ?

Find an alternative image you want to use and replace the download.gif with that one. But be sure to rename it to download.gif.

FYI: This file can be found in the images directory within the templates.

Offline propertysnaps

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [MOD]-BETA Whole/part category download
« Reply #38 on: August 03, 2007, 11:44:27 PM »
Has anyone made this work with 1.7.4

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD]-BETA Whole/part category download
« Reply #39 on: August 04, 2007, 06:56:11 AM »
What is error in v1.7.4 with MOD ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline propertysnaps

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [MOD]-BETA Whole/part category download
« Reply #40 on: August 04, 2007, 09:48:20 AM »
I got it work now with 1.7.4 no problem or mods.

Offline chrisonline

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • http://www.chrisonline.at
Re: [MOD]-BETA Whole/part category download
« Reply #41 on: September 18, 2007, 04:09:11 PM »
Could you please post the code for everyone?
I cant get it to work with 1.7.4 :-(

Thanks!
-------------------
cu chrisonline
http://www.chrisonline.at

Offline chrisonline

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • http://www.chrisonline.at
Re: [MOD]-BETA Whole/part category download
« Reply #42 on: September 19, 2007, 01:35:44 PM »
For the Version 1.7.x you must change following line

      $file['file_data'] = $zipfile->file();

with this one

      $file['file_data'] = $zipfile->send(time().".zip");

After that the MOD doing his job succesfully ;-)
-------------------
cu chrisonline
http://www.chrisonline.at

Offline Gostemilov

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: [MOD]-BETA Whole/part category download
« Reply #43 on: May 21, 2008, 12:30:19 PM »
I've change this line. Alll files in archive are 0 bytes. What to do? Thanks.

Offline Gostemilov

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: [MOD]-BETA Whole/part category download
« Reply #44 on: May 21, 2008, 12:41:23 PM »
It's working. I've add function function get_file_data($file_path) from 1.7.4 to 1.7.6.

But there is another problem. MOD download resized images, but I need dowlload full-size images (data/media/1/download/*.*)

Where can I change the path to files? Thanks.