Forum Replies Created
@recyclart, The icon issue is related to Font Awesome conflict. Please send login info in private reply. I have to check your setup to find where the conflict is coming from.
Hi,
I see that WPDM is active there now but the toggles are working too. To investigate the issue further, Please try placing the all packages table shortcode on a clean page and check the console. If the error still is still there then it means the conflict is between the toggle and js table. In that case, try turning off js table by setting jstable=0 in the all packages table shortcode to see if that resolves the issue.
Thanks.
You can collect custom info during checkout by using a custom template of /wpdm-premium-packages/templates/checkout-cart/checkout-billing-info.php file. This template can be overridden by copying it to yourtheme/download-manager/checkout-cart/checkout-billing-info.php location.
Add your custom filed in that file and follow the same structure as other fields. The data will be saved in billing_info column of wp_ahm_orders table.
Here is an example of retrieving custom data from billing info.
$orderid = '5c59ee68ce81f';
$order_instance = new \WPDMPP\Libs\Order();
$order = $order_instance->GetOrder( $orderid );
if( is_object( $order ) ) {
$billing_info = unserialize( $order->billing_info );
$custom_data = isset( $billing_info['custom_data'] ) ? $billing_info['custom_data'] : '';
}
Are you using Advanced Access Control add-on to share a pacakge with a user?
Showing only packages shared with the user and making them editable requires more code customization. Have you created the template file for /download-manager/tpls/list-packages-table.php ( step 2 in my previous reply )? Add the following code inside the while loop in that template.
if( ! wpdm_user_has_access( $post->ID ) ) continue;
https://www.evernote.com/l/AUeHtETwfllCBZMv0QL3Unh0GnYJwWbYvYIB/image.png
Hi,
Are you using a custom template? Built-in templates shouldn’t create any layout issue. Please send me page link to check the pagination issue, I can suggest custom CSS to hide the pagination numbers and only show next/previous buttons in mobile.
Directory add-on default view has changed in the latest version. The old view ( categories above downloads ) is not available anymore. But it is possible to use that view using a custom template.
Thanks.
Sorry, the option is actually “Login Required Message:” Actually, It was there before but your theme is hiding the .panel class, that’s why the login button was hidden. I have removed the div with .panel class and updated the “Login Required Message:” option. Now the login button is visible.
Currently login button is linked to the default WP login page. If you want you can create a page with [wpdm_login_form logo="your_logo_url"] shortcode to use the WPDM login form. Then set that page as login page in Settings Frontend Access Login Page option.
You can use the Default Values Add-on ( https://www.wpdownloadmanager.com/download/wpdm-default-values/ ) to bulk update link template for all packages. The link template option in your first screenshot is meant for a different purpose.
WPDM Locks are OR-based means you can’t add a condition to unlock both locks before serving download. However, you can use the Form Lock ( https://www.wpdownloadmanager.com/download/wpdm-form-lock/ ) add-on to request custom info from the user. And you can add your captcha with that form too.
Hi David,
In some server, the update fails due to permission issue. However, you can complete the update process manually,
1 ) Deactivate and delete the old version. You won’t lose any data.
2) Download latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
3 ) Install the latest version.
We don’t check this ticket as it was not meant for support request. Please create a new ticket and send admin login info as a private reply there, if you want me to install the latest version for you.
Thanks.
Your translation is incomplete. Please add the remaining strings the make it 100% translatable.
https://www.evernote.com/l/AUejL5q4115Eaakm1ChCpz-HV5FQPy5FKpUB/image.png
Hi Deepa,
There is no option available yet to import orders in Premium Package. Maybe the import is possible with a customized solution.
Premium Package uses wp_ahm_orders and wp_ahm_order_items table to keep order records. Please check those table structure to understand if that matched with your old data.
Thanks.
Maybe something an issue with API keys permission, please check the permission settings of your API key in your s3 account.
Add the ID column, but you have to match those IDs with actual pacakge ids. We added the CSV export feature in the latest version. That adds the ID column in the exported file. You can utilize that feature. Remove CSV columns from exported files that seem unnecessary to you.
Add the following code to your theme’s functions.php file. This should delete attached files when deleting the pacakge.
add_action('before_delete_post', 'wpdm_delete_files_on_package_deletion' );
function wpdm_delete_files_on_package_deletion( $post_id ){
if( get_post_type($post_id ) != 'wpdmpro' ) return;
$files = maybe_unserialize(get_post_meta($post_id, '__wpdm_files', true));
if (!is_array($files)) $files = array();
foreach ($files as $id ► $file):
if( file_exists( $file ) )
unlink( $file );
if( file_exists( WP_CONTENT_DIR.'/uploads/download-manager-files/'.$file ) )
unlink(WP_CONTENT_DIR.'/uploads/download-manager-files/'.$file );
endforeach;
}
Your reading setting was set to show 4 latest posts. I have updated the add-on code to ignore this option. Now all packages are shown there.
Hi,
In some server, the update fails due to permission issue. However, you can complete the update process manually,
1 ) Deactivate and delete the old version. You won’t lose any data.
2) Download latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
3 ) Install the latest version.
Send admin login info in private reply, if you want me to install the latest version for you.
Thanks.
Hi,
Unlocked your key. You can use it on your new domain now.
Thanks.
Please check now.
https://www.evernote.com/l/AUdPwVCT2iNCAJEXdLWHoKChcuL7WfRfMdsB/image.png
You can adjust the position from settings.
https://www.evernote.com/l/AUeDN6HgIDZOw5438IjsHvXQXAs5S_W_OfoB/image.png
Do you mean you don’t want these changes to be applied in file lists placed on some other places? Please send me the page link again.
Please send temporary wp-admin login info in private reply to check the issue.
Use the [wpdm_frontend flaturl=0] shortcode to show the frontend editor. All Items tab lists all packages. You can click the edit button to edit a package.
https://www.evernote.com/l/AUdBlfiYXMFLfr0y7G-CqJPxgxUCfmvSsEkB/image.png
A ) Follow this one – Setting up PayPal smart button for Premium Packages. This is the latest approach.
B ) Uploaded files are stored in /uploads/download-manager-files/ directory.
C ) You can use template tag in page template to show the buy now button. WPDM converts the download button to buy now button when you set a price for the pacakge. If you want it more customized then there are other tags avaialbe too. Check the template editor Premium Package dropdown.
Yes, we are adding this in next update. Glad to know this tiny patch solved your issue 🙂