Search Results for 'all downloads'

Viewing 25 results - 4,276 through 4,300 (of 4,370 total)
  • Author
    Search Results
  • #5945

    In reply to: Zip Files Empty

    I am having the same problem. This is happening on a small group of file so i now that the memory limit is not the problem. I have another test project that is way larger than this one and that downloads fine . . . it is just the Group download button.

    Any other suggestions?

    #5925

    Zorrox
    Member

    no download shows only the code.
    2 days ago it all worked. I have no changes to the server.
    Please help.

    Test @ Firfox , Safari and IE Not working.
    Domain http://zorrox.com
    My latest File Upload. http://zorrox.com/download/enterpage-12-metro-wsl/

    Thank you

    #5892

    In reply to: URL Structure?


    2Wayne
    Member

    I was able to fix this with url redirect but it would be nice to not have to. The issue I personally was having, i would change the url to show http://www.2wayne.com/downloads/download or mostly seen as this http://www.2wayne.com/download/sabic-excr-sw1500/. When you would see the link to the download or if you take out the package-slug for example /sabic-excr-sw1500/ you get this url: http://www.2wayne.com/download/

    Now with this url, http://www.2wayne.com/download/ it would take you to a blog post that could not be deleted or even edited, it would just take you to http://www.2wayne.com/wpdmpro/wpdmpro/ or http://www.2wayne.com/wpdmpro/ <– these two links im trying to get rid of, no clue why they would show up?? So i was able to use a redirect plugin to get this to work so it would just skip those pages and redirect you to the normal downloads page instead of these posts/Page

    Hope that is not too confusing.

    #5853

    joemanausa
    Member

    Download links work fine — but package pages/links do not. All of our downloads were imported from Download Monitor in case that matters.

    See the page here: http://manausa.com/popular-downloads

    If I go in and “edit” each package individually and press the “update” button — then the package link starts working. I’d rather not do this for over 35 pages of downloads though!

    Please help. I’ve tried updating permalinks, uninstalling/reinstalling, etc.

    Great news, I got it working, and it’s working great!

    Just need to clean up some things, and finish it to be fully dynamic (there is one new wp_option I may need to store, and maybe add a few inputs to file-manager/add-new-package for it). I also need to add some if conditions, to properly handle my script to only be triggered if “FTP-DUMP” or something is enabled. I’d like to clean up my handling of absolute/relative paths too. It’s very dirty still.

    So far, I only had to add change one block of code, and add a new block.
    Then, I referenced my own script in it’s own PHP file, and I just include it once if admin.php?page=file-manager&task=RefreshPackage, it pulls the needed references to define it’s variables from $_GET[‘id] (WPDM’s file package DB records). I built it off your current Add/Edit system.

    Here is the change log to your source:
    [the code tags on this forum seem to trim some of my code, so I will also attach a .txt]

    **NOTE:**
    I always apply source formatting via Dreamweaver when I edit files, so my line numbers won't match unless you do that first.
    Therefore, relying on line numbers isn't best, so I will also reference local objects

    /*///////////////////////////////////////////////////////////////
    //in: list-files.php
    +:
    [replaces][div class="button-group"](near line 119 w/ applied source formatting)
    creates a new button for "Refresh Package" on the Download Package Management back-end page, and inserts a line break () in button-group div
    so that all the buttons fit in the table cell
    //////////////////////////////////////////////////////////////*/

    <a class="button" href="admin.php?page=file-manager&task=RefreshPackage&id=" style="color: #90F">Refresh Package
    <a class="button" href="admin.php?page=file-manager&task=EditPackage&id=">Edit

    <a class="button" href="admin.php?page=file-manager/add-new-package&clone=" style="color: #336699">Clone
    <a class="button" target="_blank" href='' style="color: #005500">View
    <a href="admin.php?page=file-manager&task=DeleteFile&id=" class="button submitdelete" style="color: #cc0000" rel=" " title="Permanently">Delete

    /*///////////////////////////////////////////////////////////////
    //in: wpdm.php
    +:
    [appended][fuction RefreshPackage()](added near line 409 w/ applied source formatting)
    adds function for "Refresh Package" button to refresh the package's item
    //////////////////////////////////////////////////////////////*/
    function RefreshPackage(){

    global $wpdb, $current_user;
    get_currentuserinfo();
    $cond_uid = wpdm_multi_user()&&!wpdm_is_custom_admin()?"and uid='{$current_user->ID}'":"";

    $id = $_GET['id'];

    $table_name = "{$wpdb->prefix}ahm_files";
    $file = $wpdb->get_row("SELECT * FROM {$table_name} WHERE `id` = {$id} $cond_uid", ARRAY_A);
    if(!$file[id]) {
    $error = "Sorry, You don't have permission to edit that file!";
    include("error-page.php");
    return;
    }

    include('refreshpackage.php');
    }

    and this is the code for my refreshpackage.php, needs to be cleaned up now as I said:

    $dir) {
    // find first non-matching dir
    if($dir === $to[$depth]) {
    // ignore this directory
    array_shift($relPath);
    } else {
    // get number of remaining dirs to $from
    $remaining = count($from) - $depth;
    if($remaining > 1) {
    // add traversals up to first matching dir
    $padLength = (count($relPath) + $remaining - 1) * -1;
    $relPath = array_pad($relPath, $padLength, '..');
    break;
    } else {
    $relPath[0] = './' . $relPath[0];
    }
    }
    }
    return implode('/', $relPath);
    }
    /* END RELATIVE PATH COMPARER */

    /* DEFINE VARS */
    $packageID = $_GET['id'];
    $siteurl = site_url();
    $wpmdpath = WPDM_BASE_DIR;
    $zippath = $file[sourceurl]; //full path needs to be trimmed below...
    $zipfilename = basename($file[sourceurl]); //file name
    $zippath = str_replace($zipfilename,"",$zippath); //trim trailing file name
    $sourceDIRname = "http://www.example.com/downloads/General-Packages/imagesonly/"; //need to dynamically define this later. MUST BE ON SAME SERVER!!
    /* END DEFINE VARS */

    /* CLEAN/TRIM SOURCE PATHS */
    //the idea here is to trim all the prefixes to the file-sourceurl and the site_url(), so we can compare them, even if
    //the site_url is http://example.com and the file-sourceurl is http://www.example.com/file.zip, or hopefully even if it was a local WP site.
    //
    //trim possible url prefixes..
    $zippath = str_replace("http://","",$zippath);
    $zippath = str_replace("www.","",$zippath);
    $zippath = str_replace("//","",$zippath);
    $zippath = str_replace("\\","",$zippath);
    $siteurl = str_replace("http://","",$siteurl);
    $siteurl = str_replace("www.","",$siteurl);
    $siteurl = str_replace("//","",$siteurl);
    $siteurl = str_replace("\\","",$siteurl);
    $sourceDIRname = str_replace("http://","",$sourceDIRname);
    $sourceDIRname = str_replace("www.","",$sourceDIRname);
    $sourceDIRname = str_replace("//","",$sourceDIRname);
    $sourceDIRname = str_replace("\\","",$sourceDIRname);
    //trim off remaining site url...
    $zippath = str_replace($siteurl,"",$zippath);
    $sourceDIRname = str_replace($siteurl,"",$sourceDIRname);
    /* END CLEAN/TRIM SOURCE PATHS */

    /**************************************/
    /* COMPARE PATHS TO FIND REAL REL PATH */
    /* FOR ZIP-SOURCE-DIR & ZIP-OUTPUT-DIR */
    $sourcefolder = wpmd_getRelativePath("./", $sourceDIRname); // must be rel to $wpmdpath
    $outputfolder = wpmd_getRelativePath("./", $zippath); // must be rel to $wpmdpath
    /**************************************/

    $timeout = 100000 ; // Default: 50000

    // This creates the zip file

    $dirlist = new RecursiveDirectoryIterator($sourcefolder);
    $filelist = new RecursiveIteratorIterator($dirlist);

    // Set the php timeout

    ini_set('max_execution_time', $timeout);

    // Defines the action

    $zip = new ZipArchive();
    ?>
    open("$zipfilename", ZipArchive::OVERWRITE) !== TRUE) {
    die ("Could not open archive");
    }

    // adds files to the file list

    foreach ($filelist as $keyโ–บ$value) {
    //fix archive paths
    $path = str_replace($sourcefolder, "", $key);

    $zip->addFile(realpath($key), $path) or die ("ERROR: Could not add file: $key");
    }

    // closes the archive

    $zip->close();
    //move to output if necessary
    if ($outputfolder != "./") {
    if (copy("./" . $zipfilename,"" .$outputfolder . "/" . $zipfilename . "")) {
    unlink("./" . $zipfilename);
    }
    }
    echo "Archive ". $zipfilename . " created successfully!";
    ?>

    Of course, I will also add a location href at the end of my script to reload page?=file-manager, and will echo a “Successful!” message there when it’s done. Now I get to smooth out all the details! ๐Ÿ™‚

    Do you think any of this may be of benefit to you?

    Hey there Shaon,

    I was working on integrating my script fully into my copy of WPDM and ran into an issue. I’ve been trying to debug but haven’t traced the issue yet.

    After testing my script on their own separate pages, and liking how it worked, I decided to see if I could integrate it into my copy of WPDM.

    first I did this, this worked just fine:

    /*///////////////////////////////////////////////////////////////
    //in: list-files.php
    +:
    [replaces][div class="button-group"](near line 119 w/ applied source formatting)
    creates a new button for "Refresh Package" on the Download Package Management back-end page, and inserts a line break () in button-group div
    so that all the buttons fit in the table cell
    //////////////////////////////////////////////////////////////*/

    <a class="button" href="admin.php?page=file-manager&task=RefreshPackage&id=" style="color: #90F">Refresh Package
    <a class="button" href="admin.php?page=file-manager&task=EditPackage&id=">Edit

    <a class="button" href="admin.php?page=file-manager/add-new-package&clone=" style="color: #336699">Clone
    <a class="button" target="_blank" href='' style="color: #005500">View
    <a href="admin.php?page=file-manager&task=DeleteFile&id=" class="button submitdelete" style="color: #cc0000" rel=" " title="Permanently">Delete

    /*///////////////////////////////////////////////////////////////

    But then, I changed wpdm.php to include a new action of “refreshpackage()”.
    I just copied EditPackage(), and renamed the function. I intended on testing my newly created Refresh Package button by having it include a new .php file with my script in it. I hadn’t set it up to pass variables yet, that was next.

    /*///////////////////////////////////////////////////////////////
    //in: wpdm.php
    +:
    [appended][fuction RefreshPackage()](added near line 409 w/ applied source formatting)
    adds function for "Refresh Package" button to refresh the package's item
    //////////////////////////////////////////////////////////////*/
    function RefreshPackage(){

    global $wpdb, $current_user;
    get_currentuserinfo();
    $cond_uid = wpdm_multi_user()&&!wpdm_is_custom_admin()?"and uid='{$current_user->ID}'":"";

    $id = $_GET['id'];

    $table_name = "{$wpdb->prefix}ahm_files";
    $file = $wpdb->get_row("SELECT * FROM {$table_name} WHERE `id` = {$id} $cond_uid", ARRAY_A);
    if(!$file[id]) {
    $error = "Sorry, You don't have permission to edit that file!";
    include("error-page.php");
    return;
    }

    include('refreshremotepackage.php');
    }

    The first commit worked just fine. But after the second commit, and placing the refreshremotepackage.php file, suddenly my Downloads menu for WPDM is gone. I have attempted reinstalling with a fresh download from your site, and repairing my DB. I inspected my DB tables too, but couldn’t find anything amiss. Any ideas? Something with licensing perhaps?

    #5742

    Shahjada
    Keymaster

    please use the add-on (free) http://www.wpdownloadmanager.com/download/advanced-tinymce-button/
    also list of short-codes are here http://www.wpdownloadmanager.com/docs/list-of-download-manager-pro-short-codes/

    and
    * no short-code available with code to list all cats, but have an add-on http://www.wpdownloadmanager.com/download/wpdm-directory-add-on/ , but with code there is a widget for wpdm categories
    * yes, if you place category widget in sidebar, it will show the list of categories and if you click on category name (link) , that will bring you the page will the list of downloads/packages under that category

    if you still face any complexity, please send a temporary wp-admin logoin info to support@wpdownloadmanager.com, we will add some sample data for you.

    #5734

    JimByrne
    Member

    Here is what I want to do; and I can’t see how to do it anywhere:

    * I want a page that lists all the categories.

    * When I click a category I want to got a page which lists all the downloads in that category.

    It would be handy if these lists where generated automatically.

    Just simple lists; no boxes, no fancy layout. If someone can tell me how to do this it would be greatly appreciated. At the moment this is very frustrating.

    Thanks,
    Jim

    #5627

    NASC
    Member

    Maybe I worded this poorly. I can’t use the plugin because the ‘downloads’ folder does not appear as a menu item.
    Please take a look at a snapshot after the plugin was installed and activated, by the way the widgets show up and they
    work. Just no ‘downloads’ folder to do anything.


    NASC
    Member

    I had the FREE version, deleted it, downloaded, installed and activated the pro version but the ‘downloads’ directory does not show up as indicated in your demo. Luckily I had not closed another browser where my old installation of download mgr free was, I clicked on the file mgr tab and it allowed me to put in the license code for the pro version. That’s the last I have seen of the program. Deactivated the plugin, activated again,
    still nothing. Tried all 4 browsers.


    ComPfeil
    Member

    Hi, i did buy the Pro Version + alot of Plugin’s.
    here is a list of my Problems.
    1. I did a translation with the .po File.
    After a day of Translation i found out that still alot of stuff will be displayed in english.
    Is this a known problem ?

    2. When i Display the Archive-Page it doesn’t show the ICON’s of the choosen content inside the Categorie
    seems like somethink wrong with the ICON Adress.
    Right now it is :
    https://download.medidok.net/index.php/alle-downloads/%3Cimg%20width=48%20class=’wpdm_icon’%20align=’left’%20src=’https://download.medidok.net/wp4mddown/wp-content/plugins/download-manager/file-type-icons/download2.png’%20/%3E

    If i open a Categorie by the Widget

    it is https://download.medidok.net/wp4mddown/wp-content/plugins/download-manager/file-type-icons/download2.png

    3.
    I Ordered first the Pro Version with Plugin and then i Ordered again the speed Control Plugin
    what Key should i use? I have 2 key’s now.
    When i look inside my account here it doesn’t have a domain ?! normal ?

    4. I had Problems with the permalink structure
    The Site is https://download.medidok.net
    The content is https://download.medidok.net/wp4mddown/
    I had to change the Startsite inside WP to https://download.medidok.net/index.php
    After that i could use /%postname%/ inside permalink settings.
    Beside that i did change inside download-manager/modules/ the file canonical-url.php
    under function wpdm_flat_url
    i did change every .site_url to .home_url
    I’m note sure if that was really needed but i’ve done it to get it working
    I’m Using IIS7.5 and WP3.51 on php 5.3.21 (Fast-CGI)

    hopefully i can get some help here

    #5295

    We are having a similar issues. Sometimes the files will upload to the server and sometimes they wont. We created all of our packages and then realized that when you click the download button for either the individual files or the full package, only some of them work. The download-manager-files folder seems to have 755 on it. Should it be 777? I’m assuming not. Why would some of the downloads work and some not? We checked inside of the directory and only a few of the files are making it all the way up, it’s not a file size issue either because some large files make it after a few tries and some small ones don’t make it up even though the package shows that it did. However, the files are missing from the directory on the server. Does this all make sense? We are using WP 3.5.1


    pirco
    Member

    my client would like to add checkboxes to the listing template and a button that allows selected files to be downloaded (either as one zip file or individually, if possible).

    any ideas if that’s feasible?

    thanks

    #5196

    I have some install applications that I need to have hosted on the site. I FTP the files onto the server, and set up the package for the download. When anyone tries to download on of the files it gives them a zero length file and nothing really downloads. I need to get this fixed ASAP. We just released a new version and now I have no way to get it to my customers for upgrades.


    kyleritland
    Member

    That only works for the download counts in the individual files/packages templates, but the counts are still displayed on the main Downloads page, which is created by the Archive Page add-on.

    That’s the one we haven’t been able to remove the download counts from. What is the template for the main page of the Archive Page layout?

    #4772

    kyleritland
    Member

    Alas, I cannot give you access to the website, but there is definitely some confusion on how to use Link Templates and Page Templates.

    We have test pages with single files as packages, but changing the Link Templates and Page Templates so we can view them doesn’t do anything at all… how can we best see what these templates look like?

    And what is the best way to add images to the Directory add-on? We finally found where the crazy font was being added and removed it from the add on so that it used the same font as the rest of the site, but the thumbnails and featured images seem to have an erratic preference of their own when it comes to display sizes ๐Ÿ™‚

    Are there recommended sizes for Featured images for downloads?

    #4752

    Shahjada
    Keymaster

    yes, in demo all templates are available and working there, may you please send a temporary wp-admin login info to support@wpdownloadmanager.com to check your issue


    jhiner1978
    Member

    the button seems to work and a file downloads but there are no files in the zip when I try and unzip it

    http://dicon.turnpostinteractive.com/download/antiquarium/


    johnnyflash
    Member

    Thanks, this is really helpful. I will do that.


    Shahjada
    Keymaster

    Actually you will never need that feature, as wpdm pro already has clone option. You can create a package with default settings, then every time you need to create another package, you can clone previous one or the default one.


    paorganic
    Member

    We will not be selling any files for the foreseeable future, however I’ve moved us from WordPress Download Monitor and I need to still have one page where: folks can search for all documents/files, they can visually see all grouped by the categories…AND I want to be able to have them download more than one file at a time. It would seem like a need the Premium Addon for the shopping cart feature to do multiple downloads, however does that also give the view of all the files grouped by category or where the user can filter them…or do I have to also buy the Directory Add-on for that? This feature here: http://nthouses.ee/kvaliteet-ja-sertifikaadid/

    Thanks!

    #4574

    SirBayard
    Member

    I found a similar issue trying to expand the search with the archive addon. The actual archive page itself uses a javascript search query that appears to only search by title. Could not get it to look at package descriptions.

    However, if you use the [wpdm-search-page] shortcode that comes with the wpdm directory add-on, THAT searches into the description. I only discovered that shortcode by going through the source code for the archive php file. The section to describe that area is on line 364. I then rewrote that to include categories and ended up with something like this: $res = $wpdb->get_results(“select * from {$wpdb->prefix}ahm_files where title like ‘%$_REQUEST[q]%’ or description like ‘%$_REQUEST[q]%’ or category like ‘%$_REQUEST[q]%'”,ARRAY_A);

    Since my site is for downloads only, and nothing else, I ended up rewriting the search.php page in my theme template area using this information to create a search bar on the site itself that parses the data out to a new page.

    Anyway, I hope this can help you some as it took me about 2 days to get it all sorted out for my own site.

    #4553

    elislasop
    Member

    Replying again, my admin account was reseted and I was able to download again and I did 10 downloads (limit is 2) with not a limitation txt popping on at all. Please check my issue and please try to download my own downloads from my own posts where the problem persists. If you need a new account I can give you one right away.

    Thank you!

    #4499

    grahamjones
    Member

    Wow….! So, I took your advice @Shaon and contacted Live Support. Firstly they pointed me to the add-ons which provide the TinyMCE icon and the import of the downloads from the free version. Excellent – though may be a good idea to alert people they will need these, especially as they are free.

    Then the issue I had with templates was resolved after I gave Live Support admin access and FTP access whereupon it was discovered the plugin had not been fully installed somehow and some files were missing. They were added and the Pro version now works…!

    I had initially asked for my money back….but now I’ll be promoting the plug in instead because of the excellent support.

    Thanks.

    #4494

    grahamjones
    Member

    Me too…! When you have a site that has hundreds of downloads with the free version, the last thing you want is the Pro version to ignore them meaning you have to install them all again…!

    Plus the TinyMCE button disappearing is just plain daft.

    Plus the templates do not work – no matter which template I choose it only ever shows the default on the front end.

    Happy…? Not…! I’m switching back to the free version – it is SO MUCH BETTER…!

Viewing 25 results - 4,276 through 4,300 (of 4,370 total)