Search Results for 'download link'

Viewing 25 results - 4,476 through 4,500 (of 11,368 total)
  • Author
    Search Results
  • #130555

    Nayeem Riddhi
    Moderator

    Hi,

    You should save the templates ACTIVE_THEME/download-manager/page or link_templtes and files should be the same name. thus, you can change the templates according to your own way.

    Thanks.


    Emma Boyd
    Participant

    Hi,

    I’d like to change the default page templates and link templates using PHP. I’ve tried following the steps in this article but can’t seem to get it working: https://www.wpdownloadmanager.com/doc/template-files/.

    My dev site is at ebdev.uk/bus, and a sample download page is https://ebdev.uk/bus/download/testing-templates/.

    What am I doing wrong?

    Thanks
    Emma

    #130532

    In reply to: SLOW ADMIN SECTION


    mark wright
    Participant
    This reply has been marked as private.

    Rogers Mukalele
    Participant

    I noticed the WPDM download button does not work if AMP is enabled in WordPress. See example here. How can we enable download button/link on download page?

    #130472

    Nayeem Riddhi
    Moderator

    Here is the link where you can see all of your tickets, https://www.wpdownloadmanager.com/support/users/dpatricksswhitedental-com/topics/,

    And for the updated version it has been renamed, Archive Page Options, please check your screenshot

    Thanks.

    #130461

    lloyd thomas
    Participant

    Recently updated download manager and all the passwords linked to each download have been lost. Is there a way I can bulk add the same password to all the downloads?


    Ali Khansari
    Participant

    Hi

    I added a dummy package from the media library (where I have uploaded my files) and now, when I go to download the PDF,
    1) It shows the full address (without unmasking it) in the address bar. So the user can simply share the link with other people. The nature of this whole setup is to let them to download and see the file ONLY and ONLY if they pay and they have valid membership.

    2) My settings are set correctly I believe – I only attach one PDF file per package: Here is screenshot – when I tried the Activate flat download url it actually gave me 404 error.

    3) I know that I can drag and upload the file from my computer, but for a bulk process, I cannot upload every single file. I can upload them somewhere within the WPDM dir. But I don’t know if that would still show the naked URL.

    4) How can I show the first page screenshot of PDF file? I’d like users see the first page screenshot regardless of their membership status. Currently I used [thumb_700x400] but it doesn’t work with the same package (from media file) that I explained above. I don’t know if I’m using the wrong code or what….

    Here is What I chose .

    Your help would be greatly appreciated!

    • This topic was modified 6 years, 4 months ago by Ali Khansari.
    #130349

    weathermatic
    Participant

    I am wondering if I can get some help so that the link template shown here https://weathermatic.box.com/s/r6qp95bdrf3brnkxu9042pbc5akj6les looks better. The top part of the image I would like to link up the thumbnail, line up the download button (I would actually like to not have a button but just text) and line up the title. Also, how can I change the download button used on the file list to match the top?

    Here is my link template code:

    <div class=”media” align=”center” style=”border: 1px solid; border-color: lightgrey; height: 240px”>
    <div style=”clear: both;”></div>
    <table>
    <tbody>
    <tr style=”height:100px;” align=”center”><td>[pdf_thumb_100x0]</td></tr>
    <tr style=”height:50px;” align=”center” valign=”middle”><td>[file_type_icons] [download_link_popup]</td></tr>
    <tr style=”height: 90px; font-size: x-small;” align=”center” valign=”top”><td>[title]</td></tr>
    </tbody></table>
    </div>

    Thanks for the help!

    #130334

    B
    Participant
    This reply has been marked as private.
    #130323

    Robert Pechey
    Participant

    i used the button class: “wpdm-download-link wpdm-download-locked” and use the custom attribute “data-package=XXXXX”


    Online Minune
    Participant

    Hello.
    I have some files uploaded and when I want to download them I get the message “Download link is expired. Please get new download link.”

    What happens?
    How can I solve the problem?

    • This topic was modified 6 years, 4 months ago by Online Minune.
    #130277

    In reply to: error 404 on download


    Nayeem Riddhi
    Moderator

    Please check now. There was several options checked like Activate flat download url beta and other also, but the main thing I have adjusted unmask the download link option. Now everything is okay.

    Thanks.

    #130257

    Nayeem Riddhi
    Moderator

    Hi,

    You can create the custom template in your active-theme/download-manager/page-templates/link-templates/custom-template.php make the condition like this

    $url = "YOUR_URL";
    $modified = str_replace('lang=en&', '', $url);

    and you can use the $modified one, let me know if it works for you.

    Thanks.

    Hi,
    We have a site that has installed inside it as a plugin WPML and DOWNLOAD MANAGER.
    An android application has also been created to display the site as an application.
    Android to display the pdf requires that the download link be added to the download link “https://docs.google.com/gview?embedded=true&url=&#8221;.
    We have modified the custom template so that that string is automatically added before the [download_url] tag.
    The problem arises in English language which is added after the lang=en download link.
    This generates the wrong display of the pdf.
    How can we make sure that it is automatically removed from every link that has the string “lang=en”?
    Working link:
    https://docs.google.com/gview?embedded=true&url=https://www.rallydiromacapitale.it/download/hotel-booking-form-english-version/?wpdmdl=727&refresh=5ee0a6e8cd9d11591781096
    Link is not working:
    https://docs.google.com/gview?embedded=true&url=https://www.rallydiromacapitale.it/download/hotel-booking-form-english-version/?lang=en&wpdmdl=727&refresh=5ee0a6e8cd9d11591781096

    Thanks in advace


    Jared Romey
    Member
    This reply has been marked as private.
    #130174

    In reply to: Download Limit Message


    Michael K.
    Participant
    This reply has been marked as private.
    #130144

    In reply to: Download Limit Message


    Nayeem Riddhi
    Moderator

    For the link Download Limit erreicht – Mehr Infos hier it goes to,

    This site can’t be reached
    http://www.xxx unexpectedly closed the connection.

    #130122

    Michael K.
    Participant

    Hello,

    the link from the Message from the Download Limit Message is wrong.

    I have added this into the box…

    Download Limit erreicht – Mehr Infos hier…

    When the user click on the then go to

    https://www.xxx.de/datei/lkw-3d-zeichnung/https:/www.xxx.de/infos/premium-user/

    How can I fix it?

    #130121

    Peter Havens
    Participant
    This reply has been marked as private.
    #130118

    Nayeem Riddhi
    Moderator

    Hi,

    Please do such this way, create a link/page template PHP file in your active theme dir example: {active-theme}/dowload-manager/link-templates/my-custom-template.php Now in my-custom-template.php, you can use PHP code too along with template tags, you can put this below code for showing if there any file attached or not, then showing the download button,

    <?php if(count(WPDM()->package::getFiles($ID, true)) > 0 ) { ?> [download_link] <?php } ?>

    please check and let me know.

    Thanks.

    #130107

    Web Guy
    Participant

    Hello. I just upgraded to 4.5.7 of Premium Packages and have encountered a few problems.

    BIG PROBLEMS:

    1) If I add something to my cart and then click on PayPal Checkout. It is allowing me to checkout without first being required to enter my first name, last name, and order notification email. The PayPal Checkout button should first verify that those three fields have been filled out before allowing me to checkout. If customers can bypass that area, then they won’t receive their confirmation email with the download link.

    2) If I order something as a guest, then I am able to successfully download the product from the Orders page. However, if I order something while being logged in as a member, then I am having problems with downloading the purchased PDF file. When I click the download button, I am not getting the PDF file that I purchased. Instead I am getting a strange text file that has a bunch of characters in it as the file name when I go to download the product from the Orders page. Here is an example of what is being shown as the file name: _wpdmppd=h4d2shppYFf….

    MINOR PROBLEMS:

    3) After checking out, it gives me an option to “Edit Billing Info”. If I click on that button, it opens a window that shows several fields, but the fields are not editable and it is not possible for me to close that popup window without first refreshing the page (I tested using Microsoft Edge). Either way, I have no need for customers to edit their billing info, so I would like the ability to hide that “Edit Billing Info” button if there is a way to do that (eithe with custom code or with css code).

    4) If I add something to my cart while I logged in as a member, the “Please Enter Your Name & Email” section has my username auto-populated in the First Name field. If it is going to pre-populate that first name field, then it should be populated with my first name (not my username). I should note that the last name field is not pre-populated, but the email address field is pre-populated with my email address, which is good.

    5) There is an “Auto Renew” box area that I would like to hide on the Orders page, since it will cause confusion to our customers. Please advise on how I can hide the “Auto Renew” area.

    6) The “Total” column and the “Download” column are being cut off on the mobile view of the Orders page. The only way to view those two columns is if the phone is flipped to landscape view.

    Please advise.

    Thanks

    #130102

    Jaewon Kim
    Participant
    <div class="card bg-light c2a4 mt-2 mb-2">
        <div class="card-body text-center pb-4">
            <div class="text-center wicon">
                [thumb_128x128]
            </div>
            <h3 class="p-0 m-0 mb-2"><a style="font-weight: 700" href="[page_url]">[title][ifbutton]</a></h3>
            <div class="text-muted text-small"><i class="fas fa-hdd"></i> [file_size] <i class="far fa-arrow-alt-circle-down ml-2"></i> [download_count] downloads [ifbutton]</div>
        </div>
        <div class="card-footer text-center">
                <a href="[page_url]" class="btn btn-secondary">View More</a>
                <div class="d-button d-inline-block">[download_link]</div>
                <div class="ml-3 [hide_empty:download_link]">[download_link]</div>
        </div>
    </div>
    <style>
        .w3eden .c2a4 .wpdm_icon{ height: 64px !important; width: auto; }  .well.c2a4 .media-body{ font-size: 11pt; }
        .w3eden .c2a4 .wicon img{ border-radius: 500px; max-width: 96px;margin: 5px auto 25px; }
        .w3eden .c2a4 .btn{ border-radius: 50px; font-weight: 500; margin: 0 3px; padding: 0 25px; height: 36px; line-height: 36px; font-size: 12px; }
    </style>


    I made it with the code above, but it doesn’t seem to work properly.
    How can I use this tag properly?

    • This reply was modified 6 years, 4 months ago by Jaewon Kim.
    #130094

    Dave Vuntel
    Participant

    one again.
    i put 2 link in content.
    When i click link 1 error displayed.
    When i click link 2 the file will downloaded with no error

    #130092

    In reply to: tree view


    Nayeem Riddhi
    Moderator

    Hi,

    We have released a new update ( 2.8.5 ) for the extended shortcode add-on, please update your copy, then the direct download link, I think it will work again. https://www.wpdownloadmanager.com/download/wpdm-extended-short-codes/

    #130085

    Dave Vuntel
    Participant

    Hi.
    i use free version in xampp. i put 3-4 protected files download link in content.
    after publish , when i try to download files i see this error messages :

    Warning: array_intersect(): Expected parameter 2 to be an array, string given in C:\xampp\htdocs\wp\wp-content\plugins\download-manager\libs\class.MediaAccessControl.php on line 80
    
    Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\wp\wp-content\plugins\download-manager\libs\class.MediaAccessControl.php on line 81
    
    Warning: include(C:\xampp\htdocs\wp\wp-content\plugins\download-manager/tpls//media-download.php): failed to open stream: No such file or directory in C:\xampp\htdocs\wp\wp-content\plugins\download-manager\libs\class.MediaAccessControl.php on line 87
    
    Warning: include(): Failed opening 'C:\xampp\htdocs\wp\wp-content\plugins\download-manager/tpls//media-download.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\wp\wp-content\plugins\download-manager\libs\class.MediaAccessControl.php on line 87
    • This topic was modified 6 years, 4 months ago by Dave Vuntel.
Viewing 25 results - 4,476 through 4,500 (of 11,368 total)