Shahriar

Forum Replies Created

Viewing 25 posts - 1,126 through 1,150 (of 12,513 total)
in reply to: Replace Download Link Button text with Icon #113048

Shahriar
Moderator

Hi,

By default, No HTML is allowed as the button label. But you can override it using wpdm_custom_data hook. Add the following code to your theme’s functions.php file and set the font awesome icon <i class="fa fa-download"></i> in “Link Label:” option of package settings.

function wpdm_html_link_label($data, $ID){
    $data['link_label'] = get_post_meta($ID, '__wpdm_link_label', true );
    return $data;
}
add_filter('wpdm_custom_data','wpdm_html_link_label', 10, 2);

Best regards.


Shahriar
Moderator

Hi,

The issue was related to the Image Button add-on. I have deactivated it and download buttons are rendered properly now. The Image Button add-on will be deprecated soon and we will add additional options in Downloads > Settings > UI Interface settings to implement a similar feature.

Thanks.


Shahriar
Moderator

Okay, here you go 🙂

in reply to: Creating packages through API and uploading files #113045

Shahriar
Moderator

Hi,

You can upload files using the current version of WPDM REST API. Send files in POST request under files[] name

https://www.evernote.com/l/AUfv11eBL4xAtqvf91nbSW2KBnEcMbgbGcsB/image.png

curl -X POST \
  http://localhost/wpdm/wp-json/wpdm/v1/packages/ \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: f7f05d09-d254-407d-ac0a-ba2f2b4d1903' \
  -H 'cache-control: no-cache' \
  -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
  -F 'title=Uploading file via REST API' \
  -F slug=uploading-file-via-est-api \
  -F status=publish \
  -F 'tags=rest, file' \
  -F 'access[]=guest' \
  -F 'files[]=@/C:/Users/Shahriar/Downloads/sample.csv' \
  -F 'files[]=@/C:/Users/Shahriar/Downloads/update.csv'

The endpoint wp-json/wp/v2/wpdmpro is the default one which has limited support. Use the one from WPDM APPI doc.

Thanks.


Shahriar
Moderator

It is possible but requires a custom template for /download-manager/tpls/wpdm-all-downloads.php I have created the custom template which sorts by download count. Download the file from the following link and place it in /active-theme/download-manager/wpdm-all-downloads.php

https://www.dropbox.com/s/ev77auo5vt8a3wj/wpdm-all-downloads.php?dl=1

in reply to: File hosting, File browser short code not working #113041

Shahriar
Moderator

Download Issue: When you use the main download button to download all files WPDM creates a compressed zip to serve the download. Creating a zip requires lots of server resource and if there are too many files some servers can’t handle the request. That what happened in your case. So, the solution here is enabling single file download or just upload an already zipped file.

Naming issue: Download Manager renames a file when there is an existing file with the same name. You can enable the override if you want in which case the old file will be overwritten by the new one instead of using a new name.

Link expired notice: WordPress uses nonce in all actions. And nonce expires after a defined period. So, you can’t create the pacakge that you opened yesterday. Just upload your files using WPDM asset manager or FTP app. The link the server dir when creating the package.

No, it is not possible to create pacakge automatically without clicking the “Create Package” button.

I have added the custom CSS in Customize > Additional CSS option. So those won’t be lost in plugin update. But if you make any changes inside plugin folder changes will be lost when you update the plugin.

in reply to: Attaching A File Problem #113040

Shahriar
Moderator

Hi,

The login info doesn’t work. Also, you are using a very old version ( 4.6.7 ) of Download Manager. Please install the latest version. Follow these steps to update the plugin,

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 and activate the license key.

After the update login to your WPDM account from Downloads > Settings > Updates to enable auto update feature.

Thanks.


Shahriar
Moderator

You can use the video player to show video player like this demo https://demo.wpdownloadmanager.com/wpdmpro/download/video-player-play-download/

But customization is required to open the video in a popup.

in reply to: 500mb files download very slowly #113038

Shahriar
Moderator

Download speed was excellent on my test. The issue you encountered may be related to your connection or the server load was high at that time. Please check the following gif.

