Forum Replies Created
Hi,
WPDM plugins and themes are compatible with Gutenberg. We have a Gutenberg Blocks add-on for WPDM. Check details here https://www.wpdownloadmanager.com/download/gutenberg-blocks/
Thanks.
WP Pro Membership will allow you to create multiple membership levels ( user roles ). If you are using wp-members only for creating two roles you don’t need it after installing WP Pro Membership.
The issue was coming from your BJ Lazy Load plugin. This plugin dynamically adds CSS classes in some element which broke the js and created some error on the page. After deactivating it frontend upload is working again.
The issue was coming from your BJ Lazy Load plugin. This plugin dynamically adds CSS classes in some element which broke the js and created some error on the page. After deactivating it frontend upload is working again.
For now, Please replace from line 80 to 115 in /download-manager/admin/menus/class.Subscribers.php with the following code. Or send login info in private reply. I will do it for you.
$csv .= "\"package\", \"email\", \"" . ($custom_fields?implode("\", \"", $custom_fields):'') . "\", \"date\"\r\n";
$source = wpdm_query_var('lockOption');
foreach ($res as $row) {
$data = array();
$data['package'] = get_the_title($row['pid']);
$data['email'] = $row['email'];
if(isset($row['custom_data'])) {
$cf_data = unserialize($row['custom_data']);
foreach ($custom_fields as $c) {
$index = isset($data[$c]) ? "_" . $c : $c;
$data[$index] = isset($cf_data[$c]) ? $cf_data[$c] : "";
if (is_array($data[$c])) $data[$c] = implode(", ", $data[$c]);
}
}
$data['date'] = isset($row['date'])?date("Y-m-d H:i", $row['date']):"";
$csv .= '"' . @implode('","', $data) . '"' . "\r\n";
}
header("Content-Description: File Transfer");
header("Content-Type: text/csv; charset=UTF-8");
header("Content-Disposition: attachment; filename=\"emails.csv\"");
header("Content-Transfer-Encoding: binary");
header("Content-Length: " . strlen($csv));
echo $csv;
die();
Please send login URL.
Tip: Check if your WPDM Bootstrap JS is deactivated in WPDM Basic Settings page. The issue could be related to missing Bootstrap JS. Activate it is is in the deactivated mode.
It means zip library is not activated your server. When you try to download multi-file package, it requires to create zip file from attached files to start the download and it usage ZipArchive class for this purpose, which requires zlib to be active in your server. Please contact your server support to help you activate zlib.
Yes, you can delete one file from edit package screen. Click the trash icon in the Attached files meta box to remove a file and then update the package.
https://www.evernote.com/l/AUcIPHP95Q1DO7Xza9xj5HyjwKBTqrKf1KMB/image.png
Could you please send login info in private reply? I have to check it there. You can also try deactivating other plugins to check if the issue is created by another plugin.
You can use the save_post hook to compare the old files and new files submitted for the update. If you find any difference update your custom field.
Call the save_posthook with the highest priority 1 to get the old meta values of files before it gets updated.
[thumb_WxH] – show preview thumbnail with specified width and height if available,l eg: [thumb_700x400] will show 700px × 400px image preview
[gallery_WxH] – show additional preview thumbnails in gallery format, each image height and with will be same as specified, eg: [gallery_50x30] will show image gallery of additional previews and each image size will be 50px ×x40px
There are 2 ways. You can use the custom fields add-on to add custom fields. Insert the custom field value in edit package screen. The ACF add-on will provide you template tags that you can use in custom link/page template to show you custom data.
Another approach is adding new custom template tags using filter hook wdm_before_fetch_template. Use this option if your template tag generates something dynamic. This is the more completed option and requires coding experience. Here is the filter documentation https://www.wpdownloadmanager.com/doc/filter-reference/wdm_before_fetch_template/
1 ) Yes, you can add custom fields in the edit package page. Create custom fields from Downloads Custom Fields page.
2 ) You can hide specific package settings using CSS. To add new option use wpdm_package_settings_tr hook to add custom options. You have to follow the code structure shown below,
function wpdmpro_package_settings_custom( $postid ) {
// Your code to add custom settings.
}
add_action('wpdm_package_settings_tr', 'wpdmpro_package_settings_custom');
Hi,
It is not possible yet. We will add frontend tag support from next release of Download Manager. We missed that in the latest release but will surely add it in next one.
Thanks.
You can try using [wpdm_packages] shortcode. Install the WPDM TinyMCE Button add-on. You will find some variations of this shortcode.
https://www.evernote.com/l/AUcMBPNaSnlE3rUJ5692aHeCCh2LqRo_RnUB/image.png
Hi, Unlocked your key. You can use it on the production domain now. – Thanks.
You still have the free version there. Please deactivate and delete the free version, you won’t lose any data. Then install the Pro version. The frontend shortcode works with Pro only. You can download the Pro version from your Download Area.
Send me the login URL the one from heading asks email address.
Have you added the site URL in “Valid OAuth redirect URIs” option in “Facebook Login” settings? Please send temporary wp-admin login info in private reply to check the issue. I will test it using our App credentials.
Hi,
Please send wp-admin login info to install the custom add-on. Where can I get the Organization info? Is this saved as user meta? I must check the in which key org name is saved to export it.
Thanks.
In that case, undo the change you made. And add following marked code in /download-manager/wpdm-functions.php,
https://www.evernote.com/l/AUf-FFEmCntKL5bR4T9gtj0xU7STJxLovjEB/image.png