Search Results for 'Add Url'

Viewing 25 results - 1,026 through 1,050 (of 1,656 total)
  • Author
    Search Results
  • 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

    #67895

    Jefferson Stovall
    Participant
    This reply has been marked as private.

    Hi,

    Adding target blank is not available with the shortcode yet.

    But,
    You can modify an existing link template file from wp-admin/edit.php?post_type=wpdmpro&page=templates this page.

    And add this code <a href="[download_url]" target="_blank">[icon]</a> to make download target blank.

    And use this template tag with the shortcode.

    Thanks

    #67710

    In reply to: Showing Sub Categories

    Hi,

    You can show the subcategory with directory addon. You need to use shortcode [wpdm-archive] that will show the archive page, where the subcategories will be available under the parent category in menu item dropdown when the user clicks the menu by using subcat="1".

    However,
    In your attached file you showing Tree View files below which comes from extended shortcode addon.

    Maybe there is a js issue so the subcat not showing in the drop-down. Please provide the url of the site and login info in private to check.

    Thanks

    #67656

    In reply to: Package List Addon


    welswebmaster
    Participant
    This reply has been marked as private.
    #67599

    qstiegler
    Participant

    Hey,

    I attached three files.

    • Categories-view.jpg: You can see the view of the categories. I did this by the following tag [wpdm-categories cols=4]
    • List-of-categories.jpg: These are the categories you can see in the first screenshot but defined in the backend
    • List-of-files-in-category.jpg: If you click on one category as you see in the first screenshot, you get a list of all files in that category

    What I want to change is that template of the List-of-files-in-category.jpg screenshot. As described in the posts before, I was able to change this template by adding a file archive.php into the active-template-folder. But this is not pretty nice, as the archive.php is been used by wordpress also for other pages.

    In this view I need:

    1. The menu item DOWNLOADS needs to be colored in black as it is still the active navigation point, but even if the URL is /downloads/hotfixes-und-patches/, in the menu the navigation point is not set as active one
    2. On that page there should be a headline with the name of the category, where files belong to. (In this case it would be Hotfixes and Patches)

    I hope my problems are clear now and you are able to help me.
    Thanks!

    #67597

    Shahjada
    Keymaster

    Yes, there is are 2 ways to view pdf doc:

    1.  you can use PDF viewer addon https://www.wpdownloadmanager.com/download/wordpress-pdf-viewer/ ( demo: https://demo.wpdownloadmanager.com/wpdmpro/download/pdf-viewer/ )
    2. you may use the option “Open In Browser” from wpdm settings, so that when a user clicks on the download button, it opens in the browser instead of download.
    #67550
    Direct Links
    At the bottom of the shared link settings pop-up, you will find a direct link to your file. A direct link is a web address (URL) that links directly to a file (without using Box Preview). This is different from a regular shared link, which will bring users to the Box preview screen for said file.
    
     
    
    Direct links end with the file's extension type. Therefore, if you are linking to a Microsoft Word document, a direct link will end with *.doc. When a user clicks on the link, the file will be downloaded onto their computer or opened by a default program, depending on computer settings. Direct linking can also be used to host images or files for your website or blog.
    
     
    
    Direct Linking is only available for individual files and is unavailable for folders. A link to a folder will always be a web address of a Box page.

    You will need to select it for individual file link from link share type.

    Follow that guide to achieve this.

    Thanks


    Marek Gudaniec
    Participant

    Hi there,

    I guess I’ve found a problem in your code, regarding JavaScript redirect after downloading single file from files package.

    The problem exists in line 347 of class.FileList.php where you add a <script> tag with click event for the Download button.

    Let’s take a look at your piece of code:

    jQuery('.inddl').click(function() {
        var tis = this;
        jQuery.post('https://someexampleurl.com', {
            wpdmfileid: '1234',
            wpdmfile: jQuery(this).attr('file'),
            actioninddlpvr: 1,
            filepass: jQuery(jQuery(this).attr('pass')).val()
        }, function(res) {
            res = res.split('|');
            var ret = res[1];
            if (ret == 'error') 
                jQuery(jQuery(tis).attr('pass')).addClass('input-error');
            if (ret == 'ok') 
                location.href = jQuery(tis).attr('rel') + '&_wpdmkey=' + res[2];
        });
    });

    This is the piece of code that contains an issue:

    if (ret == 'ok') 
          location.href = jQuery(tis).attr('rel') + '&_wpdmkey=' + res[2];

    jQuery(tis).attr('rel') takes rel attribute value and appends it to current url, so if my package is at https://someexampleurl.com/download/package and I click the download button which has rel="nofollow" attribute, I am redirected to:
    https://someexampleurl.com/download/package/nofollow&_wpdmkey=WPDMKEY which gives me a 404 page.

    As you can see, ?rel= is missing in your code where you override location.href and that redirects to non existing page. You don’t even check whether there is any query variable in the URL or not, which may lead to something like this: https://someexampleurl.com/&_wpdmkey=WPDMKEY.

    Also, if you try to download the file while being connected to slow network, it doesn’t fire the save file dialog everytime, redirect is fired earlier instead.

    I will fix it on my own, but future update will override my fixes. That’s why I’m posting the issue here. I hope you will fix it as soon as possible.

    #67427

    In reply to: Bypass File Pages

    Hi,

    You need this addon to modify the page/link template file, the URL for the template files is wp-admin/edit.php?post_type=wpdmpro&page=templates.

    Thanks

    #67426

    Yes, You can use custom page/link template addon to make direct download link in the icon, for this, you need to create custom template or modify an existing template file from wp-admin/edit.php?post_type=wpdmpro&page=templates this page.

    You can use this code <a href="[download_url]">[icon]</a> to make the link work with the icon.

    Thanks

    #67226

    Can you send me the page URL? You can add inline CSS to the custom template. So if you want to change something just look for class or ID and change it with CSS.

    Changing the blue color badge with class

    .w3eden .list-group .badge {
           background: blue;
    }

    Changing the download button color:

    .w3eden .btn .btn-primary{
           background-color: #455a56;
           border-color: #1abc9c;
    }
    

    http://prntscr.com/hqzukq

    Thanks

    #67135

    In reply to: URL to overview


    kalbynet
    Participant

    Hi Hasibul and thanks for your reply.

    The URL aren’t the same?! The one abowe has a dashes… Is it not enough?
    Compare: http://195.238.77.215/~kavlingelarcen/ladda-ner/ vs http://195.238.77.215/~kavlingelarcen/laddaner/

    Ok, I don’t think the customers understand we shall click the link a the right… Is there a way to make (in my chase TEST) download directly? Or REMOVE the link so it’s only the link at the right that i clickable??

    I’m now familiar with php, but if I change the table template, can I do it right here ../download-manager/tpls/wpdm-all-downloads.php ??
    It will not be overwritten when updating?

Viewing 25 results - 1,026 through 1,050 (of 1,656 total)