Search Results for 'Add Url'

Viewing 25 results - 201 through 225 (of 1,931 total)
  • Author
    Search Results
  • #195754

    Tahasin
    Moderator
    This reply has been marked as private.

    Thomas Gerber
    Participant

    I place links to package documents on my site using the Download Manager short codes. Each package contains only a single PDF. I want a link template that points directly to the PDF on the server, e.g. the link should be “…/myurl/wp-content/uploads/download-manager-files/mypackagedocument.pdf”. Instead, the link is the Download Manager short code, e.g. “…/myurl?wpdmdl=16123&ind=17150293486941”, and each time the link is accessed a new url is created with a unique ?refresh parameter added. Can I easily create a template (or does one exist) that would allow me to link directly to the PDF on the server?

    #195447
    This reply has been marked as private.

    b52
    Participant

    If using the “file cart add-on” with “form lock” (in our case contact form 7) it is not possible to see who downloaded what. In our case we want to see the data that the user filled out in the form (name, e-mail, terms of use) and the files they downloaded. It is possible to send an E-Mail Notification via Contact form 7 with all the data to our admin but the files that have been downloaded are not shown there.

    Our File Cart with Form Lock
    https://tinyurl.com/2bhx5rk8

    #195158

    Andrea Koeppel
    Participant
    This reply has been marked as private.
    #195156

    I’m having an issue with the embedded links to a download. When I put the link to a download onto a post, it embeds it, however when you try and go to the download or click he download button, nothing happens and it doesn’t go to the Download page.

    Below is the Chrome console errors when I click either of the links to go to the download page and I’ve included a post URL as an example:

    Post Page with link to download page: https://techygeekshome.info/2024/04/java-8-411/

    Download Page: https://techygeekshome.info/wpdm-package/java-8-update-411/

    Error Log:

    wp-embed.min.js?screx=1&sxcb=280a&ver=6.5.2:2 Uncaught TypeError: Failed to construct ‘URL’: Invalid URL
    at l.querySelector.d.addEventListener.d.wp.receiveEmbedMessage.d.wp.receiveEmbedMessage (wp-embed.min.js?screx=1&sxcb=280a&ver=6.5.2:2:659)
    l.querySelector.d.addEventListener.d.wp.receiveEmbedMessage.d.wp.receiveEmbedMessage @ wp-embed.min.js?screx=1&sxcb=280a&ver=6.5.2:2
    postMessage (async)
    b @ embed/?ez_iframe=1:9
    (anonymous) @ embed/?ez_iframe=1:9

    #195103

    Tahasin
    Moderator
    This reply has been marked as private.
    #194970

    Mathew Beach
    Participant

    I’m currently using Download Manger Pro 6.5.3. When I add more than 10 short codes to any page to embed the download links the page will then time out and I give a 502 error. When I deactivate the Plugin the page loads without issue. What could be causing this? See URL for affected page.
    https://www.alvaradomfg.com/resources/sec-resources/.


    Joyce Lee
    Participant

    I’m using Stripe Add-on for WP Download Manager Pro. After successfully paying for an item, I am returned to the cart where it says the “Order Status: Processing” and “If you still want to complete the order, Pay Now (with green button).”

    Endpoint URL seems connected. And webhooks are listening for payment_intent.payment_failed and payment_intent.succeeded

    How can I get WPDM to recognize successful payment?


    Nicolas MERCIER
    Participant

    I’m posting this comment to help those who may encounter the same issues I did using WPDM (free or pro) on an OVH mutualized hosting and WP-Rocket as a caching plugin. If it can save someone from wasting hours like I did…

    Problem description: when clicking on the “download” button in WPDM documents page, the file download starts but stops and ends in failure.

    Cause: the Gzip rules added by WP-Rocket to the htaccess file are incompatible with those of OVH. In some cases, this doesn’t cause any visible problems, but if you install WPDM, downloads don’t work.

    Resolution: install the “WP Rocket | Remove GZIP (mod_deflate) rules” plugin proposed by WP-Rocket on this URL : https://docs.wp-rocket.me/article/1790-erreur-blank-response-from-server-ovh-locotranslate page.

    They offer this solution for Locotranslate, but it also covers the WP-ROCKET/OVH problem.

    Hope that helps !

    #194906

    Thomas Gerber
    Participant
    This reply has been marked as private.
    #194773

    Roco Montgomery
    Participant

    Hello,

    I am currently testing the WPDM API before purchasing the pro version.

    After some struggles, I have managed to authenticate using Basic Authentication. To make it work I had to make changes to the htaccess file.

    Now I want it to work using Bearer Token.

    I am running the following command:

    curl -X GET \
    https://host.com/wp-json/wpdm/v1/packages \
    -H ‘Authorization: Bearer 65d67afbbXXXX’ \

    I get the following response:

    {“code”:”rest_forbidden”,”message”:”You cannot view the post resource.”,”data”:{“status”:401}}%

    A few questions:
    – Is bearer token authentication still supported?
    – If so, do I need to download additional plugins for it to work? I only have the WPDM plugin and the WPDM Rest API addon
    – Why is it not working? Could it also be a problem with the htaccess file? If so in what way should I modify it?

    I saw one the moderators suggest the following:

    “REST API is working now. Some Apache module was removing the authorization header from the request. I had to add CGIPassAuth On in your .htaccess file to allow the bearer token in the header.”

    I tried adding “CGIPassAuth On” but it made no difference.

    Please help! 🙂


    Ricardo Jimenez
    Participant

    Thank you so much! I checked the REST API and it seems like this would be the way to go.

    However I have 2 concerns that maybe you could help me with:

    1- In the documentation I cannot see how to add the file itself in the package. Do you have an example of how this is done? Do you need to provide a url for the file to be uploaded or is it encoded somehow?

    2- There is a bug reported in Github related to WordPress 6.3.2 and above. Has this been fixed? https://github.com/imsas/wpdm-rest-api-docs/issues

    Thanks in advance for your help!

    #194579

    Jürgen Novotny
    Participant

    Hi,
    we develop our projects under a temporary development URL (http) before they go online under their final domain name. During the development phase, downloads are created via “Select from media library” and work flawlessly. As soon as the project goes online and the live URL is defined for the WordPress and website address (https), everything works fine… except for all previously defined downloads, whose URL still refers to the previously used development URL. Logically, visitors then receive a security warning. In short: the newly defined URL is not taken into account for the created downloads. Am I missing something? What should I do? In the past, it was sufficient to recreate the downloads manually, but a current website in the development stage already has 450 previously created downloads…
    Thank you very much for hints!


    Nayeem Riddhi
    Moderator

    Hello enric gustems,

    For now, to get the requested mail in the message too in the email you can add this code portion from this directory wp-content\plugins\download-manager\src\Package\PackageLocks.php file in line number 291 changing

    $message = __MailUI::panel("Your have a new pending download request for:", ["<a href='".get_permalink($packageID)."'>".get_the_title($packageID)."</a>"])."<a href='".admin_url('edit.php?post_type=wpdmpro&page=wpdm-subscribers')."' class='button full green'>".__('Review the request', WPDM_TEXT_DOMAIN)."</a>";

    to

    $message = __MailUI::panel("Your have a new pending download request for email: ".$_POST['email']." and Package:", ["<a href='".get_permalink($packageID)."'>".get_the_title($packageID)."</a>"])."<a href='".admin_url('edit.php?post_type=wpdmpro&page=wpdm-subscribers')."' class='button full green'>".__('Review the request', WPDM_TEXT_DOMAIN)."</a>";

    by adding this only,

    email: ".$_POST['email']." and Package:"

    please check and let me know, if it works for you.

    Thank you and regards

    #193684

    Nayeem Riddhi
    Moderator

    Hello Susan Colao,

    Hope you are well. And thanks for writing to us. For Woocommerce alternatives, you can also use our WordPress Digital Store Solution – Premium Package add-on that helps you to set up prices for your digital products and sell them easily from your WordPress site.

    Premium Package – WordPress Digital Store Solution

    But if you still want to use woocommerce, You can try copying the master download URL of your file from WPDM and then attach the URL to the Woocommerce product as I image attached,

    2024-03-04-162357

    2024-03-04-162547

    please check and let me know, if you have any queries.

    Thank you and regards


    Luca Scelza
    Participant

    Hello Nayeem,
    thank you so much for your help. Unfortunately, it seems do not work. If I paste the string onto a web page in the browser it works, but if I put that url as the URL of the woocommerce product, it gives me the ‘File not Found’ error. In addition to not working, this system would still force me to create a product on Download Manager with a URL, which I don’t need and don’t want to do. Isn’t it possible to get a URL ofa PDF file uploaded somewhere that is good for WooCommerce and also stamped?

    Thank you so much for your help.

    #193670

    In reply to: Selection for Zip


    welswebmaster
    Participant
    This reply has been marked as private.

    FIX Trading
    Member

    Hi Nayeem
    We are using W3 Total Cache. I have set items_per_page = 20. We are still having problems on this page and also on the following pages:

    Recommended Practices

    Business Practices

    When you look at the source code the image is loaded multiple times. We are using a custom template where the package icon is displayed. The template looks as follows:

    <div class=”well c2a3″>
    <div class=”media”>
    <div class=”mr-3″ align=”left”>
    [icon]
    </div>
    <div class=”media-body”>
    <h3 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt; “>
    [title]
    <span style=”font-size:8pt;font-weight:300″ class=”text-muted ml-4″>
    <i class=”fas fa-hdd mr-1″></i> [file_size]
    <i class=”ml-3 far fa-arrow-alt-circle-down mr-1″></i> [download_count] downloads
    <i class=”ml-3 far fa-clock mr-1″></i> [create_date]
    </span>
    </h3>
    [excerpt_200]</br>
    </div>
    <div class=”ml-3″ align=”right”>
    [download_link]
    </div>
    </div>
    </div>

    Regards, Eva


    Nayeem Riddhi
    Moderator

    Hello Ries Caroline,

    Hope you are well. And thanks for writing to us. Can you please elaborate more and let me know which custom fields you are trying to add? please share the related URL. if possible, can you please, give your temporary wp-admin login details in a private reply to check the issue?

    Thank you and regards

    #193078

    Adrian Powell
    Participant

    I use CookieYes for my cookie management and on a scan it finds the wpdm cookie but can’t identify it correctly. What should the following entries be:

    Cookie Id: __wpdm_client

    Description :Description is currently not available.
    Script URL pattern: Not available

    This cookie does not have a script URL pattern. It is required for blocking the cookie prior to obtaining user consent

    #193054

    Nayeem Riddhi
    Moderator

    Hello Mariusz G,

    Hope you are well. Thanks for writing to us. For changing the text on the download button you shall find for it from certain packages from Package Settings as I image attached,

    2024-02-12-073059

    For template editing, you can clone the template as I image attached,

    2024-02-12-073500

    And change the [download_link] template tag to <a href="[download_url]" class="btn btn-info">Download Now!</a>

    For changing text on the download button at once for all packages, you can check this add-on,

    WPDM Default Values

    And for your Polish translation, you can use any translation plugin for example Loco Translate, you can check the beginner doc here,

    https://localise.biz/wordpress/plugin/beginners

    please check and let me know, if you have any queries more.

    Thank you and regards


    Nayeem Riddhi
    Moderator

    Hello Justin,

    Sorry for your inconvenience. For individual packages, you can try the below code putting in your theme functions.php file,

    add_filter("wpdm_audio_play_button", function($play_button, $play_url, $package, $fileID) {
      if(in_array($package->ID, [10, 20, 30])) $play_button = "";
      return $play_button;
    }, 10, 4);

    Here, 10, 20, 30 is your package ID. And for the option to turn off the audio player, we shall add it to our next updates. I hope you have understood. please check and let me know.

    Thank you and regards

    #192936

    NEOnet Website
    Participant

    Hi Nayeem,

    Thanks for this, and just to confirm my thinking. Currently there isn’t an option to apply if/then logic within the template manager/editor itself, correct? I will need to copy files from src into my child theme and edit those and then address any changes as new updates role out with the WPDM plugin?

    Also, I’m using ACF so that’s good to know I can add the field and access it with the template tool.

    Again, I basically want to combine a video and corresponding PDF document that compliments that video. I don’t think there is an option natively within WPDM to do that (correct me if I’m wrong), so I’m hoping to make something work with the templates. However, at times there might not be a video, only the PDF, thus my interest in some if/then capabilities in the template layout to only display the video button if the link is defined (in an ACF field) on the package.

    Another option, separate from the ACF field, it seems I can add a youtube URL to the package. In the same package I’d have PDf file and the Youtube link. Is there a function in the link templates tool that will let me select files within the package? I see I can pull the [file_list], I’m not seeing if there is an option that lets me pull file_1, file_2, etc.

    Be well!
    -Scott


    NEOnet Website
    Participant

    Hello,

    I am working on link template that will display a PDF in a modal popup. At the same time, if there is a video associated with that same package, it will show another button to view the training video. For testing purposes, I am putting the youtube video URL in the Link Label field, just to test this out. I would be interested in knowing if there is a way to add a video URL to a package in addition to the PDF so that I can reference each item independently?

    Aside from that, how can I modify my template so that the View Training Video button only shows up if the Link Label (or whatever actual custom video URL field might be available to use instead)?

    <!-- Button trigger modal -->
    <div align="center">
    <button type="button" class="btn btn-primary" style="width: 75%;" data-toggle="modal" data-target="#exampleModal-[ID]">
      [title]
    </button>
    
    <!-- Check if link_download has content before displaying the button -->
      <?php if (!empty([link_label])) { ?>
        <button type="button" class="btn btn-primary" style="width: 75%;" data-toggle="modal" data-target="#exampleVidModal-[ID]">
          View Training Video
        </button>
      <?php } ?>
    
    </div>
    <br />
    <!-- Doc Modal -->
    <div class="modal fade modal-lg" id="exampleModal-[ID]" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-modal="true" aria-hidden="true">
      <div class="modal-dialog" role="document" style="width: 1040px;max-width: 100%;">
        <div class="modal-content">
          <div class="modal-header">
            <h5>[title] <button class="btn btn-primary"><a href="[download_url]" title="Download [title]"><i class="fa fa-download" style="color:#FFF;"></i></a></button></h5>
            
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button> &nbsp; 
          </div>
          <div class="modal-body">
            [doc_preview]
          </div>
          <!-- div class="modal-footer">
            <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
          </div -->
        </div>
      </div>
    </div>
    
    <!-- Doc Modal -->
    <div class="modal fade modal-lg" id="exampleVidModal-[ID]" tabindex="-1" role="dialog" aria-labelledby="exampleVidModalLabel" aria-modal="true" aria-hidden="true">
      <div class="modal-dialog" role="document" style="width: 1040px;max-width: 100%;">
        <div class="modal-content">
          <div class="modal-header">
            <h5>[title] Training Video</h5>
            
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button> &nbsp; 
          </div>
          <div class="modal-body">
            
    <iframe width="1280" height="853" src="[link_label]" title="[title]" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
          </div>
          <!-- div class="modal-footer">
            <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
          </div -->
        </div>
      </div>
    </div>

    Thanks,
    -Scott

Viewing 25 results - 201 through 225 (of 1,931 total)