Search Results for 'all+downloads'

Viewing 25 results - 2,176 through 2,200 (of 4,413 total)
  • Author
    Search Results
  • #110970

    Shahriar
    Moderator

    You can follow the customization below to exclude specific IPs from stats.

    Add do_action('wpdm_new_stat',$pid, $uid, $oid); at the begging of newStat function in /download-manager/libs/class.DownloadStats.php file.

    http://prntscr.com/otknx0

    and then add the following code to your theme’s functions.php Edit the $exception_list array to add all IP that you want to exclude from stats,

    function wpdm_new_stat($pid, $uid, $oid){
        $ip = $_SERVER['REMOTE_ADDR'];
        $exception_list = array(
                '127.0.0.1',
                '127.0.0.2'
        );
        if( in_array( $ip, $exception_list ) )
            \WPDM\Session::set('downloaded_'.$pid, $ip);
    }
    add_action('wpdm_new_stat','wpdm_new_stat', 10, 3);
    #110960

    Vadim Sytdykov
    Participant

    Hello,

    im using the Directory Add-on with the Sidebar.
    When im inside an category and change the sorting order it applies the sort order but shows me all downloads and not the file from the category i was in. The breadcrumbs still show the subcategory though.
    How can i fix that?


    Adrian Balles
    Participant
    This reply has been marked as private.
    #110815

    KoDan
    Participant

    Folks, I’m *really* after a bit of support here.

    I have done an *awful* lot of investigation, code customisation and despite getting virtually no forum replies I have solved most of the issues myself and shared lot’s of information in the Forum about:

    Customisation

    • preventing users form seeing the WP Dashboard or Top Menu
    • implementing a Menu ‘Logout’
    • elegantly directing sellers > seller dashboard & users > user dashboard on login
    • elegantly redirecting users to an information page if they do not have the correct permissions
    • restricting display of Media Library files to just the authors
    • restricting access to WP permalinks and direct file URL’s (ie. attached files in a package) to only registered users
    • implementing a homepage text search
    • using tax inclusive pricing
    • forcing ALL users, no matter if they have selected a country, to be charged tax
    • stopping sellers from seeing other seller products in the dashboard (ie. Latest Orders and Top downloads)

    Code Anomolies

    • identified why thumbnail generation fails
    • identified a discrepancy in the way Coupon Discounts are presented
    • identified an anomaly in the way seller commissions are calculated

    IMHO this is all useful information for current users as well as for WPDM in considering future code patches & releases.

    The only aspect of the site I’m still un-happy about is Billing Information.

    It’s very frustrating that the Country > State pull-down code works perfectly in the Shopping Cart & the Premium Package Admin panel, but nowhere else in the site. This is especailly annoying for the end user, as this field can never be auto-populated.

    You have already written the code, I have found the relevant code snippet and have inserted the code but it doesn’t work. I’d sort it myself but, unlike everything else I’ve sorted, I just can’t easily find where to hook it up to the required functions (I’m guessing js).

    So I would REALLY appreciate some guidance here – it can’t be difficult.

    #110813

    In reply to: Search bar and results


    KoDan
    Participant

    And old post I know, but as per usual I can’t always find the exact detail of how to implement a solution in the WPDM Support forums, so anyway here is a clear explanation of my how I added a text search box to the Verse homepage, it may well work just as well for any other WPDM oriented theme.

    A nice part of this customisation is it only edits /verse/homepage-top.php, which can happily run in a child theme. I just added the following code at around Line 77, keeping the same structural <div> elements already used on the page. Obviously you could also use the child theme style sheet to format if required.

    ————————————
    <div class=”container”>
    <div class=”row”>
    <div class=”col-md-12″ style=”top:12px;”><p><?php echo do_shortcode(“[wpdm_simple_search]”); ?></p></div>
    </div>
    </div>

    *the extra <p></p> isn’t really necessary, but it just seemed to render better for me!
    ————————————

    Additional Notes:

    Folder level searching in /download-manager for ‘Search Package’ hits /tpl & /tpl4/search-result.php
    Folder level searching in /wpdm-archive-page for ‘Search Package’ hits /tpls/simple-search-form.php

    Looks like the same code.

    ————————————
    <div class=’w3eden’>
    <form id=”srcp” style=”margin-bottom:20px”>
    <div class=”input-group input-group-lg”>
    <div class=”input-group-addon input-group-prepend” style=”width: 50px”><span class=”input-group-text” id=”spro”><i class=”fa fa-search”></i></span></div>
    <input type=”text” class=”form-control input-lg” name=”src” value=”<?php echo wpdm_query_var(‘s’, ‘txt’); ?>” placeholder=”<?php _e(‘Search Package’,’wpdm-archive-page’); ?>” id=”src”>
    </div>
    </form>
    <div style=’clear: both;’>
    <div class=’wpdm-downloads row’ id=’wpdm-downloads-ss’></div>
    </div>
    </div>
    ————————————

    I tried using this search form code (& function) and although it DOES give me a full width search field but doesn’t work as nicely because it throws the user to the results page.

    Summary

    Now I have a search that not only beautifully scrolls over the background with the rest of the homepage elements, but the search results are seamlessly loaded right back into the homepage, elegantly moving all of the lower elements of the homepage down below the search results. Nice! So it looks like it was meant to be there, very pleased with the result. However it would be *even* nicer if I could:

    – have more positional control (eg. text-align: center doesn’t seem to work)
    – make the input field wider (seems set at a fixed width around 20 characters)
    – change the default text from ‘Search Package’ to ‘Search Images’

    But I can’t find where this is set in the code, grreat to know if anyone else knows where or how to customise 🙂

    FYI folder level searching in /wpdm-premium-packages or /wpdm-extended-shortcodes or /verse for ‘Search Package’ gets no hits.

    When I update the the following

    FROM: a:1:{i:0;s:136:”/nas/wp/www/sites/vbvdev/wp-content/uploads/TechnicalData/Electric Actuators/EOM Nema 4x/BVC EOM PB CONTROL CARD SETUP PROCEDURE.doc”;}

    TO: a:1:{i:0;s:136:”/nas/wp/www/sites/vbvprod/wp-content/uploads/TechnicalData/Electric Actuators/EOM Nema 4x/BVC EOM PB CONTROL CARD SETUP PROCEDURE.doc”;}

    in the database, It downloads a .txt file called “download-not-available.txt” that says “Sorry! Download is not available yet.”

    This problem is in urgent need of a solution.


    Ed Ammendola
    Member
    This reply has been marked as private.

    Shahriar
    Moderator

    Hi,
    Have you made any changes? All downloads seem to be working now.
    By the way, when adding a new file from your directory this is path /nas/wp/www/sites/vbvprod/ path. But your files are being served from your /nas/wp/www/sites/vbvdevelop/ path, I guess it is your dev directory. If you remove files from this dir downloads will be inaccessible.
    http://prntscr.com/op0d6y
    Thanks.

    #110704

    welswebmaster
    Participant

    SUMMARY OF OUTSTANDING ISSUE

    1- So new .zip file downloads work – like 300MB just fine after WP Engine fixed the WPDM cache Apache issue. (WP Engine chat script above)

    2- BUT these download .ZIP files error out for Windows users still. They can download but when extracting they get the same error: https://welscongregationalservices.net/wp-content/uploads/2019/07/image004.jpg
    https://cad.welsrc.net/download-cad/my-son-my-savior/
    https://cad.welsrc.net/download-cad/come-follow-me-bible-study/

    However, Mac users get the files but they are deep in numerous folders /nas/content/live/wrc/wp-content/uploads/download-manager-files/AND THEN ALL THE FILES

    3- Individual file passwords do not work. https://foundation.welsrc.net/download-foundation/planned-giving-today-2016/

    – It doesn’t show the lock icon for each download.
    – It allows public to download the file even though the password is set.
    – I tried this solution: https://www.wpdownloadmanager.com/support/topic/password-lock-not-working-with-some-browsers/ BUT it didn’t work.


    Shahriar
    Moderator

    Hi Gary,

    Please install the latest version to fix the issue. Follow these steps to update the plugin,

    1 ) Deactivate and delete the old version. You won’t lose any data.

    2) Download latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases

    3 ) Install the latest version and activate the license key.

    If you are facing trouble with auto-update, logout, and then login again from your Downloads > Settings > Updates tab. That should fix the issue.

    Thanks.

    #110653

    Shahriar
    Moderator

    Yes, you can show the publish date. Please check the shortcode documentation here https://www.wpdownloadmanager.com/doc/short-codes/wpdm_all_packages-list-all-downloads-in-tabular-format-in-a-page/

    [wpdm_all_packages items_per_page="10" jstable=0 cols="page_link,file_count,download_count|categories|publish_date|download_link" colheads="Title|Categories|Publish Date|Download::155px"]

    It is recommended to use the pagination for performance reason. Showing all files will reduce performance.


    Götz Anders
    Participant

    Ok, we solved the Problem with an Update. To bad that the Custom Templates are gone… and we have to set all Downloads again with the Templates and generate the Custom Templates again :-/. Hope this doesn’t happen again…

    Br

    #110590

    In reply to: Category shortcode


    Shahriar
    Moderator

    James Norris
    Participant

    Thanks Shahriar!

    Really appreciate the help. This was definitely unintended. After adding the code to functions.php the downloads all appear to be working. It doesn’t fix the filesize report but that doesn’t matter too much.

    If you have a moment, could you also possibly deactivate my WPDM Pro licence on easterngoldfields.com.au (old site) so I can use it only on orabandamining.com.au? The control panel to do this doesn’t work for me.

    Thanks again.

    #110480

    welswebmaster
    Participant

    FYI – I did change the setting as you suggested and also disallowed parallel downloads and enabled cache of zip. No change.

    #110477

    KoDan
    Participant

    A couple of minor queries.

    1. https://www.motoshoot.com.au/date uses the shortcode: [wpdm_carousel category=”8″ item_per_page=”10″]

    Whilst the ‘chopped’ image is visually interesting I don’t like the way the image mis-aligns. I would prefer to set the shortcode to default to the grid display (which I don’t know how to do), and even with the shortcode telling it to load 12 it always defaults to 10.

    2. https://www.motoshoot.com.au/downloads/2019/

    same limitation applies when you directly load a Category – I would *really* like to make this deafult to 12 not 10, but doing file content searches for =10 didn’t point me towards anything logical.

    3. https://www.motoshoot.com.au/download/8993/

    A standard package display – which I really like BTW. However as you can see I’m actually using the [Package Info] > [Version] field to enter the pixel size of the image. It’s a really simple variation of using the existing code, but I would like to change the text values here.

    Package Info > Photo Info
    Version = Image Size

    These are likely just text strings somewhere in an array, but again file content seaches through the directories doesn’t point to anything worth following up.

    I don’t think any of these are major code edits, and they are certainly something I can do myself! I’m really just hoping for some guidance on where to start looking.

    Adrian

    #110474

    KoDan
    Participant

    Thanks Shahriar for quick reply. I pasted the code into functions.php and the result of searching for a known package (8813) is now this:

    1. Search still seems to default to ‘Posts’ – as the [Posts] search menu is highlighted at the results screen. The new code breaks my previous edit though and there is no text repsonse at all to a ‘no results’ search.

    2. Curiously though when I switch the search menu to [Pages] it gives me a hit on the package……which is doesn’t do under normal Search conditions. Not sure where/how the search string is matching here.

    3. As per before it matches when the menu is switched to [Downloads]

    Adrian


    KoDan
    Participant

    I’m not sure if this is a WPDM or a Theme question.

    I have just been going through the search responses to make them a little clearer to customers. IMHO the Seartch is a bit confusing, as it does not search across *ALL* sections if you select multiple section configuration. In my case I had selected [Posts, Pages & Downloads] yet when I entered the title of a Download Package I get ‘No Results Found’. Huh?

    I subsequently figured out that you needed to select the ‘other’ sections from the Search menu to force the code to search those particular sections.

    And to make it even more confuing to the new user, unlike a [Post] or a [Page] there was no default text returned when using the Verse Theme when you performed an empty search in the [Downloads] section – just empty space – a little odd as this is Theme for a download plugin!

    FWIW you need to edit the [search-templates/wpdmpro.php file] – and it works in a child theme. I just copied the default text from the Verse theme [search-templates/post.php/pages.php], however you will need to cut-and-paste code (and maybe re-position an auto-incrementing variable!) and edit a bit to make it work.

    However I noticed that the Search always defaults to [Posts] when I have [Posts], [Pages] and [Downloads] as multiple selected Search options. Again this was a bit confusing at first (as you kinda assume it would search download content), and this was the reason for wanting to improve the ’empty’ responses.

    But it got me wondering as to whether I can configure (or code) the Search to default to [Downloads] instead?

    I know the string I need to change [?post_type=post] > [?post_type=wpdmpro] but despite some global folder searches and a few coding options in the Verse files (search.php & functions.php) but can’t quite get my head around the relationship here between the variable: $current_post_type & the array: $search_post_types.


    Shahriar
    Moderator

    The migration add-on is still required. How did you migrate old downloads without it? I see that there is no file attached to most of your packages.

    You can use the Default Values add-on ( https://www.wpdownloadmanager.com/download/wpdm-default-values/ ) to bulk update package settings. Please check the add-on page for more details. But you have to attach files manually as it is unique to each package.

    As you said before there are only 300 packages that your client will need, it is better to delete other packages which will simplify the management.

    #110394

    DesignServe
    Participant
    This reply has been marked as private.

    DesignServe
    Participant

    Hi WPDM,

    Two issues with the button “You Are Not Allowed to Download”, relating to [free_download_btn]

    1 – I want to change it to say something else but not get overwritten when you issue an update. How do I do that?

    2 – It is allowing downloads all the time to anybody. Page link below is an example (if you are logged out the button will display “Download All Files” and still let you download the free files from the package). if you are logged in and you don’t have the correct subscription to download the free files it will say “You Are Not Allowed to Download”, and still let you download them.

    I will add the link in private reply.

    How to fix this?
    DesignServe


    James Norris
    Participant

    Could somebody help, please? It’s not feasible to reset all these downloads manually.

    #110368

    DesignServe
    Participant

    Shahriar,

    You need to add the information about how to add the free button to your documentation! I’ve spent three hours trying to find this out and now I found this forum post by using Google search. It is very difficult to search for anything containing the search terms ‘free files download’ this phrase is all over the Internet!

    I have some queries about this now please:

    1 – I added the button but it displays the same Link Label as the main package. I need it to have a different Link Label, such as “Download Free Files”, so that members can tell the difference between the download buttons. My main button Link label is Download All Files (because I also have enabled individual files to be downloaded, so I want the main button to say something extra, other than ‘Download’.

    2 – Second, On my site I need a free download and a paid members download. However, I dont want the paid member levels to see the free download button (because the free downloads are already available in their paid packages). How could I do that please?

    PS your site is looking better every day.

    Many thanks,
    DesignServe

    #110319

    In reply to: Amazon S3 Add On


    Shahriar
    Moderator

    The plugin got deleted during the update. It happens when there is an issue with WPDM credentials.

    If you have installed the latest version of Download Manager please logout and login again to your WPDM account in the Downloads > Settings > Updates page. That should fix the issue.

    #110318

    Shahriar
    Moderator
    This reply has been marked as private.
Viewing 25 results - 2,176 through 2,200 (of 4,413 total)