Are you setting a price for the package? I mean do you use the Premium Package add-on? If yes, then this add-on has the support of adding the free file to a premium package. This free file is downloadable without payment. But to access the premium files user must pay first or be a member of a subscription plan if you are using our WP Pro Membership add-on.
1 ) Enable the user registration by checking the “Anyone can register” ( The text maybe different in your language ) option in Dashboard > Settings > General page. Then use the following shortcode for registration form.
[wpdm_reg_form logo="https://i0.wp.com/trainers.thehookers.nl/wp-content/uploads/2019/07/cropped-Center.jpg"]
2 ) When creating a package set Subscriber role in allow access option.
Let me know if you need further assistance.
Add this code to your theme’s functions.php
file. Set the default price by updating this line $default_price = 100;
function wpdm_set_default_post_metadata($check, $post_id, $meta_key, $single ){ global $pagenow; if ( ( $pagenow == 'post-new.php' || ( isset( $_GET['adb_page'] ) && get_post_status() == 'auto-draft' ) || ( isset( $_GET['__wpdmedit'] ) ) ) && get_post_type() == 'wpdmpro' ) { $default_price = 100; if( $meta_key == '__wpdm_base_price') return $default_price; } return $check; } add_filter( 'get_post_metadata', 'wpdm_set_default_post_metadata', 10, 4 );
Add the following CSS to your Customize > Additional CSS option.
.category-panel .panel-footer { display: none; }
We can remove the path from the file using the following simple code customization. You have to add this code to your theme’s functions.php
file.
function update_file_title_after_import_package($post_id, $fileinf){ $files = maybe_unserialize(get_post_meta($post_id, '__wpdm_files', true ) ); reset($files); $file_id = key($files); $fileinfo = array(); $fileinfo[$file_id]['title'] = $_POST['fname']; update_post_meta($post_id,'__wpdm_fileinfo',$fileinfo); } add_action('after_import_package', 'update_file_title_after_import_package', 10, 2);
Do you want to disable download button for the mp3 file? It is possible but requires some minor customization.
About the mid icon, we can add another icon for that in the next release.
You can change the plan name by editing the plan from Membership > Plans page.
We are checking the issue. Will add a patch in next release to fix it. For now please use another browser.
Please check the ‘Open in browser’ option from the Basic Settings page. Turn it off. The use the File List or Extended page template for your package.
When inserting the image in the page set full size. Please check the following screenshot.
Set toolbar="0"
in your shortcode. It is currently set as toolbar="1"
in your shortcode.
Hi,
It is impossible to keep the ID same as old site. Because WordPress uses the same post table for all post types. That means some other post may have already used the ID that was a package ID in the old site. And when creating a package we can’t send the ID as a parameter. It is auto-generated by the system.
Thanks.
@napes001, Unlocked your key. If still getting an error make sure you have installed the latest version 4.9.8
Hi Adrian, Custom templates are saved in DB. So, those will be lost if you don’t move the DB. Please send temporary wp-admin login info in private reply to check the Warnings issue.
Use base_price
column to set price. Sorry, Not sure what you meant in the file size question. We can continue the discussion in your other ticket which reports a similar issue.
Sorry for the delay. This is a bug in the latest version of the plugin. We are releasing an update soon to fix the issue. Do not have an exact date yet. But will release asap.
You are using an old version of Download Manager. Please update the plugin to the latest version. Let me know if that doesn’t fix the issue. Also, is it okay if deactivate other plugins temporarily to find any possible conflict?
Please send temporary wp-admin login info in private reply to check the issue. Also, send me the server’s error log. That should indicate where things went wrong.
Looks like PDF viewer is working on both links. Please let me know if still having an issue somewhere else.
Please send temporary wp-admin login info in private reply to check the issue. Are you using the Email Notification add-on? Have you made any recent changes in the server’s email settings?
You can use the following sample CSV to update package price. Or just send me your CSV file, I will fix any error there and send it back to you.
https://www.dropbox.com/s/6saug81s253zapi/update-packages.csv?dl=0
You can add the border using CSS. Please send me the page URL to suggest custom CSS.
Hi Scott,
Thanks for the inspiring words. We are still making some changes here and there on the site. Do let us know if you see any issue.
Looks like the guest order hasn’t been fixed yet. We will fix it as soon as possible.
If you are referring to the guest order details page then the correct template is /templates/partials/guest-order-details.php.
You have to put the custom template in /yourtheme/download-manager/partials/guest-order-details.php
Best regards.
Not sure where exactly you want to make these changes. Could you plese send me page link or tell me which shortcode you are using there?
Yes, you can use a custom page template without the [download_link]
template tag. Clone the current page template and just remove the [download_link]
tag from there.
Please try log out and login in again to your WPDM account from your Settings > Updates Tab. Send login info in private reply if that doesn’t work.