https://www.dropbox.com/s/ka3a9k2dteg30nb/download-speed.gif?dl=0

in reply to: Interaction with woo commerce #113037

Shahriar
Moderator

Hi,

The issue was related to the Image Button add-on. I have deactivated it to fix the issue. The Image Button add-on will be deprecated soon and we will add additional options in Downloads > Settings > UI Interface settings to implement a similar feature.

Thanks.

in reply to: Invalid License Key? #113033

Shahriar
Moderator

Hi,

Please install the latest version to fix the issue. Follow these steps to update the plugin,

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 and activate the license key.

Thanks.

in reply to: Attaching A File Problem #113032

Shahriar
Moderator

Please check the “File Browser Root:(?)” and “File Browser Access:” options in the Basic settings page. Maybe something is wrong with the browser root or user role isn’t set in “File Browser Access:” option. Send temporary wp-admin login info in private reply if you can’t fix the issue.

in reply to: How to Show Next Previous On The Package Page #113031

Shahriar
Moderator

Hi,

You have to modify your theme’s single.php template to add the next/prev link in package details page. Please download one of our free themes. You can copy the code from there.

Thanks.

in reply to: Using Custom Link Template in a Custom Page Template #113030

Shahriar
Moderator

Hi, Please check your inbox. Replied there. Thanks.

in reply to: Review Add On Triggering 502's #113029

Shahriar
Moderator

Could you please send me the error log file? Maybe we will find something there which could help us to resolve the issue.


Shahriar
Moderator

Hi,

The issue is coming from your active theme. It doesn’t render the post content. I have switched to the default theme temporarily for testing. Everything works fine there http://prntscr.com/pbwyk9

Please ask the theme developer to check the issue. Most probably the theme isn’t calling the the_content() in single.php template. Another option is creating a custom template single-wpdmpro.php for packages. If this template exists in your theme other templates will be ignored and this one will be used to display package content.

Thanks.

in reply to: Amazon S3 Account / User Configurations #113027

Shahriar
Moderator

There is no option yet to create a folder. It is already in our to-do list. Will be added soon maybe in next version.

in reply to: File's Not Uploading #113026

Shahriar
Moderator

Please deactivate the Download Manager from network admin and then activate on each subsite separately. That should fix the issue.

in reply to: Translate "Download" button text into "Descarga" #113025

Shahriar
Moderator

You can change the button level from package settings meta box. Button label comes from the “Link Label:” option.


Shahriar
Moderator

Hi Spyros,

The PayPal pay now ( skips checkout page ) feature was actually introduced recently where you encounter the tax issue. The old way of checking out does work properly.

When a new feature is introduced it is not unusual to encounter a bug. I understand that the tax is a sensitive issue for a company and ensure you a fix will be available soon. In the meantime, you can continue using the standard checkout page where there is no tax-related issue. You can deactivate the in-page checkout by deactivating “Show Buy Now option” in Premium Package settings.

When someone encounters an issue and reports it to us we are responsible to provide a solution to the issue related to our product but nothing beyond that.

Thanks.


Shahriar
Moderator

Hi,

There is no built-in option available to filter packages by year. But you can use sorting by date in various shortcodes. For example, please check Directory Add-on demos here https://demo.wpdownloadmanager.com/wpdmpro/archive-page-compact/

It is possible to implement the exact solution you want but that would require code customization.

Thanks.

in reply to: Generate Download URL for Editors #113022

Shahriar
Moderator

Please replace manage_options with edit_pages in download-manager.php line no 33 too.

in reply to: Bug if Package in 2 or more categories #113021

Shahriar
Moderator

Ok, got the issue. Will be fixed in next release of the add-on. Thanks.

in reply to: Purchased Premium, Now getting PHP Errors? #112996

Shahriar
Moderator

Please try reinstalling the plugin. If that doesn’t work send temporary wp-admin and FTP login info in private reply.


Shahriar
Moderator

Add the following code after endforeach; and post thumbnail will be used as a fallback ( http://prntscr.com/pbh5j7 )

Viewing 25 posts - 1,126 through 1,150 (of 12,513 total)