Shahriar

Forum Replies Created

Viewing 25 posts - 1,701 through 1,725 (of 12,513 total)

Shahriar
Moderator

Hi Chuck,

Could you please send temporary wp-admin login info of you staging server in private reply? I want to check the package settings.

By the way, if you have a multisite setup, you have to activate the WPDM Pro on each subsite instead of activating it from network admin. Maybe the issue is related to it.

Thanks.


Shahriar
Moderator

Noted for implementation. -Best regards.


Shahriar
Moderator

Everything works fine on my test. I have cleared the login page option from WPDM settings. Now http://www.cbsconsulting.com.au/wp-admin/ URL won’t be redirected to the WPDM Login page.

“So I logged out to test one of my other test subscribers only to find it not only logs me out as the subscriber it is also logging me out of wordpress!”

> The issue here is, Only one user can log in to the site at the same time from the same browser. So, when you are logging out of admin to login to subscriber account your old admin login is gone. You have to login again to access admin.


Shahriar
Moderator

Hi,

Looks like your key is already linked to orabandamining.com.au Anyway, let me know if you are facing any license issue there.

Now, you can remove the code from functions.php It is not needed anymore. It was needed to run only once.

thanks.

in reply to: Download link is expired on Guest Orders page #110594

Shahriar
Moderator

Sorry for the delays. Could you please send FTP info? I want to make some changes in your template to make it more responsive.


Shahriar
Moderator

Did you manage to add this code to your theme?

in reply to: Define single page template #110589

Shahriar
Moderator

You can change the WPDM Page template from Package Settings meta box. But that won’t remove your sidebar because it’s controlled by your theme.

There is a workaround. Our WPDM Page Template add-on allows you to use the Theme’s Page template in WPDM packages. Install this add-on and set full-width page template from the edit package screen. This works when your theme has a full-width page template and most themes have one.


Shahriar
Moderator

Hi Melanie Reed, Please send your package URL to check the issue. Maybe there is some kind JS error on the page. If you want me to check the admin settings send temporary wp-admin login info in private reply. -Thanks.

in reply to: Archive Page – Disable Auto Scroll #110585

Shahriar
Moderator

Sorry, there is an unexpected delay in the update. You will see the update notification on the plugins page when an update is available.

But the issue on your case, maybe related to your theme. It is reacting tot he click on ‘collapse’. I tested this view using another theme, there is no scroll to top effect.

You can check out the sidebar view of directory add-on, it looks similar. And looks like there is no conflict with enfold.

in reply to: Broken download every time #110584

Shahriar
Moderator

Please check my reply there.

in reply to: Upload/Download Settings #110583

Shahriar
Moderator

Please reactivate login info.

in reply to: Licence Key #110582

Shahriar
Moderator

Let me know if the issue persists. I will verify the key manually in that case.

in reply to: WPDM Login and Polylang #110580

Shahriar
Moderator

Download Manager is using get_permalink function to retrieve the login page URL. Maybe there a filter available in Polylang to get login URL based on the current language. Please ask the Polylang team about that.

http://prntscr.com/on35rw

in reply to: Failed .zip downloads for some #110579

Shahriar
Moderator

In some packages, you have attached URLs that’s why zip download won’t work there. The zipped download works only when all attached files are stored actual files on your server.

For example, there is an URL at the bottom of attached files list https://cad.welsrc.net/download-cad/road-emmaus-bible-study/

In this case, you can use the single file download links instead of the main download button.

in reply to: Text substitutions & Minor tweaks #110578

Shahriar
Moderator

1 ) No option to edit carousel shortcode. Use another shortcode. You can use wpdm_packages https://www.wpdownloadmanager.com/doc/short-codes/wpdm_packages-wp_query-in-a-shortcode-for-download-manager-packages/

For more advanced features use Directory add-on https://www.wpdownloadmanager.com/download/wpdm-directory-add-on/

2 ) Now showing 12 items. The option is set from the Settings > Reading page.

3 ) You can change these texts from /verse/single-wpdmpro.php file. But copy the file to your child theme before making any changes.

in reply to: GD Library? #110577

Shahriar
Moderator

Something is wrong with your attached images. Maybe you are using the incorrect extension. For example, using .jpg extension for .png image. I have created a test package where image thumb was created successfully but your images have no thumbs in the “attached files” meta box.

in reply to: Make search default to Downloads not Posts? #110573

Shahriar
Moderator

If this doesn’t work maybe another plugin is modifying the search query. You can use the WPDM Search Widget and place it on your sidebar/widget area to search packages. This search widget only searches for packages.

in reply to: can't upload file #110571

Shahriar
Moderator

I just checked your installation. And yes, it is working now.


Shahriar
Moderator

In some packages, you have attached directory. So, when clicking the download button WPDM creates a zip file by combing all file of attached dir. Based on the directory size and number of files this process might fail due to a limited server resource.

http://prntscr.com/om48m1

So, you have to remove the “Attached Dir” from packages where dir size is bigger or there are too many files in dir. Another option is deactivating the main download and enabling the single file download.

If the attached directory was unintended than just remove it. If you want to do that just add the following code to your theme’s functions.php file. It will bulk remove the attached dir from all packages.

function wpdm_bulk_remove_package_dir(){

    $params = array(
        'post_type' ► 'wpdmpro',
        'posts_per_page' ► -1,
    );

    $packs = new WP_Query( $params );

    while( $packs->have_posts() ) {
        $packs->the_post();
        global $post;
        delete_post_meta(get_the_ID(),'__wpdm_package_dir');
    }
}
add_action('init', 'wpdm_bulk_remove_package_dir');
in reply to: Attach file view broken #110497

Shahriar
Moderator

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

in reply to: Password Lock not working with some browsers #110493

Shahriar
Moderator

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


Shahriar
Moderator

Looks like there is an issue with the [play_button] template tag. Please send temporary wp-admin login info in private reply. I will add a patch to fix it.

Or you can replace line 593 in /download-manager/libs/class.Package.php file with the following code.

$audiohtml = "<button data-player='wpdm-audio-player-{$package['ID']}' data-song='{$song}' class='btn btn-{$style} wpdm-btn-play'><i class='fa fa-play'></i></button>";
$audiohtml .= "<audio id='wpdm-audio-player-{$package['ID']}' autoplay controls preload='auto' style='display: none'></audio>";

And if you want to hide the player add the following CSS to your additional CSS option.

.w3eden audio { display: none; }


Shahriar
Moderator

Add the following function in your theme’s functions.php file,

function wpdm_category_has_user_accessible_package( $slug ){

    $query = new WP_Query( array(
        'post_type' ► 'wpdmpro',
        'tax_query' ► array(
            array (
                'taxonomy' ► 'wpdmcategory',
                'field' ► 'slug',
                'terms' ► $slug,
            )
        ),
    ) );

    while ( $query->have_posts() ) :
        $query->the_post();
        if( wpdm_user_has_access( get_the_ID() ) )
            return true;
    endwhile;

    wp_reset_postdata();

    return false;
}

Add this line after line 118 in wpdm-archive-page.php,

if( ! wpdm_category_has_user_accessible_package( $category->slug ) ) continue;

Provided user doesn’t have plugin editor access. Please send FTP info or enable editor access if you want me to add the customization.

in reply to: can't upload file #110469

Shahriar
Moderator

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

Viewing 25 posts - 1,701 through 1,725 (of 12,513 total)