If anyone else has issue with inconsistent behavior from the documentation, here was my solution.
1. Create an ACF or other custom field and paste in the id number in the post page -> $packageID = get_field(‘user_submitted_app_download_id’);
2. Get the data for the item (download package) like this -> $package = wpdm_get_package($packageID); you can run a print_r on the $package to output the object and find what you want in the array
3. Then you can access whatever you want like this -> $page_link = $package[‘page_url’]; and output like <?php echo $page_link; ?>
Im sure I totally missed the boat, and there may be an easier built in way, but this worked for me.
1. You can provide access control to any category, even custom taxonomies by attaching any category or custom taxonomy to a Membership Level. Now, the packages under that categories will be under membership level.
2. Do you want to hide the items section tab from user front end dashboard? Then, you can just remove add_filter("wpdm_user_dashboard_menu",array($this,"dashboard_menus")); this from your plugins/wppromembership/wppromembership.php file.
3. Without a subscription, the user can’t access the content, if you want to show only content and hide the download link then go to Content Visibility section from membership advance setting, then check Show WPDM Pacakge Info?.
4. You can use class="classparent <?php if ( is_user_logged_in() ) {echo 'loggedin';} in the class and then define .classparent.loggedin in theme css file to make change the css for loggedin user.
5. Payment gateway like PayPal has that feature that you can change directly from there. But it is a nice idea we can implement.
There is an issue with your theme front-end builder zindex, that inherits the popup zindex. So, for alternate solution i put [download_link_extended] in the template.
After you modify a page template, you can select the template from single package setting, Details here. Page template will work with single package view. While link template will only work with the shortcode that includes the package link into any page/post.
And if you make a link template, then it will only work with the shortcode of link, Details Here.
And for modifying the template file you can follow this tutorial.
Yes, You can use custom page/link template addon to make direct download link in the icon, for this, you need to create custom template or modify an existing template file from wp-admin/edit.php?post_type=wpdmpro&page=templates this page.
You can use this code <a href="[download_url]">[icon]</a> to make the link work with the icon.
I can’t find anywhere in the settings that I can control the links to pages associated with a package. I’m using both the default links (individual file on a page) and the extended add-on shortcode for displaying categories. In both cases, I want all links to only download the PDF – not to go to the page template that shows file information. Is it possible to do this?
Also, the free version seemed to allow a default choice of template for the download links, but now that I’ve installed the pro version, it looks like I have to set the template for every package… is this the case?
We tried downloading the product which has attached files as AWS file links. The download returns no File Found issue.
After my developer dug more at code level he was able to fix the issue via removing the your “wpmp_user_subscription_download” function and adding a custom in the same hook.
Could you check and resolve this issue so that this is fixed in the default way and not via a custom code fix.
How to remove ‘$’ ( dollar ) sign for prepaid credits. I want to show only number as points to purchase the item. in other words, no.of credits to get download link.
Example : 500 points for Book01
I have a strange problem on a page created with the MPdownload manager plugin.
When I made a right clic on an element of the list and ask to open in a new window, the link is correct and the picture is opening.
But when I make a left clic, then the picture don’t display and it go back to my site landing page. I don”t understand the problem.
It’s happen only on Chrome OS X, not Safari
Somebody can Help ?
for Template Link and Page Templates option is not visible. no problem I solved by writing the name of the template.
but I would like to ask the permissions of the download manager category,
Whether with this plugin user A can only access category A, and user B can only access B, and category A is not visible in user B.
I can’t give you a login because the server is private, so even if you had credentials, the development website is still inaccessible to the public.
And Shahriar, unlocking all downloads with one form submission would be nice, but I found a work-around that suits my needs.
I changed the link-template to one that only has the link to the designated download page of the file. Then, I changed that page template to a custom one I made that only shows the extended download link. Since Form Lock is on, this is replaced with the form, so it looks like the page redirected to the form, but is actually on the package page. Filling out the form and clicking “Submit” shows the direct download link as I wanted it to.
Thank you guys for all of your help! Bouncing some ideas off of you helped me figure-out this clean work-around 🙂
I’m still stuck here. I can see how to change the link template and button (however, I’m OK with the main button I already have). My problem is the background colour of the buttons showing file details (blue in my image) and the ‘individual’ download link buttons. I can’t see where these are set or how to change their colour. I have shown the buttons with arrows pointing to them on the attached image.
My download links are not being displayed properly. You can visit the graphics section of my website in IE to take a look. Also I think one of my widgets is not being displayed correctly due to the errors.
So kindly resolve the errors or guide me how to do the same.
Sorry, it is not possible yet. But we will look into this to link submissions with packages. For now, you can try the Advanced Custom Fields add-on, which integrates with email lock. Custom form data are saved in Downloads Subscribers page and linked with packages in this case.
Hi,
I would like to disable the link on package title. I only want the download button and not the page template. Is it possible ?
Is it possible to open PDF on new window instead of direct download ?
Kindly,
Olivier
You can modify the page template and link template from /wp-admin/edit.php?post_type=wpdmpro&page=templates page. You can create a new template with the existing variable defined. Where you can use HTML and inline CSS to change the style.
Ok, I don’t think the customers understand we shall click the link a the right… Is there a way to make (in my chase TEST) download directly? Or REMOVE the link so it’s only the link at the right that i clickable??
I’m now familiar with php, but if I change the table template, can I do it right here ../download-manager/tpls/wpdm-all-downloads.php ??
It will not be overwritten when updating?