Search Results for 'Add Url'

Viewing 25 results - 1,001 through 1,025 (of 1,643 total)
  • Author
    Search Results
  • #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;
    }
    #68205

    Shahriar
    Moderator

    1 ) You can use any template you like, just set the template name with the shortcode. e.g. [wpdm_package id="204919" template="link-template-calltoaction3.php"] You can insert code using TinyMCE add-on where you will find the option to select template from dropdown. I have installed the add-on there.

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

    2 ) Use page template “Single Column with Doc Preview ” to use pdf viewer on package details page. You can link the thumb image ( link template ) to package details ( page template ) where pdf viewer will show preview. You have to change [download_url] to [page_url] in your custom link template for that.

    Cancelling your PDF viewer order. It might take few days ( Stripe processing period )

    #68204

    Shahriar
    Moderator

    Actually, you can add redirect URL with login shortcode,

    [wpdm_login_form logo="Logo Image URL" redirect="Redirect URL to redirect after login"]

    Here is the shortcode doc link for more info.

    #68184

    In reply to: hide meta boxes


    Shahriar
    Moderator

    Editing core file is not recommended because all changes will be lost when you update the plugin. You can add following code in your theme’s functions.php file to hide Download availability metabox and auto select URL field,

     

    add_action(‘admin_footer’,’wpdm_custom_scripts’);
    function wpdm_custom_scripts(){
    ?>
    <script>
    jQuery(‘#ftabs ul li:nth-child(3) a’).click();
    </script>
    <style>
    #misc-publishing-actions .w3eden { display: none; }
    </style>
    <?php
    }

    Hi,

    You can use Directory addon and use Archive page for showing the document library page.

    You can use link template to show customize template where the user can click on “view” button then view them in a tab if they are pdf files. You need to use this <a href="[download_url]" target="_blank">View</a> code in the template.

    If you are not sure how to customize template then let me know, i will do that for you.

    Thanks

Viewing 25 results - 1,001 through 1,025 (of 1,643 total)