Shahriar

Forum Replies Created

Viewing 25 posts - 1,701 through 1,725 (of 12,513 total)
Aug 2, 2019 at 6:23 pm
#110621
Moderator
Shahriar
Staff OP

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.

Aug 1, 2019 at 8:39 pm
#110597
Moderator
Shahriar
Staff OP

Noted for implementation. -Best regards.

Aug 1, 2019 at 8:33 pm
#110596
Moderator
Shahriar
Staff OP

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.

Aug 1, 2019 at 8:24 pm
#110595
Moderator
Shahriar
Staff OP

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.

Aug 1, 2019 at 8:20 pm
#110594
Moderator
Shahriar
Staff OP

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

Aug 1, 2019 at 6:21 pm
#110591
Moderator
Shahriar
Staff OP

Did you manage to add this code to your theme?

Aug 1, 2019 at 6:20 pm
#110590
Aug 1, 2019 at 6:19 pm
#110589
Moderator
Shahriar
Staff OP

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.

Aug 1, 2019 at 6:14 pm
#110588
Moderator
Shahriar
Staff OP

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.

Aug 1, 2019 at 5:38 pm
#110585
Moderator
Shahriar
Staff OP

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.

Aug 1, 2019 at 5:18 pm
#110584
Moderator
Shahriar
Staff OP

Please check my reply there.

Aug 1, 2019 at 5:17 pm
#110583
Moderator
Shahriar
Staff OP

Please reactivate login info.

Aug 1, 2019 at 5:15 pm
#110582
Moderator
Shahriar
Staff OP

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

Aug 1, 2019 at 5:00 pm
#110580
Moderator
Shahriar
Staff OP

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

Aug 1, 2019 at 4:53 pm
#110579
Moderator
Shahriar
Staff OP

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.

Aug 1, 2019 at 4:39 pm
#110578
Moderator
Shahriar
Staff OP

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.

Aug 1, 2019 at 4:26 pm
#110577
Moderator
Shahriar
Staff OP

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.

Aug 1, 2019 at 3:32 pm
#110573
Moderator
Shahriar
Staff OP

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.

Aug 1, 2019 at 3:28 pm
#110571
Moderator
Shahriar
Staff OP

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

Jul 30, 2019 at 6:16 pm
#110510
Moderator
Shahriar
Staff OP

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');
Jul 30, 2019 at 5:03 pm
#110497
Moderator
Shahriar
Staff OP

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

Jul 30, 2019 at 5:00 pm
#110493
Moderator
Shahriar
Staff OP

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

Jul 30, 2019 at 4:17 pm
#110490
Moderator
Shahriar
Staff OP

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; }

Jul 30, 2019 at 3:01 pm
#110486
Moderator
Shahriar
Staff OP

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.

Jul 30, 2019 at 10:17 am
#110469
Moderator
Shahriar
Staff OP

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)