Search Results for 'Add Url'

Viewing 25 results - 1,001 through 1,025 (of 1,647 total)
  • Author
    Search Results
  • #70559

    The flaturl=1 option doesn’t work with our site, which is why we used the other option. We just get 404 errors when its set to 1.

    We have the shortcode in a page template and the initial screen displays fine but both the add new and edit screen both go to 404’s.

    Tried clearing cache and permalinks and also checked the correct page was assigned in the WPDM settings… Any ideas?

    Thanks

    #70539

    In reply to: CSS Change Template


    Shahriar
    Moderator

    1 ) Save only the image URL in the custom field. Then use this URL in your custom template to show the image via the img tag.

    2 ) Sory, Not sure what you meant. If you want you can activate the download archive ( from the option in your screenshot 1 ).
    Yes, you can show only the category. Add following code in your theme’s functions.php to add a custom template tag for categories with no link,

    function wpdm_comma_separated_tax_terms($post_id){
        $args = array('orderby' ► 'name', 'order' ► 'ASC', 'fields' ► 'all');
        $terms = wp_get_post_terms( $post_id, 'wpdmcategory', $args );
    
        $terms_array = array();
        foreach ($terms as $term):
            $terms_array[] = $term->name;
        endforeach;
    
        return implode(', ', $terms_array);
    }
    function wpdm_custom_tags($vars){
    
        $vars['categories_nolink'] = wpdm_comma_separated_tax_terms($vars['ID']);
    
        return $vars;
    }
    add_filter( 'wdm_before_fetch_template', 'wpdm_custom_tags', 10, 1 );

    3 ) If you use the custom categories tag then there will be no link to category archive.

    4 ) Great

    5 ) Multiple downloads of the same file in single session is counted as one. The limit will apply only when the user tries to download another file.

    6 ) Select ‘Subscriber’ in package settings to allow Abonnent

    https://www.evernote.com/l/AUdCkW2j-_dGv7sYlVYXE_zobM6kUFQnXVcB/image.png

    7 ) You can modify the message from /wpdm-daily-download/wpdm-daily-download.php file. There is no filter yet to modfiy it from outside.

    #70465

    In reply to: CSS Change Template


    Shahriar
    Moderator

    – Category archive page URLs look like https://www.site.com/downloads/package-category/ Here downloads is category URL base. I meant before you can change this URL base if you want from Dashboard Settings Basic URL Structure Panel.

    -You can set login required or permission denied message ( when the user can’t access the package ) from settings. But your link/page template should have [download_link] tag for that.

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

    – You need Download Limit add-on to apply download limit based on user role

    – Just update the package where you see the empty author. That should hide the author when it is empty.

    #70461

    Shahriar
    Moderator
    This reply has been marked as private.
    #70420

    In reply to: CSS Change Template


    Shahriar
    Moderator

    – Added new custom field Author and edited your custom link template dxf to show that author when available

    – added the background in custom template

    – changed the button color

    – access is not working because from your download manager category settings you are allowing all visitors to access the download

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

    https://www.dxf-downloads.de/category/downloads/3d-drucker-stl/ is the archive for your post category 3D Drucker .stl It is not download category archive. Download category archive url will look like this https://www.dxf-downloads.de/downloads/download-category

    you can change the url slug downloads from WPDM Basic settings.

    #70360

    In reply to: CSS Change Template


    Shahriar
    Moderator

    Hi,

    Some of your files only for premium users that means the “premium user” custom option is empty in other packages. So, you can utilize that in your custom link/page template.

    When a field is empty you can hide that by adding a class in the template code. example: adding this [hide_empty:version] in the wraping element/div of version will hide the element if version is empty.

    Please send me the URL to suggest required CSS adjustments. Send temporary wp-admin login info in private reply if you want me to check the custom template code and make the premium field visible only when there is a value.

    Thanks.

    #70254

    Lend brand
    Member
    This reply has been marked as private.
    #70114

    kalico
    Member

    This is the page template:

    <style type="text/css">.more_previews_a{display: block;float: left;margin-right: 6px;}</style>
    <div class="row">
    <div class="col-md-12">
    [description]
    <br />
    [file_list]
    
    </div>
    
    </div>
    
    <div style="clear:both;" class="preview-trouble-options">Preview enabled by Google Docs. Trouble? <a href="[page_url]">Reload</a> the page or <a href="[download_url]">download</a> the file.</div>
    <div class="row">
    <div class="col-md-12">
    
        [doc_preview]
    </div>
    </div>
    

    Example page of our content:

    http://nroc.org/what-we-offer/edready/

    Scroll down to the “Case Studies” section (after videos).

    Each of the thumbnails on this page link to whitepapers tracked by WPDM. They are just regular images with captions, linked to the packages, not using the WPDM link template.

    An example of one existing package in working order, without any need for an email lock, this uses the WPDM Page template above:

    http://nroc.org/resource/case-study-waipahu-high-school-early-college-stem-program/

    What I want is to create a “download” button on a page, which then requires the user to provide email address before downloading. The PDF preview shown in the above example is not required, I just used it because it’s our standard template.

    I’m fine with a direct download or email link……but the problem is that I can’t get the email input form to display anywhere in this process and I’m not sure what part of the sequence I’ve got wrong.

    Thank you

    #70047

    Jordan P
    Member

    Using a custom thumbnail image for the custom icon does not work. I tried adding a custom thumbnail image and the icon displayed is the unknown.svg icon, not the thumbnail image that was added. Does the custom icon URL work with jpg files?

    #69812

    Claire
    Member

    In the line 484 line I added description tag

     else
    echo "<li  class='file ext_$ext'><a href='" . wpdm_download_url(get_the_ID()) . "' rel='" . wpdm_download_url(get_the_ID()) . "'>" . get_the_title() . "</a>[description]</li>";
                }
            }
            echo "</ul>";
            die();
        }

    but clearly it is not supported; where should I add the description parameter?

    #69757
    This reply has been marked as private.
    #69612

    Shahriar
    Moderator

    Please add flaturl=0 parameter in your dashboard shortcode. That will fix the 404 issue.

    [wpdm_user_dashboard flaturl=0]

    #69558

    In reply to: Issues with onedrive


    Nima
    Member
    This reply has been marked as private.
    #69549

    Hi,

    In that case please use flaturl value 1 with the shortcode [wpdm_frontend flaturl=1] of the frontend. Now you will get URL like /front-end/add-new/ for adding the package. Please add this to the onedrive app as redirect URL. Hope this will solve the issue.

    Thanks

    #69533
    This reply has been marked as private.
    #69453

    Hi there,

    I’m using your front-end add-on and also the OneDrive add-on, but it doesn’t seem to work.

    The config is all correct as it opens the window to our OneDrive account and allows you to select a file, but then it redirects back to the parent page after rather than the ‘?adb_page=add-new’.
    I’m wondering if it’s to do with the redirect URL’s options in OneDrive as they don’t allow you to include query args in the URL so it’s redirecting back to the stripped URL.

    If that is the case, does that mean the OneDrive add-on doesn’t work with the front-end editing?

    Thanks
    Will

    Hi,

    1. You can deactivate and delete the existing plugin from Dashboard Plugins then download the latest one from purchase area and upload it through the plugins Add new. The old data will not be removed in this update.

    2. You can use the email lock to capture the email while user downloads any package file. But it is not possible to disable it after the first download for certain time. You may look into membership features to make 6-month membership with a single email, and you can put packages under that membership level.

    3. Login url not provided.

    Thanks


    Ann
    Member
    This reply has been marked as private.
    #68821
    This reply has been marked as private.
    #68788

    mmaestre
    Member
    This reply has been marked as private.
    #68767

    storlann
    Participant

    Hello WPDM Support,

    We’d like to supply you with some further information about an issue reported to you before Xmas last year about your Download Manager Plug In. Yesterday we updated your plugin and the following issue (included below) and previously reported to you occurred again. This time after applying our fix to your code the issue was not resolved with our fix. Therefore, we would like to tell you about our second fix to your code and ask if you can please investigate this issue which is causing your plug n to be incompatible with our WordPress / Themify installation.

    Fix 2
    ——
    This fix is similar to the first one but has been applied in this file: class.Package.php.
    Around line 1319/1320 we have removed the call to wp_reset_query() and replaced it with: wp_reset_post_data().
    The previous reported fault and our fix which incidentally still needs to be applied in addition to this new one follows:

    Previously Reported Issue
    ———————————–
    We have identified a fault with Download Manager and are sending you this short report to assist you in resolving the issue which starts with some background information about how it used to work and how we are using WPDM with Themify theme, finally we have fixed the problem but would like to know if our fix is compatible with a future update to WPDM.

    1) The expected & actual behaviour prior to a recent update of Themify / WordPress

    1.1) We add the [wpdm_package] shortcode in this form: [wpdm_package id="6239" template="55c1e8d58c991”] to posts.

    Inline image 2

    1.2) We then set Themify to include posts to a page using the Query Posts facility.

    Inline image 3

    1.3) What we expect to happen.

    Prior to a recent update to Themify or WPDM (we’re unsure which one has caused the problem) the short code that was added to the post using the Query Posts facility would render the download package to the screen and the page content would finish. Obviously, because the shortcode is the last item of content in the included post.

    The issue
    ————-

    2) After a recent update the content no longer finishes at the end of the last included post and the additional content included via the embedded short code. Instead the content of the page that includes the posts is added to the end of the page after the last post / embedded shortcode.

    2.1) Our FIX!

    We’ve replaced the call to wp_reset_query() with wp_reset_postdata() and the duplicate page content is no longer added at the end of the page. See below for reference to approx line 360 in class.ShortCodes.php

    function Package($params)
    {
    extract($params);

    if(!isset($id)) return ”;
    $id = (int)$id;
    if(get_post_type($id) != ‘wpdmpro’) return ”;
    $postlink = site_url(‘/’);
    if (isset($pagetemplate) && $pagetemplate == 1) {
    $template = get_post_meta($id,’__wpdm_page_template’, true);
    $wpdm_package[‘page_template’] = stripcslashes($template);
    $data = wpdm_fetch_template($template, $id, ‘page’);
    $siteurl = site_url(‘/’);
    return “<div class=’w3eden’>{$data}</div>”;
    }

    $template = isset($params[‘template’])?$params[‘template’]:get_post_meta($id,’__wpdm_template’, true);
    if($template == ”) $template = ‘link-template-calltoaction3.php’;
    $html = “<div class=’w3eden’>” . \WPDM\Package::fetchTemplate($template, $id, ‘link’) . “</div>”;

    wp_reset_postdata();
    //wp_reset_query();

    return $html;
    }

    If this was the source of the problem please can you update your source code so that your next update to WPDM doesn’t remove our fix.

    Thanks in advance.

    #68678

    In reply to: License Key Invalid


    slidebazaar
    Participant
    This reply has been marked as private.
    #68661

    In reply to: after login


    Shahriar
    Moderator

    Actually, You can add redirect URL with login shortcode to redirect the user instead of staying on this page.

    [wpdm_login_form] – User Login Form Short-code

    You can also change the ‘Dashboard’ text if you want. In that case , you have to create a custom template for /tpls/wpdm-login-form.php

    Template Files

    #68631

    Michael
    Participant

    Many thanks for the clarification, in the modified CSV you sent me, the preview column was removed. Was this for the featured image? How do I add a column for featured image (if possible?).

    Or do you know of a plugin that will scan the post for a url and use that as an image (not imported into media library).

    #68412

    Shahriar
    Moderator

    You can use the embed code instead of the direct URL. To covert the direct URL to enbed please add the following code in your theme’s functions.php file,

    add_filter('the_content','wpdm_do_oembeds');
    function wpdm_do_oembeds( $content ) {
    global $wp_embed;
    $content = $wp_embed->autoembed( $content );
    return $content;
    }
Viewing 25 results - 1,001 through 1,025 (of 1,647 total)