WordPress Download Manager Pro v4.2.2 is now available for download. As always you can download it from here . This update comes with following changes:

  • New Short-Codes
    Use

    jQuery(function ($) {
    var llbl = $('#loginform-submit').html();
    $('#loginform').submit(function () {
    $('#loginform-submit').html(" Loggin In...");
    $(this).ajaxSubmit({
    success: function (res) {
    if (!res.match(/success/)) {
    $('form .alert-danger').hide();
    $('#loginform').prepend("

    Error!
    Login failed! Please re-check login info.

    ");
    $('#loginform-submit').html(llbl);
    } else {
    location.href = "http://www.wpdownloadmanager.com/purchases/";
    }
    }
    });
    return false;
    });

    $('body').on('click', 'form .alert-danger', function(){
    $(this).slideUp();
    });

    });

    jQuery(function ($) {
    var llbl = $('#registerform-submit').html();
    $('#registerform').submit(function () {
    $('#registerform-submit').html(" Loggin In...");
    $(this).ajaxSubmit({
    success: function (res) {
    if (!res.match(/success/)) {
    $('form .alert-danger').hide();
    $('#registerform').prepend("

    "+res+"

    ");
    $('#registerform-submit').html(llbl);
    } else {
    location.href = "http://www.wpdownloadmanager.com/purchases/";
    }
    }
    });
    return false;
    });
    });

    .tab-content{
    padding: 20px;
    border: 1px solid #ddd;
    border-top: 0;
    }
    to show only add/edit package form from front-end,

    jQuery(function ($) {
    var llbl = $('#loginform-submit').html();
    $('#loginform').submit(function () {
    $('#loginform-submit').html(" Loggin In...");
    $(this).ajaxSubmit({
    success: function (res) {
    if (!res.match(/success/)) {
    $('form .alert-danger').hide();
    $('#loginform').prepend("

    Error!
    Login failed! Please re-check login info.

    ");
    $('#loginform-submit').html(llbl);
    } else {
    location.href = "http://www.wpdownloadmanager.com/purchases/";
    }
    }
    });
    return false;
    });

    $('body').on('click', 'form .alert-danger', function(){
    $(this).slideUp();
    });

    });

    jQuery(function ($) {
    var llbl = $('#registerform-submit').html();
    $('#registerform').submit(function () {
    $('#registerform-submit').html(" Loggin In...");
    $(this).ajaxSubmit({
    success: function (res) {
    if (!res.match(/success/)) {
    $('form .alert-danger').hide();
    $('#registerform').prepend("

    "+res+"

    ");
    $('#registerform-submit').html(llbl);
    } else {
    location.href = "http://www.wpdownloadmanager.com/purchases/";
    }
    }
    });
    return false;
    });
    });

    .tab-content{
    padding: 20px;
    border: 1px solid #ddd;
    border-top: 0;
    }
    to list users submitted packages at front-end,

    jQuery(function ($) {
    var llbl = $('#loginform-submit').html();
    $('#loginform').submit(function () {
    $('#loginform-submit').html(" Loggin In...");
    $(this).ajaxSubmit({
    success: function (res) {
    if (!res.match(/success/)) {
    $('form .alert-danger').hide();
    $('#loginform').prepend("

    Error!
    Login failed! Please re-check login info.

    ");
    $('#loginform-submit').html(llbl);
    } else {
    location.href = "http://www.wpdownloadmanager.com/purchases/";
    }
    }
    });
    return false;
    });

    $('body').on('click', 'form .alert-danger', function(){
    $(this).slideUp();
    });

    });

    jQuery(function ($) {
    var llbl = $('#registerform-submit').html();
    $('#registerform').submit(function () {
    $('#registerform-submit').html(" Loggin In...");
    $(this).ajaxSubmit({
    success: function (res) {
    if (!res.match(/success/)) {
    $('form .alert-danger').hide();
    $('#registerform').prepend("

    "+res+"

    ");
    $('#registerform-submit').html(llbl);
    } else {
    location.href = "http://www.wpdownloadmanager.com/purchases/";
    }
    }
    });
    return false;
    });
    });

    .tab-content{
    padding: 20px;
    border: 1px solid #ddd;
    border-top: 0;
    }
    short-code to show edit profile form.

  • Custom Templates
    You can can use your own templates from yout active theme for different wpdm short-code, So if you need to edit any wpdm default templates, copy tpls dir to your active theme dir and name it downloadmanager
  • Skip Locks
    Sometimes you may not want to bother your site members with locked downloads, so now you can choose to skip locks for logged in users so that site members can download your items without any extra works.

And we also fixed a security issue with server file browser. We strongly recommend you to update v4.2.2 if you are using old version still now.

The post WordPress Download Manager Pro v4.2.2 released appeared first on WordPress Download Manager.

WordPress Download Manager Pro v4.2.2 released


Post Tags


About The Author


Leave a Reply

Your email address will not be published. Required fields are marked *