Search Results for 'all downloads'

Viewing 25 results - 2,126 through 2,150 (of 4,372 total)
  • Author
    Search Results
  • #111169

    Shahriar
    Moderator

    Go to Downloads > Settings > Basic > Access Settings > When user is not allowed to download: option and set “Hide Everything” as active value. Now users won’t be able to see other’s files.

    About the login redirect. It is also possible using custom code. Set the login page URL in Downloads > Settings > Frontend and add the following code to your theme’s functions.php file. Replace the place_your_url_here with the actual redirect destination URL. Now users will be redirected to this URL after login.

    add_action( 'template_redirect', 'wpdm_login_redirect' );
    function wpdm_login_redirect(){
        if( is_user_logged_in() && get_the_ID() == get_option('__wpdm_login_url') ):
            wp_redirect( "place_your_url_here" );
            exit();
        endif;
    }
    #111165

    Blake Hayes
    Member

    Gotcha.

    All of our downloads are PDF or JPG/PNG files. Is it possible to link to the file and it not “download”?

    Example: Use a HTML img tag with the url to the JPG/PNG file?


    Ed Ammendola
    Member

    You may disregard the last post from me regarding the class.Package.php override. I was able to keep class.Package.php as provided by the most recent version update and make all necessary changes to the wpdm-all-downloads.php file in my custom overrides folder. Thank you.

    #111067

    Skylux
    Member
    This reply has been marked as private.

    Shahriar
    Moderator

    You can add redirect URL in registration form shortcode. User will be redirected to that page after registration. You can also add autologin="true" with the shortcode. It will automatically log the user.

    [wpdm_reg_form redirect="http://www.cbsconsulting.com.au/dashboard/" autologin="true"]

    You can see the registered user in WordPress users page. Downloads > Subscribers list the info collected from email lock, not your users.

    Thanks


    Martin
    Participant
    This reply has been marked as private.
    #111046

    KoDan
    Participant

    I have also had the same type of Media Library uploader error, with uploads hanging once Seller A. had created around 40 packages.

    Although they can still upload the base file to be downloaded (these use a different process and are stored into their own uploads folder) trying to add another small ‘preview’ image – which goes into the Media Library, just hangs.

    Although Seller A. does have 40-odd images in the Media Library, they are all pretty small (<120kB each)…..

    DETAILED ERROR EXPLANATION (tested several times, consistent error)

    Create/edit a Package, everything works fine EXCEPT for uploading any *new* files into the WPDM Media Library. Adding *existing* images from the Media Library is fine.

    DEBUG CHECK ONE.

    I can upload the same file directly via WP back-end Media Library uploader (note different code to WPDM Media Library uploader!).

    So it’s unlikley to be an issue with the file itself.

    DEBUG CHECK TWO.

    Log into the site as Seller B. and it all works perfectly fine. The only difference betwen Seller A. and Seller B. is the number of ‘packages’, hence the number (or storage total) Media Library files they have allocated to their User ID.

    So it’s unlikely to be a process coding “error’, rather it seems more likely a limitation being placed on the actual user ID.

    ——————–

    Whe you access the WPDM Media File uploader it gives you a screen with the following: [Button] and text.

    …or
    [Select Files]
    Maximum Upload File Size: 500MB

    Unfortunately I haven’t been able to find where this 500MB value is set – it’s not through:

    • Downloads > Settings > Front End Access > Max Upload Size From Front-end: – I’ve set this to 1000MB
    • php.ini > upload_max_filesize – I’ve set this to: 1024MB

    I can’t see this being a server setting anyway, as the server can’t know how much data the user ID has accumulated – the only way you could get this total is by a database query. So it could be set in WP, WPDM, another WPDM plugin or even the Theme, unfortuntely searching through files for ‘500’ gets an awful lot of hits…….

    ——————–

    WORKAROUND

    For WPDM installations I leave WP using the default WP Media Settings of: use ‘month-and-year’ based folders, seems a fortunate coincidence I did (as I don’t usually).

    When you open the WPDM Media Library uploader it does have a filter, but this ‘defaults’ to displaying [All Dates], so basically it shows you *all* media files uploaded by *all* users. Huh? why there isn’t a ’40-per-page’ option OR a user filter (a realtively easy implementation) is a mystery to me.

    Anyway, if I change the filter to an empty ‘older’ folder eg. [June 2019] it reports back:

    No items found.
    Drop files anywhere to upload
    or….

    And guess what? Uploading from here is fine. However…….

    What is curious is that the file does not upload into the [June 2019] folder, instead it uploads into the ‘current’ folder – in this case is [Aug 2019].

    ANALYSIS

    No idea why it behaves like this – it was just dumb luck that I found this.

    I’m guessing it is a coding issue with the WPDM Media File uploader, however as most of you already realise there really isn’t any official support for this product – so don’t hold your breath waiting for a reply or code fix. Even if you have paid for Pro licenses (like me) they almost *never* repond to any Forum support questions.

    When they do there is no rhyme or reason, it almost seems like a random selection. So it seems more like scraps to keep the masses from rioting? lol.

    BTW if you *really* want a response, my suggestion is to pretend you are a new buyer testing out their ‘free’ version before you buy – this way you will definitely get a response so you can push the questions as far as you think appropriate. They gave me some really good assistance ‘pre-purchase’, but that support has simply vanished now I’ve paid for it.

    It’s a bit of a shame you have to resort to this, because it is a really-nice, great-value little product.

    But IMHO with the support they ‘offer’, you need to be able to code PHP yourself to get it to work properly, especially if you want to use it for a commercial application where things might need to be fixed quickly. Most core edits won’t run in a child theme so that should also tell you quite a lot of how you need to manage these installations.

    🙂


    Shafayet
    Moderator

    Hi,
    To keep your customization, please copy create a dir named download-manager inside your active theme dir. Then copy the template file wpdm-all-downloads.php there.

    #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

Viewing 25 results - 2,126 through 2,150 (of 4,372 total)