Shahjada

Shahjada

@admin Keymaster Joined Mar 16, 2011
6 Topics started
15,664 Replies posted
0 Favorites
15 yrs Member for

Forum Replies Created

Viewing 25 posts - 2,426 through 2,450 (of 15,664 total)
May 16, 2020 at 7:47 pm
#128471
Keymaster
Shahjada
Staff OP

Sorry, not clear, may you please explain little more.

May 16, 2020 at 6:15 pm
#128468
Keymaster
Shahjada
Staff OP

I’ve updated the plugin adjusting the CSS issue and it is showing fine now.

May 16, 2020 at 6:07 pm
#128466
Keymaster
Shahjada
Staff OP
This reply has been marked as private.
May 16, 2020 at 5:37 pm
#128461
Keymaster
Shahjada
Staff OP
This reply has been marked as private.
May 16, 2020 at 5:27 pm
#128460
Keymaster
Shahjada
Staff OP

@macmillandesign,
#1.
when you are using download limit add-on, you will be able to reset the limit from WordPress users page on the admin side.
Reset

#2.
The option is only available with advanced access control add-on when you assign a download to specific users only. But, to send an update notification to all users who previously downloaded the item, please use the following code:

function wpdm_send_update_notification($ID, $post, $update){
    global $wpdb;
    if (get_post_type() != 'wpdmpro' || wp_is_post_revision( $ID ) || $post->post_status !== 'publish') return;
    
    $users = $wpdb->get_results("select uid from {$wpdb->prefix}ahm_download_stats where pid = '{$ID}' and uid != 0");
    $emails = [];
    foreach ($users as $user){
        if((int)$user->uid > 0)
        $emails[] = get_user_by('ID', $user->uid)->user_email;
    }
    $link = get_permalink($ID);
    $title = get_the_title($ID);
    $params = [
        'to'        ► "noreply@yourdomain.com",
        'from'      ► "admin@yourdomainn.com",
        'bcc'       ► implode(",", $emails),
        'subject'   ► "Updated: ".$title,
        'message'   ► "Hello,<br/>There is an update available for the following item:<br/><a href='{$link}'>{$title}</a>"
    ];
    \WPDM\Email::send("default", $params);
}
add_action('save_post', 'wpdm_send_update_notification', 10, 3);
May 16, 2020 at 3:16 am
#128406
Keymaster
Shahjada
Staff OP

Please give me temporary wp-admin login info in a private reply to check your issue, the add-ons should work for all regions.
#1 Here is the changelog: https://www.wpdownloadmanager.com/download/wordpress-amazon-s3-storage-plugin/
#2. You can only download the latest version from https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
#3. Please follow https://www.wpdownloadmanager.com/how-to-generate-amazon-iam-access-key-and-secret-key/
#4. Please delete the old version, download the latest version from our site and install ( we are checking the issue )
#5. Deactivate premium packages plugin from wp plugins page.

May 16, 2020 at 1:00 am
#128400
Keymaster
Shahjada
Staff OP

Features image is showing there now, however, we have patched it on our side too for the next update 🙂

May 15, 2020 at 10:23 pm
#128397
Keymaster
Shahjada
Staff OP
This reply has been marked as private.
May 15, 2020 at 9:04 pm
#128396
Keymaster
Shahjada
Staff OP

We have fixed the issue and updated plugin on your site, working fine now. Thanks for your patience.

May 15, 2020 at 6:20 pm
#128392
Keymaster
Shahjada
Staff OP

Yes, default value’s bulk update doesn’t work for “Ask For Visitors Name” field, however, we are adjusting it and a new update will be released within the next few hours. Thanks.

May 14, 2020 at 11:38 am
#128285
Keymaster
Shahjada
Staff OP

If you want you can change these restrictions using the following filters:

add_filter('wpdm_review_package_access_required', function (){ return false; } );
add_filter('wpdm_review_purchase_required', function (){ return false; } );
add_filter('wpdm_review_download_required', function (){ return false; } );
May 14, 2020 at 11:01 am
#128280
Keymaster
Shahjada
Staff OP

When you are using user review plugin, here is the exact code you need to use:

add_filter("wpseo_schema_webpage", function($ldjson){
	if(!is_singular("wpdmpro")) return $ldjson;
        global $wpdm_user_reviews;
        $reviews = get_posts("post_type=wpdmreview&meta_key=pid&meta_value=".get_the_ID()."&post_parent=0");
        $ratingCount = count($reviews);
	$ldjson['@type'] = 'SoftwareApplication';
	$ldjson['@id'] = get_permalink(get_the_ID()).'#SoftwareApplication';
	$ldjson['applicationCategory'] = "http://schema.org/OtherApplication";
	$ldjson['fileFormat'] = "application/zip";
	$ldjson['downloadUrl'] = get_permalink(get_the_ID());
	$ldjson['softwareVersion'] = get_post_meta(get_the_ID(), '__wpdm_version', true);
	$ldjson['operatingSystem'] = 'Any';
	$ldjson['aggregateRating'] = array(
		"@type" ► "AggregateRating",
		"worstRating" ► 0,
        "bestRating" ► 5,
        "ratingValue" ► $wpdm_user_reviews->wpdm_get_average_reviews(get_the_ID()),
        "ratingCount" ► $ratingCount,
        "reviewCount" ► $ratingCount
    );
	$ldjson['interactionStatistic'] = array(
		"@type" ► "InteractionCounter",
        "interactionType" ► "http://schema.org/DownloadAction",
        "userInteractionCount" ► (int)get_post_meta(get_the_ID(), '__wpdm_download_count', true)
    );

	return $ldjson;
}, 999);
May 14, 2020 at 10:43 am
#128277
Keymaster
Shahjada
Staff OP

What I meant, you need the change the following values with original values:

"ratingValue" ► "*.*",
 "ratingCount" ► 0000,
 "reviewCount" ► 0000
May 14, 2020 at 10:41 am
#128276
Keymaster
Shahjada
Staff OP

Not clear, where is ????????

May 14, 2020 at 10:37 am
#128274
Keymaster
Shahjada
Staff OP

Awesome, the solution is in the reply #128271

May 14, 2020 at 10:35 am
#128271
Keymaster
Shahjada
Staff OP

It it is Yoast SEO, you need the add the following PHP code at the end of your active theme’s functions.php:

add_filter("wpseo_schema_webpage", function($ldjson){
	if(!is_singular("wpdmpro")) return $ldjson;

	$ldjson['@type'] = 'SoftwareApplication';
	$ldjson['@id'] = get_permalink(get_the_ID()).'#SoftwareApplication';
	$ldjson['applicationCategory'] = "http://schema.org/OtherApplication";
	$ldjson['fileFormat'] = "application/zip";
	$ldjson['downloadUrl'] = get_permalink(get_the_ID());
	$ldjson['softwareVersion'] = get_post_meta(get_the_ID(), '__wpdm_version', true);
	$ldjson['operatingSystem'] = 'Any';
	$ldjson['aggregateRating'] = array(
		"@type" ► "AggregateRating",
		"worstRating" ► 0,
        "bestRating" ► 5,
        "ratingValue" ► "*.*",
        "ratingCount" ► 0000,
        "reviewCount" ► 0000
    );
	$ldjson['interactionStatistic'] = array(
		"@type" ► "InteractionCounter",
        "interactionType" ► "http://schema.org/DownloadAction",
        "userInteractionCount" ► (int)get_post_meta(get_the_ID(), '__wpdm_download_count', true)
    );

	return $ldjson;
}, 999);

There, replace *.* with an average rating and 0000 with rating and review count.

May 14, 2020 at 10:31 am
#128270
Keymaster
Shahjada
Staff OP

Hi,
Which SEO plugin you are using there?

May 12, 2020 at 7:14 pm
#128132
Keymaster
Shahjada
Staff OP

Checking it.

May 12, 2020 at 6:26 pm
#128130
Keymaster
Shahjada
Staff OP
This reply has been marked as private.
May 12, 2020 at 6:22 pm
#128128
Keymaster
Shahjada
Staff OP

Hi,
I’ve checked the taxonomy-wpdmcategory.php file, I see you have modified it.
The error is triggering from here:
Image 2020-05-13 at 12.20.31 AM

I’ve exactly not sure about code, as it is not related to wpdm.

However, I’ve added a condition there to bypass the issue:
Image 2020-05-13 at 12.22.24 AM

May 12, 2020 at 5:23 pm
#128116
Keymaster
Shahjada
Staff OP

Yes, you’re right, we missed the expire period for private links generated from lock option. However, we shall adjust it with the nexty update.

May 12, 2020 at 3:05 am
#128069
Keymaster
Shahjada
Staff OP

Okay now, there was some css conflict:
Image 2020-05-12 at 9.02.35 AM

I’ve added the following css:

.modal.fade.show{
	opacity: 1 !important;
	background: rgba(0,0,0, 0.3);
}
.modal-backdrop.fade{
	display: none !important;
}
May 10, 2020 at 6:33 pm
#127968
Keymaster
Shahjada
Staff OP

Hi,
No vimeo tag is available, but you can create custom tag for each video embed code from vimeo, and use it with your link/page template:
Image 2020-05-11 at 12.31.41 AM

May 10, 2020 at 3:12 pm
#127962
Keymaster
Shahjada
Staff OP
May 10, 2020 at 2:43 pm
#127960
Keymaster
Shahjada
Staff OP

Okay now. Bootstrap 4 was conflicting with your active theme, so I have activeted Bootstrap 3 from wpdm ui settings, now it is working fine.
Screen Recording 2020-05-10 at 08.42 PM

Viewing 25 posts - 2,426 through 2,450 (of 15,664 total)