Shahriar

Forum Replies Created

Viewing 25 posts - 751 through 775 (of 12,513 total)
in reply to: File not found or deleted from server #114211

Shahriar
Moderator
This reply has been marked as private.
in reply to: 5.0.2 update #114210

Shahriar
Moderator

Yes, you can update the plugin. View details modal won’t show anything becasue the plugin is not hasted in the wp.org

in reply to: Date Format Shortcode Output #114209

Shahriar
Moderator

Yes, you have to add this again after the update. But we have the plan to take the date format from the setting, if that happens no changes will be necessary after the update.

in reply to: Download limit not working #114208

Shahriar
Moderator

This message will be shown to visitors when the package requires signup to access the download ( allow access option is set to some use roles ).

Also, you have to uncheck the “Show Only Login Form Instead of Login Required Message ” option, if this option is checked a login form will be shown instead.

I have tested this with one of your packages and it works http://prntscr.com/pqucq7

in reply to: Login redirection issue #114206

Shahriar
Moderator

Not possible when “Login redirect” is deactivated. You can activate the login redirect but use the following URL when you want to access the admin side, the skipwpdm=1 parameter bypasses the login redirect.

https://cigwpstaging.wpengine.com/wp-login.php?skipwpdm=1

in reply to: Tabs not working on Frontend Uploader #114204

Shahriar
Moderator

Added the following JS in /tpls/metaboxes/attach-file.php to fix the tab conflict with your theme.

jQuery('#ftabs ul.nav-tabs li a').on('click', function () {
        var tab = jQuery(this).attr('href'); //alert(tab);

        jQuery('#ftabs ul.nav-tabs li.active').removeClass('active');
        jQuery(this).parent().addClass('active');

        jQuery('#ftabs .tab-content .tab-pane.active').removeClass('active');
        jQuery(tab).addClass('active');
});

By default, the frontend uploader doesn’t have the “Download Availability Period” feature. But I have added this on your site by editing /tpls/wpdm-add-new-file-front.php

To keep this customization safe from plugin update created custom template for both files and placed those in /divi-child/download-manager/ directory.

Adding stats in frontend uploader required detailed code customization https://www.wpdownloadmanager.com/download/custom-upgrade-service/

in reply to: Password popup does not work with DIVi Theme #114202

Shahriar
Moderator

Password locked files are opening in a new tab by default. Please send temporary wp-admin login info in private reply if it acts differently on your setup.


Shahriar
Moderator

Please send me those values to check. Create 2 separate text files.

in reply to: Problem: displaying categories #114198

Shahriar
Moderator

@bgmarketing, thanks a lot for your kind support.


@kodo
, Please send temporary wp-admin login info in private reply. It looks like an issue related to theme or plugin conflict.


Shahriar
Moderator

If you add the ID column then import process will update the package ( it will find the package using ID ), no new package will be created if the ID column exists in the CSV. Also, if there is no existing package of provided ID nothing will happen.

in reply to: Disable Email in Private Message Plugin? #114196

Shahriar
Moderator

Hi,

Please remove <div>{{ user.email }}</div> from line 36 in /wpdm-private-message/tpls/message-form.php file. That will remove the email.

Thanks.

in reply to: Adding additional sections in User Dashboard #114194

Shahriar
Moderator

Everything looks okay there.

in reply to: [wpdm_category] use AND operator for tags #114193

Shahriar
Moderator

Thanks, noted.

in reply to: Multiple Issues Need Looking Into #114191

Shahriar
Moderator
This reply has been marked as private.
in reply to: Differentiating Files by Membership Level #114190

Shahriar
Moderator

1 ) You don’t have to change any part of the provided code. Use it as is. wpdm_package_membership_levels is just function name which doesn’t have any relation to membership plugin. 10 is action priority and 1 is accepted arguments, these are technical things. If you want to know more please check action hook documentation from wp.org

To show only the lowest required role, first, you have to rank them then pick the lowest one. And obviously that would required further customization of the code. But try this code first.

2 ) yes, you have to add this code to your theme’s functions.php file.

3 ) This code will take care of all membership levels. The rendered value of [membership_levels] will come from package settings “Allow Access” option.

in reply to: Email Lock Spins #114188

Shahriar
Moderator
This reply has been marked as private.

Shahriar
Moderator

1 ) When there are multiple categories separate categories using a comma. You have to warp all categories inside double quotations. Usually, CSV editors take care of that automatically.

2 ) If you want to update the old package by importing CSV add another column with ID title ( http://prntscr.com/pqsfvh ) and for each package set the package ID there.

in reply to: Download Link is expired #114185

Shahriar
Moderator
This reply has been marked as private.

Shahriar
Moderator
This reply has been marked as private.
in reply to: Edit Tag Styling #114152

Shahriar
Moderator

You can use the following code to replace default [tags] template tag,

function wpdm_custom_template_tags($vars){
    $vars['tags'] = get_the_tag_list( '', ', ', '', $vars['ID'] );
    return $vars;
}
add_filter( 'wdm_before_fetch_template', 'wpdm_custom_template_tags', 10, 1 );
in reply to: Password popup does not work with DIVi Theme #114151

Shahriar
Moderator

You can modify the link to open in a new tab when there is a package-lock. Do you want to open the file in the browser? If not after unlocking package you can just download the file and your page will still be there with other downloads.

in reply to: Date Format Shortcode Output #114146

Shahriar
Moderator

Please check now. Added the following code in wpdm_show_acf_groups function to change date format.

if( strtotime( $vars["acf_{$group}_{$field}"] ))
$vars["acf_{$group}_{$field}"] = date("m-d-Y", strtotime( $vars["acf_{$group}_{$field}"] ) );
in reply to: Adding additional sections in User Dashboard #114142

Shahriar
Moderator

In your active theme’s functions.php file. Please keep in mind you have to write the Render_Content to populate the tab area with your data.

in reply to: wpdm_all_packages order doesn't work correct #114141

Shahriar
Moderator
This reply has been marked as private.
in reply to: Differentiating Files by Membership Level #114139

Shahriar
Moderator

Yes, the code above just takes the WordPress role and asssigns them to template tag. There is not relation to the WP Pro Membership with this code.

Viewing 25 posts - 751 through 775 (of 12,513 total)