Shahriar

Forum Replies Created

Viewing 25 posts - 1,051 through 1,075 (of 12,513 total)
in reply to: Using More than One Page Template to a Package #113309

Shahriar
Moderator

We will review the implementation of a hook to change the page template on the fly. In the meantime, I have a suggestion for your membership area implementation. Instead of linking to the details page, use a shortcode with link-template which will provide instant download without visiting the package details page. This will make things easier for your members.


Shahriar
Moderator

Download Limit add-on doesn’t require the WP Pro Membership add-on or any other membership plugin. It set’s the download limit based on user roles. Our WP Pro Membership just integrates the add-on with membership plans.

in reply to: Directory add-on #113306

Shahriar
Moderator
This reply has been marked as private.
in reply to: DIRECT DOWNLOAD #113299

Shahriar
Moderator

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

in reply to: MODIFY EMAIL LOCK OPTIONS #113298

Shahriar
Moderator
This reply has been marked as private.
in reply to: Show all sub categories of a parent category #113297

Shahriar
Moderator

Hi Ian, Which shortcode are you using there?

in reply to: REST API always returns 401. #113296

Shahriar
Moderator
This reply has been marked as private.
in reply to: REST API always returns 401. #113264

Shahriar
Moderator

Could you please send temporary wp-admin login info as a private reply? I have to check the issue on your setup.

in reply to: Advanced Custom Fields Not Showing Up #113263

Shahriar
Moderator

There are 2 access options for view and managing custom fields groups. You missed those options.

“Who can view?” and “Who can manage?”

http://prntscr.com/pfddqo

in reply to: Date Format for Advanced Custom Fields #113261

Shahriar
Moderator

Please ignore the previous reply. It was meant for the add-on.

How do you want to display the date file-meta? As these fields are in text format, the data will be displayed just like they are inserted.

in reply to: DIRECT DOWNLOAD #113260

Shahriar
Moderator

The generate download button is right under the package name. This is a live feature, we have no plan to remove it. Maybe you are logged in as editor. The button is available only to the administrator role.

in reply to: Thumbnails vs Featured Image #113259

Shahriar
Moderator

Yes, you need ImageMagick to use the dynamically sized featured images.

in reply to: Using More than One Page Template to a Package #113258

Shahriar
Moderator

Sorry, it isn’t possible. What is a possible scenario where you want to use a different page template?

in reply to: Directory add-on #113257

Shahriar
Moderator

Hi,

If you want to show packages from a specific category then just define the category in the archive shortcode category="slug" As you want to create different pages for different categories then use the same shortcode with different category parameters.

Please let me know if you wanted to know something else.

Thanks.

in reply to: MODIFY EMAIL LOCK OPTIONS #113256

Shahriar
Moderator

Use PoEdit https://poedit.net/ to create translation from the pot file.


Shahriar
Moderator

Please update the “Button Template Clone” with the following code. Adjust the image src to set your own image.

<a class="wpdm-download-link" href="[download_url]"><img src="https://img.icons8.com/nolan/50/000000/download.png"></a>

in reply to: Using Category and Tag Shortcodes together #113254

Shahriar
Moderator

Define your tags inside the tags parameter. Check out the following example shortcode,

[wpdm_category id="free," tags="plugin" cols="1" toolbar=1 desc=1 item_per_page=10 paging=1 template="link-template-calltoaction3" order_by="publish_date" order="desc"]

in reply to: Custom Featured Image Settings #113253

Shahriar
Moderator

Hi,

Yes, it is possible to use different featured image styles for package and post.

Use custom post type template single-wpdmpro.php for your packages to apply a unique style to package featured image. Currently, the packages are using the same template as posts which is single.php

You can copy the single.php ( this is a template file inside your active theme ) and rename it single-wpdmpro.php. Then make the necessary changes to your new template.

Thanks.

in reply to: Need a way to restrict downloads to members only #113227

Shahriar
Moderator

Add the code to your theme’s functions.php file and visit any page just once. Then delete this code.

function wpdm_bulk_update_access(){

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

    $packs = new WP_Query( $params );

    while( $packs->have_posts() ) {
        $packs->the_post();
        $access = array('subscriber');
        update_post_meta(get_the_ID(),'__wpdm_access',$access );
    }
}
add_action('init', 'wpdm_bulk_update_access');
in reply to: Change package URL after moving to new domain #113225

Shahriar
Moderator

Here is a quick solution. Add the code to your theme’s functions.php file and visit the blog posts page just once. Then delete this code.

function update_file_path(){
    if( ! is_home() ) return;
    $params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 );
    $q = new WP_Query($params);

    while ( $q->have_posts() ) {
        $q->the_post();

        $files = maybe_unserialize(get_post_meta(get_the_ID(), '__wpdm_files', true));
        if ( ! is_array( $files ) ) $files = array();

        foreach ($files as $key ► $file):
            $files[$key] = str_replace('/lyngsoes/','/lyngsoe2/', $file);
        endforeach;

        update_post_meta(get_the_ID(),'__wpdm_files', $files );
    }
}
add_action('init','update_file_path');
in reply to: Editor Cant use Quick Add on Tiny MCE #113224

Shahriar
Moderator

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

in reply to: MODIFY EMAIL LOCK OPTIONS #113223

Shahriar
Moderator

You can use the /download-manager/languages/download-manager.pot file to create the Italian translation file.

Another option is creating a custom template of /download-manager/tpls/lock-options/email-lock-form.php. You have to copy this file and place it in /active-theme/download-manager/lock-options/email-lock-form.php. Then add your changes in this new template.

in reply to: Expire After does not seem to have any effect? #113220

Shahriar
Moderator
This reply has been marked as private.
in reply to: Payfast test mode not processing #113219

Shahriar
Moderator
This reply has been marked as private.
in reply to: Need a way to restrict downloads to members only #113218

Shahriar
Moderator

Yes, member-only or subscriber access is the same thing.

Viewing 25 posts - 1,051 through 1,075 (of 12,513 total)