Search Results for 'all downloads'

Viewing 25 results - 2,651 through 2,675 (of 4,412 total)
  • Author
    Search Results
  • #73526

    AlesiaN
    Member

    Hi Simon, I was about to post the same issue. Even more, for me 95% of packages show the empty page.
    For those that show up the link is not working. Just a plain text. I had to disable the membership and allowed all downloads for now, as it is look empty 🙁

    #73499

    Victor Maat
    Member

    I’ve installed DMpro with the membership add-on, tinymice shortcode add-on and extended shortcodes add-on.

    On my site I need 3 users who can only access their own assigned category.
    In the membership add-on I’ve added 3 plans: beginner, advanced and refresher
    I’ve created 3 members with each having access to 1 plan (so 1 beginner user, 1 advanced, 1 refresher)
    In the downloads I’ve created 3 categories, one for each plan.
    In each category I’ve added 1 test file.

    In the download settings I’ve selected “When user is not allowed to download: Hide everything”

    I’ve created a page that can only be accessed when logged in and added the following shortcode, using the tinymice creator:
    [wpdm-all-packages categories="beginner,advanced,refresher," items_per_page=10]

    When I visit the page as one of the members (let’s say advanced) I can see all packages that are created in the following format:

    Title – Category – Date added – Download link

    Only the download link for my own category is available, the rest is showing: “Subscribe – available for beginner or refresher only”
    But I can still see the other package titles and icons, categories and date added

    How can I change it so that only the one category for this user is showing, and the rest is completely hidden?

    Am I missing something?

    Victor

    #73350

    jonoread
    Participant

    How do I get my pages which contain shortcode and manually created (eg http://unofficialmills.co.uk/podcasts/2007-podcasts/) to look more like the automatically created category pages (eg http://unofficialmills.co.uk/downloads/2007-podcasts/)

    It looks a lot neater but i don’t know what settings to tweak.

    #73324

    Hi there, hope you’re all well.

    Some time ago you did some custom work for us on our site https://jacobi.net/

    We currently have the following setup

    1. Files stored on our server.
    2. Our script can be run to populate the packages and package categories as well as setting template.
    3. Site visitor browses categories to get to package and fills out the access request form.
    4. Once access request is received we set a password and then send it out via the system.

    Step 2 isn’t working too well at the moment and we need to look at it to fix it.

    However our clients requirement for the online downloads library has now changed.

    They want to just get an email requesting a specific file and then they will send Box links manually in response to that email.

    So my question is – Can we refine steps 1/2 so that we can populate our site based on the box.com stored contents? OR do you have an import script that sets package categories based on the directories that the files are stored in?

    Any help would be much appreciated, it’s been a while since this was working correctly.

    Thanks,

    Ben

    #73058

    Hi,
    Sorry for late reply.
    Use the following shortcode:

    [wpdm_category id="Category Slug(s)" toolbar="1" paging="1" order_by="title" order="desc" items_per_page="10" template="link-template-panel-1-3" cols=4 colspad=2 colsphone=1]

    change the category slug with your one. Details here.

    Thanks

    #73047

    Hi,

    WordPress provides API which allows developers to interact with sites remotely. You may use the REST API v2 of WordPress and follow this to add support for custom post types. As we use custom post type, you can easily get all the downloads file in json format with the API.

    Thanks

    #72974

    Hi,

    Maybe you use custom template file in the theme folder for all downloads. Please send login to check the the issue. or removing the theme file /themes/rexus-child/download-manager/wpdm-all-downloads.php would solve the problem.

    Thanks

    #72950

    iTesla
    Participant

    Hello
    I think i found a error on that day i use a plugin which shows errors and options to fix them.

    2018-03-26 23:44:49
    Fatal Error: Error: Class 'WPDM_Stats' not found
    wp-content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php 112

    Could this be the cause?

    Also i installed the latest update without error on this new host but same i get a blank page when try downloading, i enabled debug and this is the error i see.

    [04-Apr-2018 00:19:09 UTC] PHP Notice:  Trying to get property of non-object in /home/xxxx/public_html/wp-content/plugins/download-manager/wpdm-core.php on line 398
    [04-Apr-2018 00:19:09 UTC] PHP Notice:  Trying to get property of non-object in /home/xxxx/public_html/wp-content/plugins/download-manager/wpdm-core.php on line 399

    p.s. i was busy moving from GoDaddy my site was very slow on 27 march after the problem with downloads.

    #72906

    I have made two groups for download with the relevant user role. So the files are only showed to the user role which actually should have access to. This i have tested and works fine. But if i visit the download page as guest (not logged in) then all files are shown to the guest user with login button. I want to show nothing to guests without any user role. How can i avoid this?

    #72879

    Steve Culp
    Member

    https://www.ebinsuranceinc.com/test/

    So using this plugin with the Call To Action 4 template. I have 5 pages with different amounts of downloads. I’m getting issues with gaps and spaces depending on my column counts in my shortcode and all I can figure is that it is because of my document titles being different lengths and making the “box” different heights, so it’s not making even and balanced columns and leaving gaps. I have the example page above showing this. How can this be fixed because it does not look good?

    #72854

    In reply to: CSS Change Template


    Michael K.
    Participant
    This reply has been marked as private.
    #72846

    In reply to: CSS Change Template


    Michael K.
    Participant
    This reply has been marked as private.
    #72842

    In reply to: CSS Change Template


    Michael K.
    Participant
    This reply has been marked as private.
    #72821

    In reply to: CSS Change Template


    Michael K.
    Participant
    This reply has been marked as private.
    #72818

    In reply to: WPDM – Amazon s3

    The code tags removed all white space.

    Defined constants file:

    /etc/aws_secrets/site.secrets.php
    <?php
    define(‘AWS_CLOUDFRONT_ACCESS_KEY_ID’,’*************’);
    define(‘AWS_CLOUDFRONT_KEY_PATH’ , ‘/etc/aws_secrets/cloudfront_privk.pem’);
    define(‘MY_DOMAIN’ , ‘.example.com’);
    define(‘AWS_CLOUDFRONT_USER_DOWNLOADS’,’***********.cloudfront.net’);
    define(‘AWS_USER_ACCESS_KEY_ID’,’****************’);
    define(‘AWS_USER_SECRET_ACCESS_KEY’,’********************************’);
    define(‘AWS_REGION’,’us-west-2′);
    ?>

    // Add to the end of functions.php in your WordPress theme
    add_action(‘init’, ‘setMyCookies’);

    function setCloudFrontCookies(){

    /*
    * We’re on app.example.com or http://www.example.com, files are on S3.
    * We need to send requests to files.example.com, becuase browsers will not
    * accept cookies for S3 or xxxxxxx.cloudfront.net sent from example.com
    *
    * Therefore, we will set cookies for .example.com,
    * so that they’re sent to the CloudFront subdomain files.example.com.
    *
    *
    * User request needs to go like this:
    *
    *
    * User visits *.example.com (our site)
    * After authenticating user, our site *.example.com sets cookies for
    * .example.com and redirects to files.example.com
    * DNS sends request to cloudfront. Cloudfront gets files from S3.
    *
    * Step: 1
    *
    * Set Route 53 (DNS) CNAME record for files.example.com that points to our
    * cloudfront distribution: xxxxxxx.cloudfront.net.
    * Now requests sent to files.example.com from our site will go to cloudfront.
    *
    * Step: 2
    * In our cloudfront xxxxxxx.cloudfront.net add CNAME files.example.com
    * Now xxxxxxx.cloudfront.net will respond to requests sent to files.example.com
    */

    // Settings
    //
    // Location of all defined constants used below
    require_once (‘/etc/aws_secrets/site.secrets.php’);
    //
    // AWS SDK User
    // Create an IAM user with cloudfront all access for use by the SDK
    $user_access_key_id = AWS_USER_ACCESS_KEY_ID;
    $user_secret_access_key = AWS_USER_SECRET_ACCESS_KEY;

    // AWS Cloudfront Access Key ID
    // NOT a regular IAM user.
    // In your root account look for “My Security Credentials”.
    // Or, from here:
    // https://console.aws.amazon.com/iam/home#/security_credential
    // Look for Your Security Credentials,Cloudfront Key Pairs, Access Key ID
    $key_pair_id = AWS_CLOUDFRONT_ACCESS_KEY_ID;
    // The private key .pem file associated with this Access Key ID.
    $private_key = AWS_CLOUDFRONT_KEY_PATH;

    // Region is a subset of the availbiity zone
    // If availbility zone = us-west-2b, then region is us-west-2
    $region = AWS_REGION;

    // MY_DOMAIN = .example.com
    $my_domain = MY_DOMAIN;

    // http*:// permits both https and http.
    // You can add a restriction in your Distribution Behavior to redirect all http to https.
    // Then this code is portable across distributions.
    $cloudfront_base_url = ‘http*://’ . $my_domain . ‘/’;

    // Path to cookie protected content.
    // Change * to your path after the base url http*://.example.com/
    //http*://.example.com/$cookie_path
    $cookie_path = ‘*’;

    // Full URL for cookie protected content
    $allowed_resource = $cloudfront_base_url . $cookie_path;

    // Cloudfront requires all policies to expire
    // This is the policy level expires
    $policy_expires_after = (86400 * 7); // 1 week

    // Set your own $expires at the cookie level to zero to make it a session cookie.
    // Easier to debug a session cookie.
    // And users do not need to be told to clear their cookies to get a new policy,
    // if you change the cookie policy.
    // Users will get the new policy on login.
    $expires = 0;

    // Initialize AWS SDK for PHP
    $site_path = get_home_path();
    $aws_path = ‘vendor/autoload.php’;
    $aws_package_path = $site_path . $aws_path;
    require_once $aws_package_path;

    $sdk_params =
    [
    ‘region’ ► $region,
    ‘version’ ► ‘latest’,
    ‘credentials’ ► new \Aws\Credentials\Credentials
    (
    $user_access_key_id,
    $user_secret_access_key
    )
    ];
    $sdk = new \Aws\Sdk($sdk_params);
    $cloudfront = $sdk->createCloudFront();

    // Setup CloudFront cookie #1: CloudFront-Key-Pair-Id
    $cookies = [ ];
    $cookies[ ‘CloudFront-Key-Pair-Id’ ] = $key_pair_id;

    // Setup CloudFront cookie #2: CloudFront-Policy
    $raw_policy =
    [
    ‘Statement’ ►
    [
    [
    ‘Resource’ ► $allowed_resource,
    ‘Condition’ ►
    [
    ‘DateLessThan’ ►
    [
    ‘AWS:EpochTime’ ► (time() + $policy_expires_after)
    ]
    ]
    ]
    ]
    ];

    $policy = json_encode($raw_policy);
    $cookies[ ‘CloudFront-Policy’ ] = base64_encode($policy);

    // CloudFront cookie #3: CloudFront-Signature
    $url_signing_params =
    [
    ‘url’ ► $allowed_resource,
    ‘policy’ ► $policy,
    ‘key_pair_id’ ► $key_pair_id,
    ‘private_key’ ► $private_key
    ];

    $signed_url = $cloudfront->getSignedUrl($url_signing_params);
    // We just need the “Signature” query string part of the signed URL
    parse_str(parse_url($signed_url, PHP_URL_QUERY), $signed_url_arr);
    $signature = $signed_url_arr[ ‘Signature’ ];
    $cookies[‘CloudFront-Signature’] = $signature;

    // Set cookies
    foreach ($cookies as $cookie_name ► $cookie_value)
    {
    setcookie($cookie_name, $cookie_value, $expires, $cookie_path, $my_domain);
    }

    }

    function setMyCookies() {
    setCloudFrontCookies();
    }

    #72817

    In reply to: WPDM – Amazon s3

    I can see my buckets, but clicking on them does nothing. I see the red “Loading…” and then nothing.

    Btw, I have mounted my S3 buckets inside my server at /mnt/s3/ using the aws s3fs fuse filesystem package.
    So, I can see, copy, delete, my files and directories just like any local file.

    For example, downloads are at:
    /mnt/s3/userdownloads/

    What I am hoping would get developed in this plugin would be Cloudfront together with S3, so that Cloudfront will serve my protected content.

    What I have working is that I copy private user-specific content to:

    /mnt/s3/userdownloads/private_content/username

    The url is then userdownloads.example.com/private_content/username/

    This content is protected by signed cookies.

    Here is the code that I have working that does all this.

    I hope it can be integrated with the WPDM package permissions.

    Defined constants file, change for your site, and set your own $cookie_path as desired:

    
    /etc/aws_secrets/site.secrets.php
    <?php
    define('AWS_CLOUDFRONT_ACCESS_KEY_ID','*************');
    define('AWS_CLOUDFRONT_KEY_PATH' , '/etc/aws_secrets/cloudfront_privk.pem');
    define('MY_DOMAIN' , '.example.com');
    define('AWS_CLOUDFRONT_USER_DOWNLOADS','***********.cloudfront.net');
    define('AWS_USER_ACCESS_KEY_ID','****************');
    define('AWS_USER_SECRET_ACCESS_KEY','********************************');
    define('AWS_REGION','us-west-2');
    ?>
    
    // Add to the end of functions.php in your WordPress theme
    add_action('init', 'setMyCookies');
    
    function setCloudFrontCookies(){
    
        /*
         * We're on app.example.com or www.example.com, files are on S3.
         * We need to send requests to files.example.com, because browsers will not
         * accept cookies for S3 or xxxxxxx.cloudfront.net sent from example.com
         *
         * Therefore, we will set cookies for .example.com,
         * so that they're sent to the CloudFront subdomain files.example.com.
         *
         * 
         * User request needs to go like this:
         *
         *
         * User visits *.example.com (our site)
         * After authenticating user, our site *.example.com sets cookies for
         *  .example.com and redirects to files.example.com
         * DNS sends request to cloudfront.  Cloudfront gets files from S3.
         *
         * Step: 1
         *
         * Set Route 53 (DNS) CNAME record for files.example.com that points to our
         * cloudfront distribution: xxxxxxx.cloudfront.net. 
         * Now requests sent to files.example.com from our site will go to cloudfront.
         *
         * Step: 2
         * In our cloudfront xxxxxxx.cloudfront.net add CNAME files.example.com
         * Now xxxxxxx.cloudfront.net will respond to requests sent to files.example.com
        */
       
        // Settings
        //
        // Location of all defined constants used below
        require_once ('/etc/aws_secrets/site.secrets.php');
        //
        // AWS SDK User
        // Create an IAM user with cloudfront all access for use by the SDK
        $user_access_key_id = AWS_USER_ACCESS_KEY_ID;
        $user_secret_access_key = AWS_USER_SECRET_ACCESS_KEY;
    
        // AWS Cloudfront Access Key ID
        // NOT a regular IAM user. 
        // In your root account look for "My Security Credentials".
        // Or, from here:
        // https://console.aws.amazon.com/iam/home#/security_credential
        // Look for Your Security Credentials,Cloudfront Key Pairs, Access Key ID
        $key_pair_id = AWS_CLOUDFRONT_ACCESS_KEY_ID;
        // The private key .pem file associated with this Access Key ID.
        $private_key = AWS_CLOUDFRONT_KEY_PATH;
       
        // Region is a subset of the availbiity zone
        // If availbility zone = us-west-2b, then region is us-west-2
        $region = AWS_REGION;
    
        // MY_DOMAIN = .example.com
        $my_domain = MY_DOMAIN;
       
        // http*:// permits both https and http.
        // You can add a restriction in your Distribution Behavior to redirect all http to https.
        // Then this code is portable across distributions.
        $cloudfront_base_url = 'http*://' . $my_domain . '/';
       
        // Path to cookie protected content.
        // Change * to your path after the base url http*://.example.com/
        //http*://.example.com/$cookie_path
        $cookie_path = '*';
       
        // Full URL for cookie protected content
        $allowed_resource = $cloudfront_base_url . $cookie_path;
    
        // Cloudfront requires all policies to expire
        // This is the policy level expires
        $policy_expires_after = (86400 * 7); // 1 week
    
        // Set your own $expires at the cookie level to zero to make it a session cookie.
        // Easier to debug a session cookie. 
        // And users do not need to be told to clear their cookies to get a new policy,
        // if you change the cookie policy.
        // Users will get the new policy on login.
        $expires = 0;
       
        // Initialize AWS SDK for PHP
        $site_path = get_home_path();
        $aws_path = 'vendor/autoload.php';
        $aws_package_path = $site_path . $aws_path;
        require_once $aws_package_path;
    
        $sdk_params =
        [
            'region' ► $region,
            'version' ► 'latest',
            'credentials' ► new \Aws\Credentials\Credentials
            (
                $user_access_key_id,
                $user_secret_access_key
            )
        ];
        $sdk = new \Aws\Sdk($sdk_params);       
        $cloudfront = $sdk->createCloudFront();
    
        // Setup CloudFront cookie #1: CloudFront-Key-Pair-Id
        $cookies = [ ];
        $cookies[ 'CloudFront-Key-Pair-Id' ] = $key_pair_id;
    
        // Setup CloudFront cookie #2: CloudFront-Policy
        $raw_policy =
        [
           'Statement' ►
           [
              [
                 'Resource' ► $allowed_resource,
                 'Condition' ►
                 [
                    'DateLessThan' ►
                    [
                        'AWS:EpochTime' ► (time() + $policy_expires_after)
                    ]
                 ]
              ]
           ]
        ];
       
        $policy = json_encode($raw_policy);
        $cookies[ 'CloudFront-Policy' ] = base64_encode($policy);
    
        // CloudFront cookie #3: CloudFront-Signature
        $url_signing_params =
        [
            'url' ► $allowed_resource,
            'policy' ► $policy,
            'key_pair_id' ► $key_pair_id,
            'private_key' ► $private_key
        ];
    
        $signed_url = $cloudfront->getSignedUrl($url_signing_params);
        // We just need the "Signature" query string part of the signed URL
        parse_str(parse_url($signed_url, PHP_URL_QUERY), $signed_url_arr);
        $signature = $signed_url_arr[ 'Signature' ];
        $cookies['CloudFront-Signature'] = $signature;
    
        // Set cookies
        foreach ($cookies as $cookie_name ► $cookie_value)
        {
            setcookie($cookie_name, $cookie_value, $expires, $cookie_path, $my_domain);
        }
    
    }
    
    function setMyCookies() {
        setCloudFrontCookies();
    }
    
    #72618

    savvasha
    Member

    Ok I found a solution. It seems to be a css problem. For some reason after the upgrade, the width of icon was set to 0, so it was dissapeared. With css I set it to width:60px and everything is fine now as you can see below:
    https://www.themata4all.com/downloads/%CF%80%CE%B1%CE%B3%CE%BA%CF%8D%CF%80%CF%81%CE%B9%CE%B5%CF%82-%CE%B5%CE%BE%CE%B5%CF%84%CE%AC%CF%83%CE%B5%CE%B9%CF%82-2017/

    #72609

    In reply to: Shortcodes Not Working

    Hi,

    Please update the plugin to the latest version 2.9.70.

    And for archive page, first you have to install this addon (https://www.wpdownloadmanager.com/download/wpdm-directory-add-on/). Then use the shortcode:

    [wpdm-archive button_style=”default" items_per_page="50" category="category-slug" order_by="title" order="asc"] (change the category slug with your downloads category slug)

    Frontend Signin page will work with the pro version.

    Thanks

    #72510

    ccc-nick
    Member

    I need your help with this, I can’t seem to figure out why this is happening. I have packages setup for download, and the entire package downloads just fine. But when you open the package and view the individual images inside the package, the download single file is broken. Usually the first one you click on will download, but then it kicks you to a 404 not found page. When you hit back, and try to click on any more links, they don’t download and just kick you to the not found page. Please check it out and let me know what you think, I can provide admin login.

    I’m attaching some screenshots, the main package download works just fine. Here is the link to the page in my screenshot: http://www.rideradarronix.com/2018-ronix-product/

    The other screenshot is of the contents of the package. This is just an example, all of the packages are doing the same thing.. But on this screenshot any of the “download” buttons you click do the same thing and go to a error page. Here is the link to the page: http://www.rideradarronix.com/package/18-ronix-product-wakeskates/

    Please check this out and let me know what to do. Thank you.


    Scott Kolbe
    Member

    Good afternoon guys. Manually updated the WPDM, Stripe and Premium Packages just now. Pretty straighforward, and most of my settings transferred over to the new versions of each (although my icon settings for most packages were erased). Had a successful test purchase using the new Premium Package, and the redirect following purchase confirmation settings are correct. I came to a page that just lists the shortcode [wpdm-pp-guest-orders] versus actually executing, please see the attached. The same is true for the email that is sent to the purchaser with a link to the guest downloads page. Any thoughts on how to correct? I have reactivated Premium Packages plugin per a similar post, which eliminated the empty cart error but not this. Thanks in advance for your time.

    Scott

    #72503

    In reply to: Key is invalid


    Ray B Outlaw
    Member

    Will all my previous downloads remain and continue working with the new version or will I need to upload them all again?

    #72468

    Hi,

    With the Advanced Access Control add-on, you can control user-specific access to your files and document downloads. So if you want few users can access a package or download then you can use this addon. If you want to allow access to a specific user role then you might create additional user role with (https://wordpress.org/plugins/user-role-editor/) this free plugin rather than the subscriber, and use it to allow access field.

    But as you want to have the download limit in terms of time and download counts the possible solution is to use the Wp Pro Membership addon (https://www.wpdownloadmanager.com/download/wp-pro-membership/). Which you can create multiple membership levels and control the single package or package category downloads.

    Also, if you also want to control single package download limit for any user role then you can use this addon (https://www.wpdownloadmanager.com/download/download-limit/). This is also an alternate solution. You can use this and make the package access to specific user role and assign the email of the users to that role to give them access to specific packages.

    So as you have access setting for the package for any specific user role, you can send the direct package link to that email. They should log in and download the package from the website with that email. Other users will not have access to that package.

    Thanks

    #72353

    In reply to: Hiding page link

    Hi,

    You have to edit /download-manager/tpls/wpdm-all-downloads.php for this shortcode. You can find details here about modifying the shortcode templates.

    You need to remove the page link from line 251 by removing href='".get_the_permalink(get_the_ID())."'

    Thanks

    #72305

    In reply to: Invalid license key


    Miguel Yanes
    Member

    Hi Shahriar,
    I’ve done that (deactivate and delete the old version, then install the latest one) but then I loose my downloads.
    See the attachment.

    Thanks.

    #72219

    In reply to: Using onedrive


    richardyoung
    Member

    I don’t know what version of chrome this screenshot comes from but it is nothing like mine (Version 64.0.3282.186 (Official Build) (64-bit) – which is the latest version I think – except for “canary” – which i also have installed and it has the same ‘settings’ screen as v64….).
    My settings doesn’t have a ‘clear auto-opening settings’ button anywhere.

    googling “chrome clear auto-opening settings’ doesn’t come up with anything useful – other than maybe something to do with ‘handlers’
    My other download settings is the same as this screen shot.

    Also it is not just chrome functioning like this – I just tried Edge and it operates the same way

    As well no other downloads of word documents using chrome causes them to opened. They just get downloaded.

    As well I can’t expect my users (who may or may not be using chrome or edge) to understand such things as handlers.

Viewing 25 results - 2,651 through 2,675 (of 4,412 total)