Search Results for 'download link'

Viewing 25 results - 2,376 through 2,400 (of 11,368 total)
  • Author
    Search Results

  • Electric Mirror
    Participant

    I cannot get the download button link to center. I am frustrated because this should be an easy format. I purchased this product vs the Avada theme download manager because I thought it would still work.

    My test page is: https://www.electricmirror.com/residential-catalog/

    I saw someone else having the same issue and they were told to place this code in the CSS.

    section.__wpdm_gb_section.__wpdm_gb_package {
    text-align: center;
    }

    I put the code on the specific page in the section for code, I also placed it in the Avada custom css section of the dashboard and the child theme of Avada CSS. None worked.

    #169544

    In reply to: Paypal not working


    Juan Gordo
    Participant

    yes, same link really, try to purchase the test item https://members.ateb-group.co.uk/download/wpdm-test-3/ and check out still has the dissapearing Paypal window for me in both safari and chrome.

    So what solution is suggested then? can you solve whatever conflict is happening? I need both systems to be able to use Paypal if WPDM cant integrate TutorLMS

    #169520

    Ikram Dirujii
    Participant

    sir, it is giving an error. please i ma sending my PHP file please add the code

    `<?php

    namespace WPDM\Package;

    use WPDM\__\__;
    use WPDM\__\Crypt;
    use WPDM\__\Session;

    class FileList
    {

    /**
    * @var null Package
    */
    private $package = null;

    function __construct($package = null)
    {

    }

    private function fileEntrySimple()
    {

    }

    /**
    * @usage Callback function for [file_list] tag
    * @param $package
    * @param bool|false $play_only
    * @return string
    */
    public static function table($ID, $play_only = false)
    {

    $current_user = wp_get_current_user();

    $package = WPDM()->package->init($ID);

    $fileinfo = maybe_unserialize(get_post_meta($ID, ‘__wpdm_fileinfo’, true));

    if (function_exists(‘wpdmpp_effective_price’) && wpdmpp_effective_price($ID) > 0) return self::premium($ID, $play_only);

    $files = maybe_unserialize($package->files);
    $permalink = get_permalink($ID);
    $sap = strpos($permalink, ‘?’) ? ‘&’ : ‘?’;
    $fhtml = ”;
    $idvdl = $package->isSingleFileDownloadAllowed();
    $pd = $package->avail_date ? strtotime($package->avail_date) : 0;
    $xd = $package->expire_date ? strtotime($package->expire_date) : 0;

    $nodl = $play_only ? ‘style=”display: none”‘ : “”;

    $permalink = get_permalink($ID);
    $sap = strpos($permalink, ‘?’) ? ‘&’ : ‘?’;
    $download_url = $permalink . $sap . “wpdmdl={$ID}”;

    $cur = is_user_logged_in() ? $current_user->roles : array(‘guest’);

    if (($xd > 0 && $xd < time()) || ($pd > 0 && $pd > time())) $idvdl = 0;

    $button_label = apply_filters(“single_file_download_link_label”, __(“Download”, “download-manager”), $package);

    if (count($files) > 0) {

    $pwdlock = (int)get_post_meta($ID, ‘__wpdm_password_lock’, true);

    //Check if any other lock option applied for this package
    $olock = 0;
    $noaccess = 0;

    $swl = 0;
    if ($package->quota <= 0) $package->quota = 9999999999999;
    if (is_user_logged_in()) $cur[] = ‘guest’;
    if (!$package->userCanDownload()) {
    $noaccess = 1;
    }
    if ($package->isLocked()) {
    $olock = 1;
    }

    $pwdcol = $dlcol = ”;

    if ($noaccess === 0) {

    if ($pwdlock && $idvdl) $pwdcol = “<th>” . __(“Password”, “download-manager”) . “</th>”;
    if ($idvdl && ($pwdlock || !$olock)) {
    $dlcol = “<th>” . __(“Action”, “download-manager”) . “</th>”;
    $swl = 1;
    }
    }

    $allfiles = $files;

    $cattr = $data = “”;
    if (count($allfiles) > 5)
    $data = ‘<input placeholder=”‘ . __(“Search File…”, “download-manager”) . ‘” style=”margin:10px 0;border-radius: 0″ type=”search” class=”form-control bg-white wpdm-pack-search-file” data-filelist=”#wpdm-filelist-area-‘ . $ID . ‘” />’;
    $fhtml = “<div {$cattr} data-packageid='{$ID}’ id=’wpdm-filelist-area-{$ID}’ class=’wpdm-filelist-area wpdm-filelist-area-{$ID}’ style=’position:relative’>{$data}<table id=’wpdm-filelist-{$ID}’ class=’wpdm-filelist table table-hover’><thead><tr><th>” . __(“File”, “download-manager”) . “</th>{$pwdcol}{$dlcol}</tr></thead><tbody>”;
    if (is_array($allfiles)) {
    $pc = 0;
    foreach ($allfiles as $fileID ► $sfile) {

    $individual_file_actions = $individual_file_actions_locked = ”;
    $individual_file_actions = apply_filters(“individual_file_action”, $individual_file_actions, $ID, $sfile, $fileID);
    $individual_file_actions_locked = apply_filters(“individual_file_action_locked”, $individual_file_actions_locked, $ID, $sfile, $fileID);

    $ind = $fileID; //\WPDM_Crypt::Encrypt($sfile);
    $pc++;

    //if (!isset($fileinfo[$fileID]) || !@is_array($fileinfo[$fileID])) $fileinfo[$fileID] = array();

    $filePass = wpdm_valueof($fileinfo, “{$fileID}/password”);
    $fileTitle = wpdm_valueof($fileinfo, “{$fileID}/title”);
    $fileTitle = $fileTitle ?: preg_replace(“/([0-9]+)_/”, “”, wpdm_basename($sfile));
    $fileTitle = wpdm_escs($fileTitle);
    $fileVersion = wpdm_valueof($fileinfo, “{$fileID}/version”);
    $fileVersion = $fileVersion ? ” — {$fileVersion}” : ”;
    $lastUpdate = wpdm_valueof($fileinfo, “{$fileID}/update_date”);
    $lastUpdate = $lastUpdate ? ” — Updated on {$lastUpdate}” : ”;

    if ($swl) {
    $mp3 = explode(“.”, $sfile);
    $mp3 = end($mp3);
    $mp3 = strtolower($mp3);
    $play = in_array($mp3, array(‘mp3’)) ? “<i style=’margin-top:0px’ class=’fa fa-play’></i>” : “”;

    if ($filePass == ” && $pwdlock) $filePass = $package->isPasswordProtected();

    $fhtml .= “<tr><td>{$fileTitle}{$fileVersion}{$lastUpdate}</td>”;
    $passField = ”;
    if ($pwdlock && !$noaccess)
    $passField = “<input style=’width:150px’ onkeypress=’jQuery(this).removeClass(\”input-error\”);’ size=10 type=’password’ value=” id=’pass_{$ID}_{$ind}’ placeholder='” . __(“Password”, “download-manager”) . “‘ name=’pass’ class=’form-control input-sm inddlps d-inline-block’ />”;
    //$fhtml .= “<td width=’120′ class=’text-right’><input onkeypress=’jQuery(this).removeClass(\”input-error\”);’ size=10 type=’password’ value=” id=’pass_{$ID}_{$ind}’ placeholder='”.__( “Password” , “download-manager” ).”‘ name=’pass’ class=’form-control input-sm inddlps’ /></td>”;
    if ($filePass != ” && $pwdlock && !$noaccess)
    $fhtml .= “<td style=’white-space: nowrap;text-align: right’>{$passField}<button class=’inddl btn btn-primary btn-sm’ data-pid='{$ID}’ data-file='{$fileID}’ rel='” . $permalink . $sap . “wpdmdl={$ID}” . “&ind=” . $ind . “‘ data-pass=’#pass_{$ID}_{$ind}’><i class=’fa fa-download’></i> ” . $button_label . “</button> {$individual_file_actions}</td></tr>”;
    else {
    $ind_download_link = “getDownloadURL($ID, array(‘ind’ ► $ind, ‘filename’ ► wp_basename($sfile))) . “‘>” . $button_label . ““;
    $ind_download_link = apply_filters(“wpdm_single_file_download_link”, $ind_download_link, $fileID, (array)$package);
    $fhtml .= “<td style=’white-space: nowrap;’ class=’text-right’>{$ind_download_link}{$play} {$individual_file_actions}</td></tr>”;
    }
    } else {
    $fhtml .= “<tr><td>{$fileTitle}</td><td style=’white-space: nowrap;’ class=’text-right’>{$individual_file_actions_locked}</td></tr>”;
    }
    }

    }

    $fhtml .= “</tbody></table></div>”;
    $siteurl = home_url(‘/’);

    }

    return $fhtml;

    }

    /**
    * @usage Callback function for [file_list_extended] tag
    * @param $package
    * @return string
    * @usage Generate file list with preview
    */
    public static function extended($ID, $w = 88, $h = 88, $cols = 3)
    {

    $current_user = wp_get_current_user();

    $package = WPDM()->package->init($ID);

    $fileinfo = maybe_unserialize(get_post_meta($ID, ‘__wpdm_fileinfo’, true));

    if (function_exists(‘wpdmpp_effective_price’) && wpdmpp_effective_price($ID) > 0) return self::premium($ID);

    $files = maybe_unserialize($package->files);
    $permalink = get_permalink($ID);
    $sap = strpos($permalink, ‘?’) ? ‘&’ : ‘?’;
    $fhtml = ”;
    $idvdl = WPDM()->package->isSingleFileDownloadAllowed($ID); //isset($package[‘individual_file_download’]) ? $package[‘individual_file_download’] : 0;
    $pd = $package->avail_date ? strtotime($package->avail_date) : 0;
    $xd = $package->expire_date ? strtotime($package->expire_date) : 0;

    $cur = is_user_logged_in() ? $current_user->roles : array(‘guest’);

    $permalink = get_permalink($ID);
    $sap = strpos($permalink, ‘?’) ? ‘&’ : ‘?’;
    $download_url = $permalink . $sap . “wpdmdl={$ID}”;

    Session::set(‘wpdmfilelistcd_’ . $ID, 1);

    if (($xd > 0 && $xd < time()) || ($pd > 0 && $pd > time())) $idvdl = 0;

    $button_label = apply_filters(“single_file_download_link_label”, __(“Download”, “download-manager”), $package);

    if (count($files) > 0) {

    $pwdlock = (int)get_post_meta($ID, ‘__wpdm_password_lock’, true);

    //Check if any other lock option apllied for this package
    $olock = $package->isLocked();

    $swl = 0;
    $package->quota = $package->quota > 0 ?: 9999999999999;
    if (is_user_logged_in()) $cur[] = ‘guest’;
    //if (!isset($package[‘access’]) || count($package[‘access’]) == 0 || !wpdm_user_has_access($ID) || wpdm_is_download_limit_exceed($ID) || $package[‘quota’] <= $package[‘download_count’]) $olock = 1;

    if ($idvdl && ($pwdlock || !$olock)) {
    $swl = 1;
    }

    $allfiles = $files;

    $fhtml = “<div id=’xfilelist’><div class=’row’>”;
    if (is_array($allfiles)) {

    $classes = array(‘1’ ► ‘col-md-12’, ‘2’ ► ‘col-md-6’, ‘3’ ► ‘col-md-4’, ‘4’ ► ‘col-md-3’, ‘6’ ► ‘col-md-2’);
    $class = isset($classes[$cols]) ? $classes[$cols] : ‘col-md-4′;

    foreach ($allfiles as $fileID ► $sfile) {
    $fhtml .= “<div class='{$class} col-sm-6 col-xs-6′><div class=’panel panel-default card mb-4’>”;
    $ind = $fileID; //\WPDM_Crypt::Encrypt($sfile);

    $filePass = wpdm_valueof($fileinfo, “{$fileID}/password”);
    $fileTitle = wpdm_valueof($fileinfo, “{$fileID}/title”);
    $fileTitle = $fileTitle ?: preg_replace(“/([0-9]+)_/”, “”, wpdm_basename($sfile));
    $fileTitle = wpdm_escs($fileTitle);

    if ($filePass == ” && $pwdlock) $filePass = $package[‘password’];

    $fhtml .= “<div class=’panel-heading card-header ttip’ title='{$fileTitle}’>{$fileTitle}</div>”;

    $imgext = array(‘png’, ‘jpg’, ‘jpeg’, ‘gif’);
    $ext = explode(“.”, $sfile);
    $ext = end($ext);
    $ext = strtolower($ext);
    $filepath = file_exists($sfile) || __::is_url($sfile) ? $sfile : UPLOAD_DIR . $sfile;
    $thumb = “”;

    $thumb = WPDM()->package->getThumbnail($ID, $fileID, [$w, $h]);
    $cssclass = in_array($ext, $imgext) ? ‘file-thumb wpdm-img-file’ : ‘file-thumb wpdm-file wpdm-file-‘ . $ext;
    if ($thumb) {
    //$file_thumb_attrs = apply_filters(“”, $file, $fileID, $thumb, $w, $h);
    $fhtml .= “<div class=’panel-body card-body text-center’>{$fileTitle}</div><div class=’panel-footer card-footer footer-info’>” . wpdm_file_size($sfile) . “</div><div class=’panel-footer card-footer text-center’>”;
    } else
    $fhtml .= “<div class=’panel-body card-body text-center’>{$fileTitle}</div><div class=’panel-footer card-footer footer-info text-center’>” . wpdm_file_size($sfile) . “</div><div class=’panel-footer card-footer text-center’>”;

    if ($swl) {

    if ($filePass != ” && $pwdlock)
    $fhtml .= “<div class=’input-group input-group-sm’><input onkeypress=’jQuery(this).removeClass(\”input-error\”);’ size=10 type=’password’ value=” id=’pass_{$ID}_{$ind}’ placeholder=’Password’ name=’pass’ class=’form-control inddlps’ />”;
    if ($filePass != ” && $pwdlock)
    $fhtml .= “<span class=’input-group-btn input-group-append’><button class=’inddl btn btn-secondary btn-light btn-block’ data-pid='{$ID}’ data-file='{$fileID}’ data-pass=’#pass_{$ID}_{$ind}’><i class=’fas fa-arrow-alt-circle-down’></i></button></span></div>”; //rel='” . $download_url . “&ind=” . $ind . “‘
    else {
    $ind_download_link = “” . $button_label . ““;
    $ind_download_link = apply_filters(“wpdm_single_file_download_link”, $ind_download_link, $fileID, (array)$package);
    $individual_file_actions = ”;
    $individual_file_actions = apply_filters(“individual_file_action”, $individual_file_actions, $ID, $sfile, $fileID);
    $fhtml .= $ind_download_link . ” {$individual_file_actions}”;
    }
    }

    $fhtml .= “</div></div></div>”;
    }

    }

    $fhtml .= “</div></div>”;
    $siteurl = home_url(‘/’);
    //$fhtml .= “<script type=’text/javascript’ language=’JavaScript’> jQuery(‘.inddl’).click(function(){ var tis = this; jQuery.post(‘{$siteurl}’,{wpdmfileid:'{$ID}’,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];});}); </script> “;

    }

    return $fhtml;

    }

    /**
    * @usage Callback function for [file_list] tag
    * @param $package
    * @param bool|false $play_only
    * @return string
    */
    public static function premium($ID, $play_only = false)
    {

    if (!function_exists(‘wpdmpp_effective_price’)) return self::table($ID, $play_only);

    $current_user = wp_get_current_user();

    $package = WPDM()->package->init($ID);
    $files = $package->files;

    $fileinfo = maybe_unserialize(get_post_meta($ID, ‘__wpdm_fileinfo’, true));

    $fhtml = ‘<div class=”list-group premium-files premium-files-‘ . $ID . ‘” id=”premium-files-‘ . $ID . ‘”>’;

    $currency = wpdmpp_currency_sign();
    if (count($files) > 0) {
    $post_id = $ID;
    $license_req = get_post_meta($post_id, “__wpdm_enable_license”, true);
    $license_pack = get_post_meta($post_id, “__wpdm_license_pack”, true);
    //wpdmprecho($license_pack);
    $fileinfo = get_post_meta($post_id, ‘__wpdm_fileinfo’, true);
    $allfiles = $files;

    if (is_array($allfiles)) {
    $pc = 0;
    foreach ($allfiles as $fileID ► $sfile) {

    $individual_file_actions = ”;
    $individual_file_actions = apply_filters(“individual_file_action”, $individual_file_actions, $ID, $sfile, $fileID);
    $file_price = isset($fileinfo[$fileID][‘price’]) ? number_format((double)$fileinfo[$fileID][‘price’], 2) : 0;
    $ind = $fileID; //\WPDM_Crypt::Encrypt($sfile);
    $pc++;

    $fileTitle = wpdm_valueof($fileinfo, “{$fileID}/title”);
    $fileTitle = $fileTitle ?: preg_replace(“/([0-9]+)_/”, “”, wpdm_basename($sfile));
    $fileTitle = wpdm_escs($fileTitle);

    $data = $data_prices = “”;

    $pre_licenses = wpdmpp_get_licenses();

    $active_lics = array();
    $zl = 0;
    $file_availabiliy_lic = [];
    if ($license_req == 1 && is_array($fileinfo)) {
    foreach ($pre_licenses as $licid ► $lic) {
    $lic[‘price’] = !isset($fileinfo[$fileID][‘license_price’]) || !isset($fileinfo[$fileID][‘license_price’][$licid]) || $fileinfo[$fileID][‘license_price’][$licid] == ” ? (isset($fileinfo[$fileID][‘price’]) && $zl == 0 ? $fileinfo[$fileID][‘price’] : 0) : $fileinfo[$fileID][‘license_price’][$licid];
    $prc = number_format((double)$lic[‘price’], 2);
    if ($zl == 0)
    $file_price = $prc;
    $active_lics[$licid] = $lic;
    if ($lic[‘price’] > 0) {
    $data .= ” data-{$licid}='{$currency}{$prc}’ “;
    $data_prices .= ” data-{$licid}='{$prc}’ “;
    }
    if (isset($license_pack[$licid])) {
    if (in_array($fileID, $license_pack[$licid]))
    $file_availabiliy_lic[] = “file_avail-{$licid}”;
    } else
    $file_availabiliy_lic[] = “file_avail-{$licid}”;
    $zl++;
    }

    //if(count($active_lics) <= 1)
    // $data = $data_prices = “”;
    }

    $file_availabiliy_lic = implode(” “, $file_availabiliy_lic);
    if ($file_price > 0)
    $fhtml .= “<label class=’list-group-item eden-checkbox premium-file {$file_availabiliy_lic}’><div {$data} class=’badge badge-default pull-right’>{$currency}{$file_price}</div><input type=’checkbox’ {$data_prices} data-pid='{$ID}’ data-file='{$fileID}’ value='{$file_price}’ class=’wpdm-checkbox file-price file-price-{$ID}’> $fileTitle</label>”;
    else
    $fhtml .= “<label class=’list-group-item eden-checkbox free-file’>$fileTitle</label>”;

    }

    }

    }

    return $fhtml . “</div>”;

    }

    /**
    * @usage Callback function for [image_gallery_WxHxC] tag
    * @param $package
    * @return string
    * @usage Generate file list with preview
    */
    public static function imageGallery($ID, $w = 400, $h = 400, $cols = 3)
    {

    $current_user = wp_get_current_user();

    $package = WPDM()->package->init($ID);

    $fileinfo = maybe_unserialize(get_post_meta($ID, ‘__wpdm_fileinfo’, true));

    if (function_exists(‘wpdmpp_effective_price’) && wpdmpp_effective_price($ID) > 0) return self::premium($ID);

    $files = maybe_unserialize($package->files);
    $permalink = get_permalink($ID);
    $sap = strpos($permalink, ‘?’) ? ‘&’ : ‘?’;
    $fhtml = ”;
    $idvdl = WPDM()->package->isSingleFileDownloadAllowed($ID);

    $pd = $package->avail_date ? strtotime($package->avail_date) : 0;
    $xd = $package->expire_date ? strtotime($package->expire_date) : 0;

    $cur = is_user_logged_in() ? $current_user->roles : array(‘guest’);

    $permalink = get_permalink($ID);
    $sap = strpos($permalink, ‘?’) ? ‘&’ : ‘?’;
    $download_url = $permalink . $sap . “wpdmdl={$ID}”;

    Session::set(‘wpdmfilelistcd_’ . $ID, 1);

    //Publish and expire date check
    if (($xd > 0 && $xd < time()) || ($pd > 0 && $pd > time())) $idvdl = 0;

    $button_label = apply_filters(“single_file_download_link_label”, __(“Download”, “download-manager”), $package);

    if (count($files) > 0) {

    $pwdlock = (int)get_post_meta($ID, ‘__wpdm_password_lock’, true);

    //Check if any other lock option apllied for this package
    $olock = $package->isLocked();

    $swl = 0;
    $package->quota = $package->quota > 0 ?: 9999999999999;
    if (is_user_logged_in()) $cur[] = ‘guest’;

    if ($idvdl && ($pwdlock || !$olock)) {
    $swl = 1;
    }

    $fhtml = “<div id=’wpdm-image-gallery’><div class=’row’>”;

    $classes = array(‘1’ ► ‘col-md-12’, ‘2’ ► ‘col-md-6’, ‘3’ ► ‘col-md-4’, ‘4’ ► ‘col-md-3’, ‘6’ ► ‘col-md-2’);
    $class = isset($classes[$cols]) ? $classes[$cols] : ‘col-md-4′;

    foreach ($files as $fileID ► $sfile) {
    $fhtml .= “<div class='{$class} col-sm-6 col-xs-6′><div class=’card mb-4’>”;
    $ind = $fileID; //\WPDM_Crypt::Encrypt($sfile);

    if (!isset($fileinfo[$sfile]) || !@is_array($fileinfo[$sfile])) $fileinfo[$sfile] = array();
    if (!@is_array($fileinfo[$fileID])) $fileinfo[$fileID] = array();

    $filePass = isset($fileinfo[$sfile][‘password’]) ? $fileinfo[$sfile][‘password’] : (isset($fileinfo[$fileID][‘password’]) ? $fileinfo[$fileID][‘password’] : ”);
    $fileTitle = isset($fileinfo[$sfile][‘title’]) && $fileinfo[$sfile][‘title’] != ” ? $fileinfo[$sfile][‘title’] : (isset($fileinfo[$fileID][‘title’]) && $fileinfo[$fileID][‘title’] != ” ? $fileinfo[$fileID][‘title’] : preg_replace(“/([0-9]+)_/”, “”, wpdm_basename($sfile)));

    //$fileTitle = esc_html($fileTitle);

    if ($filePass == ” && $pwdlock) $filePass = $package[‘password’];

    //$fhtml .= “<div class=’panel-heading card-header ttip’ title='{$fileTitle}’></div>”;

    $imgext = array(‘png’, ‘jpg’, ‘jpeg’, ‘gif’);
    $ext = explode(“.”, $sfile);
    $ext = end($ext);
    $ext = strtolower($ext);
    $filepath = file_exists($sfile) ? $sfile : UPLOAD_DIR . $sfile;
    $thumb = “”;

    if ($ext == ”) $ext = ‘unknown’;

    if (in_array($ext, $imgext))
    $thumb = WPDM()->fileSystem->imageThumbnail($filepath, $w, $h, true);
    if ($thumb) {
    //$file_thumb_attrs = apply_filters(“”, $file, $fileID, $thumb, $w, $h);
    $fhtml .= “{$fileTitle}” . “<div class=’card-body’><strong class=’d-block’>{$fileTitle}<small>” . wpdm_file_size($sfile) . “</small></div><div class=’card-footer’>”;
    } else
    $fhtml .= “{$fileTitle}” . “<div class=’card-body’><strong class=’d-block’>{$fileTitle}<small>” . wpdm_file_size($sfile) . “</small></div><div class=’card-footer’>”;

    if ($swl) {

    if ($filePass != ” && $pwdlock)
    $fhtml .= “<div class=’input-group input-group-sm’><input onkeypress=’jQuery(this).removeClass(\”input-error\”);’ size=10 type=’password’ value=” id=’pass_{$ID}_{$ind}’ placeholder=’Password’ name=’pass’ class=’form-control inddlps’ />”;
    if ($filePass != ” && $pwdlock)
    $fhtml .= “<span class=’input-group-btn input-group-append’><button class=’inddl btn btn-secondary btn-light btn-block’ data-pid='{$ID}’ data-file='{$fileID}’ data-pass=’#pass_{$ID}_{$ind}’><i class=’fas fa-arrow-alt-circle-down’></i></button></span></div>”; //rel='” . $download_url . “&ind=” . $ind . “‘
    else {
    $ind_download_link = “” . $button_label . ““;
    $ind_download_link = apply_filters(“wpdm_single_file_download_link”, $ind_download_link, $fileID, (array)$package);
    $individual_file_actions = ”;
    $individual_file_actions = apply_filters(“individual_file_action”, $individual_file_actions, $ID, $sfile, $fileID);
    $fhtml .= $ind_download_link . ” {$individual_file_actions}”;
    }
    }

    $fhtml .= “</div></div></div>”;
    }

    $fhtml .= “</div></div>”;

    }

    return $fhtml;

    }

    }


    Nayeem Riddhi
    Moderator

    Hello Saugata,

    Can you please let us know, where do you want to show the download links table? if possible please provide some screenshots. And do you want to show in the download links table the packages shared with the user, please let me know.

    Thank you and regards


    Saugata Roy
    Participant

    Hi,

    I’d like to display the available download links table in the dashboard itself instead of the user having to navigate to “My Downloads” section. Can this be done?

    FYI, I’m comfortable with coding in case any code change is required.

    Thanks,
    Saugata.

    #169466

    Liam Howard
    Participant

    I seem to have an issue where the following shortcode – [wpdm_archive_compact template=”link-template-default” cols=2 colspad=1 colsphone=1 items_per_page=”10″ orderby=”title” order=”ASC” login=1]. is not showing the results when the category is selected.

    Page: https://character-education.org.uk/test-3

    As you can see from our test page, it is not showing any of the downloads, even after using the search functionality.

    Please advise on how we fix this issue. Just an fyi this shortcode seems to function fine: [wpdm_archive_flat orderby=”title” order=”ASC”] but otherwise the other 3 shortcode don’t function correctly.

    #169460

    Blaz Pregelj
    Participant

    Hi,

    is it possible to display files inside packages with shortcode wpdm_search_result?
    The search is working fine but I only get folder results where file is located but not the real file with download link.

    Thank you…


    Emil Zatania
    Member

    I recently found that wpdm_all_packages wasn’t working as expected on my page. There are three issues I have found:

    1. items_per_page doesn’t work. It doesn’t matter what number I put it always shows all the files.
    2. The search box is gone.
    3. I can’t click the name of the file to go to the file’s page. The only option I have is the download button to download the file directly.

    This is the code I am using and which was working perfectly before.

    [wpdm_all_packages items_per_page="20" categories="styles" jstable=1 cols="title,download_count|publish_date|download_link" colheads="Title|Date|Download" order_by="publish_date" order="DESC"]

    I have updated WordPress, WPDM and the Extended Short-codes plugin to their latest versions and still it doesn’t work.

    Any help would be greatly appreciated.

    #169416

    In reply to: Unable to update


    Humayon
    Spectator

    Hello @asandage,

    I hope you are well.

    You can acquire your license key by following the below link.

    License

    Thanks

    #169400

    Albert Trevino
    Participant

    I see there is an update available for the main Download Manager plugin. In my WordPress admin side, under plugins, I try to update there. It doesn’t work. I go to my account dashboard here for possible download link. No updated download link there.

    Please fix it to actually work.

    When you have an update, please allow it to update like it is supposed to or post a link for the updated file somewhere.

    Please advise on how to update this.

    #169282

    Tanvir
    Spectator

    Hello,
    With demo it is possible by creating multiple packages for downloads.
    However, Could you please check the shortcodes demos in the link I provided and tell me if you like any examples or any particular changes?
    Then I could suggest you according to that.
    Thanks

    #169278

    Tanvir
    Spectator

    Hello,
    Sorry for the delay because of the weekend.

    However I found that you used this shortcode.
    [wpdm_all_packages login=1 items_per_page="20" order_by="title" order="ASC" cols="title|categories|update_date|download_link" colheads="Titolo|Categoria|Aggiornato Il|"]

    In this shortcode just remove the parameter login=1 to show downloads without login.

    However, the cache plugin was causing the issue. I have deactivated that, it fixed the issue with a new subscriber role I created.. In this case, it would be appropriate to make an exception for the wpdm page of the cache plugin or disable/change the cache plugin to recheck the issue.

    Thanks

    #169276

    Pierre Gergi
    Participant

    Hello,
    I have added this code in the page but nothing was appear. I got an empty page.!!!
    https://www.qenshrin.com/ebooksq

    [wpdm_all_packages login=0 thumb=0 items_per_page="10" categories="ترانيم,روحانيات,سرياني,سرياني/تعليمي,سير الأعلام,سير القديسين,طقس وصلوات,عام,قبطي,قبطي تعليمي,كتاب مقدس,كنسي,لاهوت دفاعي,لاهوت عقيدي,للأطفال,وعظ," jstable=1 order_by="date" order="DESC" cols="title,file_count,download_count|categories|update_date|download_link" colheads="Title|Categories|Download::155px"]

    Maybe the problem is when the category consist of 2 words not one word!! I used the slug but I get the same problem.
    Thanks


    Madison Stewart
    Participant

    On my website, I have a couple of links to hand out PDF files. Everything looks good, but when you click on the link, nothing happens. The site looks like it is doing something, but then nothing. In the plugin, it even registers as a download.

    Before I even got to that point, I had to navigate to teh files in teh CPanel and set the permissions to 755. Previously it would send to an error page.

    #169191

    Tanvir
    Spectator

    Hello,
    Hope you are well.
    Here the website you shared, he uploaded all the files in a download package then the filelist has made the downloads list. But I am sorry there is no way to edit file list without editing the core files of wpdm.

    You can also check our shortcodes and link templates for the related lists.
    https://www.wpdownloadmanager.com/doc/short-codes/
    https://www.wpdownloadmanager.com/doc/templates/link-template/

    Thanks

    #169175

    Emily Hesley
    Participant

    How can I get the title when using file list to be the direct download link for the file? What’s the best way to accomplish this without editing the plugin’s file directly as I’m sure it will be overridden when there’s an update.

    Example here: https://arworldus.wpengine.com/firmware-upgrade-utility-5-20/

    I’d like the title to be clickable and then I’ll hide the Download button with CSS.

    Thanks!

    #169155

    Paliotti Vincenzo
    Participant

    Salve, su una installazione pulita, con chrome non viene avviato il downloader.
    Questo anche da cellulare, tutto finziona con Mozilla Firefox tutto funziona regolarmente.

    C’è una soluzione?
    Grazie

    questo il link
    https://www.paliotti.it/download/bootstrap-italia-epa/

    • This topic was modified 4 years, 7 months ago by Paliotti Vincenzo. Reason: Aggiunta link
    #169145

    Susan Gillies
    Participant
    This reply has been marked as private.

    Mehedi Hasan
    Participant

    Hello, all of my download links show 404 not found error. Why do I face the problem? Can you help me?
    Here is a download link: https://medicdn.com/download/nclex-rn-exam-prep/


    midihead7
    Participant

    I had received an email reply to this thread but it doesn’t show here in this actual thread. This is the reply I received:

    Humayon Kabir wrote:
    
    Hi there,
    
    Auto-install sometimes fails due to auth error or server file permission issue.
    
    However, you always can download any add-on from 
    
    User Dashboard
    and install. Thanks. Post Link: https://www.wpdownloadmanager.com/support/topic/urgent-wpdm-amazon-s3-3-0-3-conflict-with-updraftplus-1-22-5/#post-168989

    I didn’t say that auto-install wasn’t working, I said that the Free Add-ons no longer show under Settings > Updates. They used to appear using previous versions of Download Manager but stopped showing in a recent WPDM update. My server permissions have not changed since I started using Download Manager years ago. I am aware that I can download the add-ons directly from my Download Manager account but it is inconvenient since I don’t have any easy way to see if there are any newer add-on updates unless I visit each add-ons page on your site to try to find what the latest version is.

    Please also note that when I click the yellow Logout button on the Updates screen, nothing happens and I am not actually logged out.


    web giraudi
    Participant
    This reply has been marked as private.

    web giraudi
    Participant

    Hello,
    I’ve got a problem with all my packages. On front side when we click on the “download package” button (the one generated by the shortcode [download_link] in template) it shows the WordPress error page with message “There has been a critical error on this website.”, nothing else happen.

    Here the error line on my PHP log :

    2022-03-02 10:55:15 Error 176.148.110.217 500 GET /download/dowload-pdf-version/?wpdmdl=87801&refresh=621f4d0f84ad11646218511 HTTP/1.0

    Thank you in advance for your help

    #168978

    Nayeem Riddhi
    Moderator
    This reply has been marked as private.
    #168968

    Nayeem Riddhi
    Moderator

    Hello Nibby,

    I have checked that, the download is working fine for your shared package. Here used download_link_extended template tag. and it does not occur in pop-up/modal for downloading files. please let me know

    Thank you and regards


    Joseph Jeremy
    Participant
    This reply has been marked as private.
Viewing 25 results - 2,376 through 2,400 (of 11,368 total)