Results 1 to 10 of 25

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Download File Manager Support Thread

    I've just submitted the file to the contributions area and it's awaiting approval.

    This module is designed to work with Zen Cart 1.5.x (although it is compatible with earlier versions, just needs admin/boxes). It's purpose is to allow admin to upload downloadable files to the /download directory directly from admin, there's no need to use FTP.

    Here's a screenshot:
    Name:  dfm-screen.jpg
Views: 923
Size:  29.0 KB

    The plugin can be downloaded from the Plugins section.

    http://www.zen-cart.com/downloads.php?do=file&id=1767
    Last edited by swguy; 1 Nov 2013 at 01:24 AM.

  2. #2
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Download File Manager Support Thread

    A very handy mod, thank you what a great idea!
    My only question (so far!), and i know you hint at it in the README...
    this plugin expects you to use /download directory to store your files. If you're using a different directory, you'll need to update the plugin
    could you give a few pointers as to which files/edits need to be changed/made please?

  3. #3
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: Download File Manager Support Thread

    Quote Originally Posted by picandnix View Post
    A very handy mod, thank you what a great idea!
    My only question (so far!), and i know you hint at it in the README...

    could you give a few pointers as to which files/edits need to be changed/made please?
    Sure. Changes are required in:
    dfm_filelist.php - line 33, 63, 135, 136, 137, 138
    upload.php - line 15

    Basically, I just hard coded the path to the download directory. There are nicer solutions, but I built this real fast for a client to help them upload their files and then just packed it for everyone else...

  4. #4
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Download File Manager Support Thread

    Quote Originally Posted by balihr View Post
    Sure. Changes are required in:
    dfm_filelist.php - line 33, 63, 135, 136, 137, 138
    upload.php - line 15

    Basically, I just hard coded the path to the download directory. There are nicer solutions, but I built this real fast for a client to help them upload their files and then just packed it for everyone else...
    That's great, I'll give it a go later

  5. #5
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Download File Manager Support Thread

    Like any good Zenner I'm trying this in Localhost (WAMP)...

    after installation I constantly have the message box
    Download File Manager v1.0 install completed!
    at the top of my admin area.
    Then upon attempting a PDF upload I receive an error log
    PHP Code:
     Warningfilesize() [function.filesize]: stat failed for /my.pdf in C:\wamp\www\test\MYADMIN\dfm_filelist.php on line 129

     Warning
    filesize() [function.filesize]: stat failed for /my.pdf in C:\wamp\www\test\MYADMIN\dfm_filelist.php on line 14 
    The manager displays the green tick/check symbol but the file does not make it into the 'download' folder (tried with default Download folder location too).

  6. #6
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: Download File Manager Support Thread

    I just tested on a clean 1.5.1 and no problems...

    The message box on top shouldn't show more than once, but you can delete the admin/includes/auto_loaders/config.dfm.php

    Error logs - can't tell for sure, but I'd say it indicates a problem with your path. Since it's a local wamp install, I'm assuming you have all the required permissions...

 

 

Similar Threads

  1. Link Manager 3.0 Support Thread
    By clydejones in forum Addon Sideboxes
    Replies: 1987
    Last Post: 6 Aug 2021, 02:56 PM
  2. Testimonial Manager Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 1500
    Last Post: 4 Feb 2021, 04:12 PM
  3. v154 News Box Manager v2.0.0 [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 84
    Last Post: 19 Jan 2021, 04:17 PM
  4. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM
  5. [Support Thread] Simple Video Manager
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 1 Nov 2008, 02:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg