Search Results for 'download link'

Viewing 25 results - 3,676 through 3,700 (of 9,401 total)
  • Author
    Search Results
  • #128358

    Nayeem Riddhi
    Moderator
    This reply has been marked as private.
    This reply has been marked as private.

    Shahjada
    Keymaster

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

    Shahjada
    Keymaster

    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.

    #128263

    Linsey Perry
    Participant

    Hi Nayeem,

    As an update, it looks like the shortcode is not recognising the custom taxonomy slugs in “id” — when I tested replacing the categories with just the custom taxonomy slugs, no packages are displayed.

    e.g
    [wpdm_category id="tax1,tax2" template="templateid" order_by="title" order="asc" cols=3 colspad=2 colsphone=1 download_link=1]

    Is there another parameter that can be added to further filter the packages? Or is there an alternative shortcode that will work?

    Thanks
    Linsey

    #128260

    Linsey Perry
    Participant

    Hi Nayeem,

    I do have a longer string with various parameters added, but I was trying to simplify the problem I’m trying to fix.

    [wpdm_category id="cat1,cat2,cat3" template="templateid" order_by="title" order="asc" cols=3 colspad=2 colsphone=1 download_link=1]

    The above obviously shows me all all of the packages that fit into cat1, cat2 and cat3.

    I need to additional filtering that only shows the packages from the above that also include tax1.

    Is this possible?

    Thanks
    Linsey

    • This reply was modified 5 years, 4 months ago by Linsey Perry.
    #128258

    Linsey Perry
    Participant

    I did see that link, but it doesn’t seem to cover what I need. Apologies, I should have been more clear…

    To illustrate I have the following categories…

    cat1
    cat2
    cat3
    cat4

    And the following custom taxonomy terms…

    tax1
    tax2
    tax3
    tax4

    I need to be able to show any of the downloads in cat1, cat2 OR cat4 (not cat3) that have tax1 (not tax2, tax 3 or tax 4).

    So the commas and plus symbol in one doesn’t seem work as it needs to filter any of those categories with just one of the custom taxonomies.

    Side note: I need to be able to repeat this for various combinations of the categories and custom taxonomy slugs.

    Hope that helps.

    Cheers
    Linsey

    #128095

    In reply to: New Page Template


    Varinder Singh
    Participant
    This reply has been marked as private.
    #128058

    Fred Gekwell
    Participant
    This reply has been marked as private.

    Nayeem Riddhi
    Moderator

    If you want to limit the login member download link for a specific page. it may need an add on assistance, are you using this add on?
    https://www.wpdownloadmanager.com/download/wp-pro-membership/, let me know.

    Thanks.

    #128035

    nesf
    Participant

    Hello,

    I just migrated from the server and the custom link and page templates are gone.

    I searched the directories below and didn’t find them.

    \wp-content\plugins\download-manager\tpls\link-templates\
    \wp-content\plugins\download-manager\tpls4\link-templates\
    \wp-content\plugins\download-manager\tpls\page-templates\
    \wp-content\plugins\download-manager\tpls4\page-templates\

    Where are these templates found ?


    Hatch First
    Participant

    Hi, I have an issue.
    My site specific page need to limit login member to download content.
    But now, it can only make non-login member cannot click the link.
    I would like to let non-login member click download link then redirect to login page or pop up message to inform member login.
    Thanks.

    #127996

    Fred Gekwell
    Participant

    Hello, we have two problems.

    Before we had the problem when the item included a few links to download. When the customer click on the menu with the list of the downloads a webpage is stuck. And customer had to refresh the browser. Anyway he can not download the purchased item.
    Ok, your support recommended change from Bootstrap 4 to Bootstrap 3. Good, seems it worked and all was fine before we get another problem.
    We had this problem – https://www.wpdownloadmanager.com/support/topic/not-display-items-in-purchase-menu/
    Ok, support change from Bootstrap 3 to Bootstrap 4 and now we have first problem again.

    Can you help us to fix the problem with 1 problem? or it can be solution to fix both problems?

    Best
    Fred

    #127995

    Nayeem Riddhi
    Moderator

    Hi,

    Are you talking about

    Private Download Link Expiration Period:

    it is based on,

    Private download links ( package with any lock option active ) will expire after the period starting from it’s generation time

    let me know,

    Thanks.

    #127993

    Victor Bisgaard
    Participant

    Hi!

    How does “Download link expiration” work?

    Right now I have:
    Download Link Usage Limit: 5
    Download Link Expiration Period: 2 minutes

    But I can still download the file after 2 minutes, it seems like it only counts the download limit and ignores the expiration period.

    Can you explain this and solve it?

    Thanks!


    Tim
    Participant

    Hi there, yes, responsive is not the problem, if you just make the browser small or use a normal mobile browser.
    You have to go to the facebook app (on the smartphone), then try to download something inside of the facebook app (and its own IN-APP browser). Shared Links are opened in an own browser e.g. facebook or other apps. You can only check it directly in those apps, not with a testing tool for responsiveness.

    Please have a look at that, because this is a very urgent issue, as you can not make advertisements via social media, if the downloads not working within social networks when using the apps.

    thanks


    Jason Levandoski
    Participant
    This reply has been marked as private.

    Nayeem Riddhi
    Moderator

    Hi,

    Form lock also has the Email Download Link option, you can check this option for getting download link in the mail.

    and for “Show form every time” option for Form locks should work. it may be cache issue or other issues also can be remained.

    Thanks.

    #127759

    Nayeem Riddhi
    Moderator

    It can be the cache issue too. in the same session, you shall see the download link. But in a new session form will appear again.

    Thanks.


    Jason Levandoski
    Participant

    Email Lock is great, however, it is nice to have capabilities to capture more information from users with a form and have that response be sent to marketing departments etc.

    The Form lock is ok, however, it does not prevent email spoofing like email lock. I would like the Form lock to be able to send out the unlock link to the users email just like the email lock. Only after the user clicks the link in email will they get the download unlocked.

    I would also like Form locks to work properly so that they can be triggered for every additional download. Currently the setting “Show form everytime” does not seem to work properly. After the first form submission, all subsequent downloads are unlocked already without additional forms required?

    Thanks,
    Jason


    Nayeem Riddhi
    Moderator

    Hi,

    Your requirements have been adjusted,

    #1, For changing the download link and label

    I have adjusted it from download-manger\tpls\wpdm-dashboard.php putting the below code in the bottom part,

    <a class="udb-item replace" href="https://www.diamondcontrols.co.uk/document-library"><i class="fas fa-arrow-down color-purple mr-3"></i>Document Library</a>
    
    <script type="text/javascript">
    
    jQuery('div#udm-user a.udb-item:nth-child(2)').replaceWith(jQuery('.replace'));
    
    </script>

    For #2, download the file directly from the Download History list,

    I have adjusted it from

    download-manager\tpls\user-dashboard\download-history.php in line number 21

    replacing,

    \WPDM\Package::getDownloadURL($stat->pid);

    please check.

    Thanks.

    #127680

    Linsey Perry
    Participant

    Hi there,

    I’m using [thumb] in a [wpdm_category] shortcode, but the file is not found.

    Link generated by the WPDM link template:
    /download/”download-title”/?wpdmdl=3791&refresh=5eb2e97918d021588783481

    Direct media link:
    /wp-content/uploads/2020/05/”filename”.jpg

    Is there a way to get this working?

    Thanks!
    Linsey


    Linsey Perry
    Participant

    Hi!

    I am building a grid of downloads using a featured image and title / download link.

    My shortcode is…
    [wpdm_category id="brochures" title="Brochures & Flooring Guides" template="5eb2d25e265b5" order_by="title" order="asc" cols=3 colspad=2 colsphone=1 download_link=1]

    My custom template is…

    <div class="knowledge-base-download"><a href="[download_url]">[thumb_200x200]
    <b><a href="[download_url]" class="knowledge-base-download-heading" style="text-decoration: none;">[title]</b></div>

    Two problems…

  • The first element after the wpdm_category shortcode is affected by this code. It looks like it’s throwing everything into a strange column layout, so I’m guessing it’s something to do with the columns.
  • Second, less critical problem, is that the title doesn’t appear. Any obvious issues? I don’t mind adding this manually, but while I’m here 🙂

    Any ideas or fixes would be massively appreciated.

    Thanks so much in advance!

#127647

Victor Bisgaard
Participant
This reply has been marked as private.
#127637

Nayeem Riddhi
Moderator

Hi,

Sorry for having some patience, the package download link is working fine now, I have adjusted the settings as I image attached,

img

let me know if you need further assistance.

Thanks.

Viewing 25 results - 3,676 through 3,700 (of 9,401 total)