Shahriar

Forum Replies Created

Viewing 25 posts - 3,976 through 4,000 (of 12,513 total)
Dec 7, 2018 at 3:41 pm
#90480
Moderator
Shahriar
Staff OP

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.

Dec 7, 2018 at 3:38 pm
#90479
Moderator
Shahriar
Staff OP
This reply has been marked as private.
Dec 7, 2018 at 3:37 pm
#90478
Moderator
Shahriar
Staff OP

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.

Dec 6, 2018 at 10:45 am
#90442
Moderator
Shahriar
Staff OP

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.

Dec 6, 2018 at 10:37 am
#90441
Moderator
Shahriar
Staff OP

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.

Dec 5, 2018 at 8:07 pm
#90414
Moderator
Shahriar
Staff OP

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();
Dec 5, 2018 at 7:58 pm
#90413
Moderator
Shahriar
Staff OP

Unlocked.

Dec 5, 2018 at 7:58 pm
#90412
Moderator
Shahriar
Staff OP

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.

Dec 5, 2018 at 7:54 pm
#90411
Moderator
Shahriar
Staff OP

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.

Dec 5, 2018 at 7:47 pm
#90410
Moderator
Shahriar
Staff OP

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

Dec 5, 2018 at 7:43 pm
#90409
Moderator
Shahriar
Staff OP

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.

Dec 5, 2018 at 7:41 pm
#90408
Moderator
Shahriar
Staff OP

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.

Dec 5, 2018 at 7:21 pm
#90407
Moderator
Shahriar
Staff OP

[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

Dec 5, 2018 at 7:02 pm
#90405
Moderator
Shahriar
Staff OP

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/

Dec 5, 2018 at 6:57 pm
#90403
Moderator
Shahriar
Staff OP

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');
Dec 5, 2018 at 6:47 pm
#90402
Moderator
Shahriar
Staff OP

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.

Dec 5, 2018 at 6:41 pm
#90401
Moderator
Shahriar
Staff OP
This reply has been marked as private.
Dec 5, 2018 at 6:17 pm
#90398
Moderator
Shahriar
Staff OP

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

Dec 5, 2018 at 6:11 pm
#90397
Moderator
Shahriar
Staff OP

Hi, Unlocked your key. You can use it on the production domain now. – Thanks.

Dec 5, 2018 at 6:10 pm
#90396
Moderator
Shahriar
Staff OP

Unlocked the key. – Thanks.

Dec 5, 2018 at 6:08 pm
#90395
Moderator
Shahriar
Staff OP

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.

Dec 5, 2018 at 6:05 pm
#90394
Moderator
Shahriar
Staff OP

Send me the login URL the one from heading asks email address.

Dec 5, 2018 at 6:03 pm
#90393
Moderator
Shahriar
Staff OP

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.

Dec 5, 2018 at 9:39 am
#90377
Moderator
Shahriar
Staff OP

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.

Dec 4, 2018 at 7:58 pm
#90360
Moderator
Shahriar
Staff OP

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

Viewing 25 posts - 3,976 through 4,000 (of 12,513 total)