Search Results for 'all downloads'

Viewing 25 results - 2,401 through 2,425 (of 4,430 total)
  • Author
    Search Results
  • #92894

    In reply to: Open in New tab/window


    Shahriar
    Moderator

    You can replace the [download_link] tag in link or page template with the following code to open download in a new tab,

    <a class="btn btn-primary" target="_blank" href="[download_url]">[link_label]</a>

    Where are you trying to change the download button behavior? Is it in all downloads table or in package shortcodes? The solution will work for shortcodes or package details page.

    #92873

    Hello,

    I tried to modify this behaviour by following instructions on a previous post. However, placing this line in wpdm-all-downloads.php line 355 did not work

    echo “Download“;

    #92838

    Shahriar
    Moderator

    Make a copy of wpdm-all-downloads.php file and place it in /active-theme/download-manager/wpdm-all-downloads.php location.

    #92821

    Aric Shelby
    Participant

    Just purchased Special Pack and also Paypal Pro after seeing the Crypton demo, specifically this page is exactly what I wanted.

    https://demo.wpdownloadmanager.com/wpdmpro/download/premium-images-demo-product/

    I loaded that page in multiple browsers and on my 2 cell phones, it was perfect.

    The theme I got doesn’t look quite the same, and there are formatting issues when on a small screen (bootstrap is not collapsing properly).

    I can fix the bootstrap issues in the theme files, but the bigger issue is the Buy Now button isn’t showing up, which is 90 percent why I went with you guys. That instant click and purchase is invaluable and always increases sales in my experience. So I must have it working as advertised.

    I selected the option in Downloads->Settings->Premium Package->Basic Tab->Purchase Settings->Show Buy Now Option

    But It shows and empty box on the front end, see attached pics.

    What to do?

    New customer with all plugins downloaded yesterday, wordpress is up to date. Also, switched themes and the button doesn’t show up on other WPDM themes either.

    Thanks

    #92783

    Vela Agency
    Member

    I have a fresh WordPress (5.0.3) install and when I enable Downloads Manager (4.9) I receive the following error in the dev console:
    Failed to load resource: the server responded with a status of 404 () https://xxxxxxxx.xxx/wp-includes/js/jquery/jquery.form.min.js.map

    I have verified the file exist via FTP and there are no other plugins activated when the error occurs.

    Any help is appreciated.
    Kevin

    #92777

    Looks like I need to override ..\plugins\download-manager\tpls\wpdm-all-downloads.php

    Is there a location in my theme folder I can do this?

    Somethinglike: ..\themes\my_theme\download-manager\tpls\wpdm-all-downloads.php

    #92733

    In reply to: Disappearing Downloads


    Shahriar
    Moderator

    You can check the trash from “All downloads” page. It is visible only when there are packages in the trash.

    https://www.evernote.com/l/AUf5xPFQXo5KAatj9wjJRfxbecCxG3L_eWgB/image.png

    If you send admin login info I can check this issue more closely.

    #92732

    Shahriar
    Moderator

    You can set URL structure from Settings Basic URL structure panel. To show all your downloads in yoursite.com/store page, enable the “WPDM Archive Page” and set store as “Archive Page Slug”.

    If you want, You can build a custom archive page for that store page. The template file name should be archive-wpdmpro.php This template file gives you full control over how the store page will look like. If you do not create this template an archive template from your theme will be used.

    #92724

    In reply to: Filter Button


    Shahriar
    Moderator

    The shortcode is coming from WPDM Archive Page Add-on ( Directory Add-on ). Please install and activate the latest version of the add-on. That should bring back your downloads page. You can download it here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases

    #92714

    Shahriar
    Moderator

    When using jstable it traverses through all available downloads. So, it does use lots of memory when you have many packages. In this case, the best option is deactivating js table.

    You can use Archive Page ( Directory Add-on ) for the search feature. It has ajax search which is partially similar to the jstable search. Archive Page demo https://demo.wpdownloadmanager.com/wpdmpro/archive-page-default/

    #92665

    johanfrc
    Participant

    Hey.

    Have a very strange problem.

    Whenever I try to download a file on my site I get this error:

    Warning: A non-numeric value encountered in /customers/7/6/8/jcai.dk/httpd.www/wp-content/plugins/download-manager/libs/class.DownloadStats.php on line 35

    and then a lot of strange letters and symbols. It can take minutes before all characters are read.

    But if I refresh the page, then the file is downloaded without any problem.

    I’m using PHP 7.2 if that can help. Otherwise, ask if there is other info you need.

    #92631

    We allocated 1gb memory for PHP framework. When using the jstable function with wpdm_all_packages shortcode (jstable=1) the allocated memory is exceeded. The plugin builds a table with more than 1GB memory for itself. When deactivating (jstable=0 or deleting the entry), it works. So far so good. jstable is fixed used in your code, expecting to have it activated and prevents to switch to the next page. We found a workaround with defining line 1002-1005 of file wpdm-archive-page/wpdm-archive-page.php as commentary. But it has also influence from stats, we unfortunately needed to use. It freezes the system completely by memory allocation overflow. We have currently entered 2090 downloads in WPDM.
    Can you check it. Maybe you have ideas for workarounds which doesn’t need to reenter after an update.

    #92504

    Noomia SPRL
    Member

    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:

    [wpdm_category] – Query All Downloads From One or More Categories

    #92392

    Noomia SPRL
    Member

    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

    #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.

    #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?

    #92060

    hartjacob
    Member

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

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

Viewing 25 results - 2,401 through 2,425 (of 4,430 total)