Search Results for 'all+downloads'

Viewing 25 results - 3,051 through 3,075 (of 5,456 total)
  • Author
    Search Results
  • #92504

    Hi Shahriar,

    I’m not using WPDM templates tags. I have a custom theme, with custom PHP files. One of my php file is using the WP default loop to loop and display all the downloads.
    Right now, I was using `$data[‘download_link’] = \WPDM\Package::downloadLink($data[‘ID’], 0, array(
    ‘template_type’ ► ‘link’
    ));` to display the download button.

    Now, I would like to :

    1. Add the cart
    2. Add the “+” button to add files to the cart, as I explained earlier in this thread

    Which function should I use ? Do I have to do something regarding the JS to add file in cart ?

    Thank you in advance,
    Cedric

    PS : I notice that the “Notify me of follow-up replies via email” is not working.

    #92454

    Chad
    Participant
    This reply has been marked as private.
    #92448

    Shahriar
    Moderator

    Hi,
    You are using the free version of WPDM there. But PDF Viewer requires the Pro version. Please install the Download Manager Pro and set Single Column with Doc Preview as page template. Then the PDF viewer will be visible to private downloads.

    Thanks.

    #92417

    Shafayet
    Moderator

    The shortcode is incorrect, please use any of the following add-ons to generate shortcodes/blocks:

    Advanced TinyMCE button

    Gutenberg Blocks

    Or please follow the shortcode doc properly:
    https://www.wpdownloadmanager.com/doc/short-codes/wpdm_category-query-all-downloads-from-one-or-more-categories/

    #92392

    Until the transfer is done, I’ve downloaded the add-on on the wrong account to test it.

    I have a custom PHP template file that list all the available downloads/packages. In my PHP file, I’ve added this code to display the cart :
    <?php echo(do_shortcode('[wpdm_file_cart]')) ?>. This code displays the cart so it’s ok.

    Now I have to replace add a “Add to cart” button for each package. I can’t find a function/shortcode to do that… Could you please help me ?

    Thank you,
    Cedric

    #92384

    liyuduan
    Member

    Hello;
    I’v noticed that there are a huge number of php warning created to apache error log, the infomation is :
    [Wed Jan 16 10:04:44.489183 2019] [:error] [pid 1238] [client 46.229.168.129:63562] PHP Warning: file_put_co ntents(/var/www/snailsuite.com/public_html/wp-content/uploads/wpdm-cache//session-38f19b667a74ee8097c610aaa7c 543a0.txt): failed to open stream: No such file or directory in /var/www/snailsuite.com/public_html/wp-conten t/plugins/download-manager/libs/class.Session.php on line 75
    but, I’v tested all downloads, it seems all download running ok, do I need worry about it? or how do I deal with it? because it create 100k error log which makes the error log fat, very fat:(

    #92355

    In reply to: login page


    Shahriar
    Moderator

    You can restrict the Frontend Dashboard access from Downloads Settings Frontend Access Tab. Only allowed user roles will be able to access the page.

    #92349

    Shahriar
    Moderator

    Please add the following code after line no 222 in /download-manager/tpls/wpdm-all-downloads.php file. That should fix the issue. We will add the patch in the next update.

    if( ! wpdm_user_has_access ( get_the_ID() ) && get_option('_wpdm_hide_all', 0) == 1 ) continue;

    Hi Team,

    Yesterday my client’s downloads, all are with Google Drive, stopped working. It just had a blank error 500 page when you clicked the download button after you entered the password.

    I renewed my pro license and updated to 4.9 today, thinking that may have been the issue.

    When testing today, after I enter a password and click the download button, nothing at all happens. Not even a page refresh.

    I then did a test by removing the password and when I click on the download button, it goes to the Google Drive file with no problem.

    Can you please advise how to fix the issue as I really need the password lock to work again?

    Regards,

    Nate

    #92267

    blakemiller
    Participant

    I am preparing an existing website to move to a new server. Most of the files within packages were added via the Browse function (Not the Upload function) which references files/folders OUTSIDE of the default WPDM Upload Path. (Client uses FTP to upload alot of files to custom directories)

    On the new cloned site, none of the downloads work and return “File not found” messages. (THe migration of the entire site otherwise worked perfect)

    The new server has a new file path structure. I cloned/migrated old site to new server, but the file paths have remained the same.

    If I try to run Better Search and Replace, it recognizes/finds the old file paths, and says that it changed the database, but doesn’t actually change them according to the package view. But if I go back a second time to Search & Replace again, the original file path is no longer found. So the database changed, but the actual file path has not.

    old path
    /home/xxxxxx/public_html/downloads/custom-unique-folder-name-here/

    new path
    /srv/users/xxxxxxx/apps/yyyyyyyy/public/wp-content/uploads/custom-unique-folder-name-here/

    How can I adjust all of the saved file paths to the new structure? I saw in another post to use Migrate DB Pro. Would that be an option here?

    Thank you in advance!

    #92222

    Jade Deverill
    Participant

    Hi I am trying to set up my front downloads page to look like the categories block page on your demo.

    However I can adda block in gertenberg but I can’t seem to select the category.

    I can’t type in the box to select a category, if I click on the search icon it just greys out the box and doesnt actually do anything.


    Max
    Participant

    First of all – love the plugin! Great support and it’s super useful on my site.

    What I am wondering is if there is a way to disable access to the ‘page’ that each download creates when a new product is added. I notice each product has an associated URL. That’s great and all but I want to put all the downloads on one page with shortcode on my member’s site and allow members to download it for free. That’s totally doable at the moment but I don’t like the fact anyone can access the specific download page and just grab the download for free without logging on.

    Now I also realize I can jump through a bunch of settings and hoops to make each download ‘page’ created be locked but wouldn’t it be nice if I had the option to turn off the direct link from inside this plugin? Does this make sense? (see image)

    #92107

    Hello there,

    after update from WPDM Pro 4.7.6 to the newest 4.9 the downloads won’t work anymore.
    When trying to download a pdf-file for example, it doesn’t start a download like before, but will load a page with /download/wpdmdl=xxx&refress=xxxxx, after some time there is cryptic code with an “Your email is blocked!” text behind it.

    Till my customer need this to work, I’ve reinstalled the 4.7.6, but I really want to know, what the problem is.
    Developer console and debuggin enabled doesn’t give any informations (besides a notice: offset 1 in line 315 of wpdm-functions.php)

    #92105

    1. Up until today, I have used the free plugin version to set up a new page.

    I have inserted the following shortcode into several dozen pages, referencing the link-template-default which rendered a nice, one-column list of downloads:

    [wpdm_category id="tickets-swiss-travel-pass-de" toolbar="0" order_by="field name" order="asc" template="link-template-default"]

    2. With the upgrade to the Pro version, the same link template has somehow changed (link-template-default), so all of my pages no longer displayed the same list. Here is one example where it is now showing a panel instead.

    3. Since I don’t want to update 60+ pages by changing the shortcode to another link template, I figured out how to go into PHP in order to override the template.

    4. For now, I have come up with the following snippet, hoping that it would nicely show my downloads like in the preview window within WP. I have overwritten the link-template-default, but the result looks pretty terrible and I can’t figure out how to make it a list again:

    <!– WPDM Link Template: Default Template –>
    <div class=”panel panel-default wpdm-link-template link-template-default”>
    <div class=”panel-body”>

    [thumb_200x100]

    <div class=”panel-content”>
    <h4 style=”padding-top: 0px;border:0px;margin: 0px;line-height: 1.7″>[title]</h4>
    <i class=”fas fa-hdd color-red”></i> [icon]  
    </div>
    </div>
    <div class=”panel-footer”>
    [download_link]
    </div>
    </div>

    5. Can you give me the correct code snippet which will create a view such as this one of yours?

    Thank you in advance!

    PS. And how can I add a target=”_blank” to the DOWNLOAD button, so that a new tab opens when someone clicks the button?

    #92079

    GIOVANNI AMERIGHI
    Participant

    traduction by google:

    Hello, I would like to give the possibility to share the downloads with facebook and I think I have a wrong purchase.
    I have indeed purchased Facebook share downloads, but I see that its function is to “force” to share in order to download.
    Instead, I would like to allow sharing, but not forcing it to do so. How should I do?

    #92060

    hartjacob
    Member

    I can’t get my page to load at all now. Please help.

    https://earthlcd.com/support/downloads/

    #92016

    Shahriar
    Moderator

    It is not possible to hide the parent category or order by category. But you can click on the category link to filter packages.

    By the way, if you want to show the parent why not drop the parent category completely?

    A better solution for showing all downloads with search and filter would be Archive Page add-on. Please take a look at the demo here https://demo.wpdownloadmanager.com/wpdmpro/archive-page-default/

    #91795

    Shahriar
    Moderator

    It is not possible using tags. All packages table uses category as a filter.

    Template customization ( /download-manager/tpls/wpdm-all-downloads.php ) is required to filter packages based on tags.

    #91785

    Shahriar
    Moderator

    Your theme is deactivating the click on the download link. The click is triggered by JS onclick event.

    However, there is a workaround. I have created a clone ( Single Column, Flat Clone ) for the page template ( Single Column, Flat ) you are using there. Replaced the [download_link] template tag with <a href="[download_url]" class="btn btn-sm btn-success">[link_label]</a> This uses direct URL instead of JS onclick event to initiate download.

    Check the example here https://www.teatimemonkeys.com/download/single-opt-in-mailchimp-english/

    This clone template will work with only packages that have no lock. For locked packages use the original ( Single Column, Flat ) template.

    If all of your downloads are unlocked, let me know. I will bulk update page template for all packages so you don’t have to update one by one.

    #91779

    Lex
    Member

    Hi there,

    I’m currently displaying all downloads with this shortcut:
    [wpdm_all_packages items_per_page="30" jstable=1 order_by="date" order="DESC" cols="page_link,file_count,download_count|excerpt|acf_status_Bid Date|page_link" colheads="Project|Project Info|Bid Date/Status|Download::155px"]

    On this page: http://www.gdacllc.com/plan-room/current-bids/

    Now, we would like to split packages into two categories…each category will get it’s own page.

    Can you please help me keep this same layout, but switch with category view instead of all packageS?

    It would be very much appreciated!


    Shahriar
    Moderator
    This reply has been marked as private.

    Cornelis Bockemühl
    Participant
    This reply has been marked as private.
    #91047

    In reply to: Download email lock


    Shahriar
    Moderator

    Download starts automatically after submitting the email address. The download button is shown to allow more downloads. Please send me the link to check your package.


    Pablo
    Participant
    This reply has been marked as private.

    I have several identically configured downloads. Some work correctly. Others do not.

    With the ones that fail, when clicking on the Download button, the pop-up simply disappears (rather than saying “processing”.

    Also, when you mouseover the download button, it does not activate (change color).

    Examples of both working and broken links here:

    “https://ipservices.com/resources/brochures/&#8221;

Viewing 25 results - 3,051 through 3,075 (of 5,456 total)