Shahriar

Forum Replies Created

Viewing 25 posts - 3,351 through 3,375 (of 12,513 total)
Feb 5, 2019 at 8:41 pm
#93322
Moderator
Shahriar
Staff OP

@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.

Feb 5, 2019 at 8:38 pm
#93321
Moderator
Shahriar
Staff OP

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.

Feb 5, 2019 at 8:21 pm
#93320
Moderator
Shahriar
Staff OP

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'] : '';
}
Feb 5, 2019 at 8:08 pm
#93319
Moderator
Shahriar
Staff OP

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

Feb 5, 2019 at 8:00 pm
#93317
Moderator
Shahriar
Staff OP

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.

Feb 5, 2019 at 7:45 pm
#93316
Moderator
Shahriar
Staff OP

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.

Feb 5, 2019 at 7:22 pm
#93311
Moderator
Shahriar
Staff OP

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.

Feb 5, 2019 at 6:52 pm
#93310
Moderator
Shahriar
Staff OP

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.

Feb 5, 2019 at 6:48 pm
#93309
Moderator
Shahriar
Staff OP

Your translation is incomplete. Please add the remaining strings the make it 100% translatable.

https://www.evernote.com/l/AUejL5q4115Eaakm1ChCpz-HV5FQPy5FKpUB/image.png

Feb 5, 2019 at 6:35 pm
#93308
Moderator
Shahriar
Staff OP

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.

Feb 5, 2019 at 6:20 pm
#93305
Moderator
Shahriar
Staff OP

Maybe something an issue with API keys permission, please check the permission settings of your API key in your s3 account.

Feb 5, 2019 at 6:14 pm
#93304
Moderator
Shahriar
Staff OP
This reply has been marked as private.
Feb 5, 2019 at 5:54 pm
#93303
Moderator
Shahriar
Staff OP
This reply has been marked as private.
Feb 5, 2019 at 5:46 pm
#93302
Moderator
Shahriar
Staff OP

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.

Feb 5, 2019 at 5:43 pm
#93301
Moderator
Shahriar
Staff OP

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;
}
Feb 5, 2019 at 5:16 pm
#93298
Moderator
Shahriar
Staff OP

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.

Feb 5, 2019 at 4:58 pm
#93297
Moderator
Shahriar
Staff OP
This reply has been marked as private.
Feb 5, 2019 at 4:56 pm
#93296
Moderator
Shahriar
Staff OP

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.

Feb 5, 2019 at 4:53 pm
#93294
Moderator
Shahriar
Staff OP

Hi,

Unlocked your key. You can use it on your new domain now.

Thanks.

Feb 4, 2019 at 6:45 pm
#93251
Feb 4, 2019 at 6:29 pm
#93249
Moderator
Shahriar
Staff OP

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.

Feb 4, 2019 at 6:26 pm
#93248
Moderator
Shahriar
Staff OP

Please send temporary wp-admin login info in private reply to check the issue.

Feb 4, 2019 at 6:24 pm
#93247
Moderator
Shahriar
Staff OP

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

Feb 4, 2019 at 6:21 pm
#93246
Moderator
Shahriar
Staff OP

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.

Feb 4, 2019 at 5:55 pm
#93245
Moderator
Shahriar
Staff OP

Yes, we are adding this in next update. Glad to know this tiny patch solved your issue 🙂

Viewing 25 posts - 3,351 through 3,375 (of 12,513 total)