Create a page with [wpdm_my_downloads] shortcode. The user can download packages assigned to them from this page.
They can also download the package from package details page.
The screenshot is from Frontend Upload page where you upload/manage packages from the frontend. This page doesn’t server downloads. Also, user can only access packages he authored in this page.
But to access downloads assign to a user ( using Advanced access control as you have done ) a new download page with the following shortcode is required,
[wpdm_my_downloads]
Please let me know if you have any confusion here.
Add following code in your theme’s functions.php file to setup Logout redirect,
add_action('wp_logout', create_function('', 'wp_redirect(home_url("/")); exit();'));
Login Redirect,
add_action( 'template_redirect', 'wpdm_login_redirect' );
function wpdm_login_redirect(){
if( is_user_logged_in() && get_the_ID() == get_option('__wpdm_login_url') ):
wp_redirect( home_url('/') );
exit();
endif;
}
Hi,
The doc page explains how to customize WPDM templates. But template customization requires coding experience. If you don’t have coding experience our customization team can help you with such job. Our customization fee is $75/Hour.
Thanks.
You need Archive Page ( Directory Add-on ) for that. Use TinyMCE add-on to insert archive shortcode. You will find all available options there.
The exact shortcode used on the demo page is the following one,
[wpdm-archive button_style="inverse" link_template="link-template-panel-1-3" order_by="post_title" order="asc" items_per_page="10" cat_view="hidden"]
@cbenson583, If you haven’t change the domain, installing the latest version of Download Manager will fix license issue. Please send temporary wp-admin login info in private reply if you don’t want to update now. I will fix the license issue in the old version of WPDM.
@timgreenleaf, Please try now.
Your shortcode was wrong. I have created a test page here http://e4d.com/public_html/new/test/
Packages are loaded normally. There is a conflict with category dropdown with your theme. So, sidebar view is the better choice for you.
Use TinyMCE button to insert correct shortcode easily.
https://www.evernote.com/l/AUcXQBWHQqlHibcRnlbL34J6mMnCd5DfslMB/image.png
This issue is coming from verse theme.
Please go to /themes/verse/modules/preloader/preloader.php file and remove following code,
$('body').on('click','a', function(e){
e.preventDefault();
if($(this).attr('target')==undefined && this.href.indexOf('#')==-1 && !$(this).hasClass('app-image') ) {
$('#preloader').fadeIn(100);
location.href = this.href;
}
});
https://www.evernote.com/l/AUdt4YmF8vRGU5NVecpiJmeH5DoP-2YSYl8B/image.png
The 2checkout option is available in cart page after clicking “Checkout” button. Please use the following link check out the saved cart. I have added All Addon there.
https://www.wpdownloadmanager.com/cart/?savedcart=599dc5ac126d3
In 2Chkout site you will find the PayPal option after filling Billing Info,
https://www.evernote.com/l/AUc2aODBgpBBOa0nPeg5sw-uOjWEA4P8Q0cB/image.png
Use following code snippet,
$cats = wp_get_post_terms(get_the_ID(), 'wpdmcategory');
$all_cats = array();
foreach ($cats as $cat){
$all_cats[] = $cat->name;
}
$all_cats = implode($all_cats, ', ');
Now, $all_cats string contains all category names. Just echo $all_cats; to show all package categories.
Please send temporary wp-admin login info in private reply to check the issue. This might be related to a plugin conflict.
Hi JK,
If you are trying to sort tree in Alphabetical order, use the following shortcode,
[wpdm_tree orderby=title order=asc]
Thanks.
Hi,
Please try updating the package from admin area.
Send temporary wp-admin login info in private reply if that doesn’t solve the issue.
Thanks.
Hi,
You can use Doc Preview template to embed pdf in your site. This feature is available in Pro version Download Manager.
Thanks.
Package details page working now. Removed following code from line 258 in /libs/class.Package.php. Also no need to apply the code suggestion of my previous reply.
if($key != '') $this->$key = $val;
Send login url too
It depends on your php settings. The php.ini file defines where temporary files should be stored.
The error looks like related to W3 Total Cache. Could you please disable it to be sure if it is related to that plugin.
Please try now. Unlocked your key from the old domain.
Glad to know 🙂
Please send temporary wp-admin login info in private reply to check the Pro Membership settings issue.
The menu issue may be related to multiple bootstrap instances. You have to disable WPDM bootstrap if your theme is loading its own Bootstrap.
Custom coding is required to build the login popup like this site.
1 ) You have to put the template files in /your-theme/download-manager/ directory.
2 ) To get package categories you have to use wp_get_post_terms( $post_od, 'wpdmcategory' ); But it returns array of term objects which you have traverse to get terms names.
If you are creating a new package clicking submit button finally redirects to the edit page. So, the URL will actually be shown on the edit page.