-
AuthorSearch Results
-
Apr 16, 2018 at 5:09 pm #73844
In reply to: File Manager Missing after Update
stilmiMemberThis reply has been marked as private.Apr 16, 2018 at 7:48 am #73821In reply to: File Manager Missing after Update
stilmiMemberI don´t want to download add-ons and install it again, if they were installed before and disappear after updates, which was the case in here !? This is to my mind extremely inconvenient, because I have to remember all installed items and the user is confused and is asking me, where are the menu items to edit his downloads.
Apr 16, 2018 at 12:51 am #73803In reply to: Licenses save times out
Dewey PerroMemberThis reply has been marked as private.Apr 15, 2018 at 8:45 pm #73799In reply to: File Manager Missing after Update
stilmiMemberThis reply has been marked as private.Apr 13, 2018 at 7:04 am #73647In reply to: Slow download speed
IVA GroepMemberAllready tried that.
Download speed is set to 4096KB/s also tried a higher speed but no performance change.
Also Resumable Downloads and Output Buffering are enabled. still low speeds.Apr 13, 2018 at 1:38 am #73625In reply to: Downloads not showing
ShahriarModeratorHi,
User dashboard doesn’t show all downloads. Please use
[wpdm-all-packages]shortcode to show all downloads in a tabular format.Here is shortcode doc https://www.wpdownloadmanager.com/doc/short-codes/wpdm_all_packages-list-all-downloads-in-tabular-format-in-a-page/
You can use TinyMCE Button Add-on ( https://www.wpdownloadmanager.com/download/advanced-tinymce-button/ ) to insert shortcode easily.
Thanks.
Apr 12, 2018 at 2:53 pm #73579In reply to: hide categories from unauthorized users
Victor MaatMemberThis reply has been marked as private.Apr 12, 2018 at 5:50 am #73556In reply to: Setting frontend
ShahriarModeratorHi,
I have created frontend upload ( create new package ) form here http://www.luxury-italian-office.com/fashion-brands/frontend-upload/
It is working without any issue. I have usedfrontend-uploadas page slug here. You can’t usedownloadas your page slug because it is the URL base for your packages/downloads.You are using an older version of Download Manager. Please install the updated version to get the best experience. You can download it here https://www.wpdownloadmanager.com/user-dashboard/purchases/
Thanks.
Apr 11, 2018 at 4:00 pm #73526In reply to: Membership – Restrict by WPDM Package Category
AlesiaNMemberHi 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 🙁Apr 11, 2018 at 11:59 am #73499Topic: hide categories from unauthorized users
in forum Download Manager Pro
Victor MaatMemberI’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 addedHow 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
Apr 9, 2018 at 3:37 pm #73350Topic: Category pages
in forum Download Manager Pro
jonoreadParticipantHow 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.
Apr 9, 2018 at 9:20 am #73324Topic: New Import & Access Request Method
in forum Download Manager Pro
jacobicarbonsMemberHi 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
Apr 5, 2018 at 12:26 pm #73058In reply to: Template Name: Panel 1/3
Hasibul Amin HemelBlockedHi,
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
Apr 5, 2018 at 8:56 am #73047In reply to: Getting Downloads Into a different webiste
Hasibul Amin HemelBlockedHi,
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
Apr 4, 2018 at 11:11 am #72974In reply to: Migration Error Related to Download Manager
Hasibul Amin HemelBlockedHi,
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.phpwould solve the problem.Thanks
Apr 4, 2018 at 12:23 am #72950In reply to: Three problems after update!
iTeslaParticipantHello
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 112Could 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 399p.s. i was busy moving from GoDaddy my site was very slow on 27 march after the problem with downloads.
Apr 3, 2018 at 9:43 am #72906Topic: Downloads visible to Guests
in forum Download Manager Pro
Stephan GstöhlMemberI 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?
Apr 2, 2018 at 7:02 pm #72879Topic: Responsive Issues
in forum Download Manager Pro
Steve CulpMemberhttps://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?
Apr 2, 2018 at 3:03 pm #72854In reply to: CSS Change Template
Michael K.ParticipantThis reply has been marked as private.Apr 2, 2018 at 1:02 pm #72846In reply to: CSS Change Template
Michael K.ParticipantThis reply has been marked as private.Apr 2, 2018 at 12:48 pm #72842In reply to: CSS Change Template
Michael K.ParticipantThis reply has been marked as private.Apr 2, 2018 at 7:25 am #72821In reply to: CSS Change Template
Michael K.ParticipantThis reply has been marked as private.Apr 2, 2018 at 5:25 am #72818In reply to: WPDM – Amazon s3
Kulwinder AtwalMemberThe 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();
}Apr 2, 2018 at 5:24 am #72817In reply to: WPDM – Amazon s3
Kulwinder AtwalMemberI 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(); }Mar 29, 2018 at 4:04 am #72618In reply to: Problem with icons after update to 4.7.4
savvashaMemberOk 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/ -
AuthorSearch Results
Search Results for 'all downloads'
-
Search Results
-
Topic: Category pages
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.
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
Topic: Downloads visible to Guests
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?
Topic: Responsive Issues
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?