Thank you so much for the time you spent looking for a solution.
I’m keeping my solution.
Best regards
Hi,
This only works if I modify in the template folder these lines from the file “countdown-timer.php”
<?php } ?>
jQuery(‘#wpdmw8’).html(‘<?= __(‘Votre téléchargement est prêt!’, ‘wpdm-lazy-download’) ?>’);
jQuery(‘#__procon’).html(“‘ class=’btn btn-primary btn-block btn-lg’><?=__(“Télécharger“, “wpdm-lazy-download”); ?>“);
<?php }
Regards
Hi Nayeem,
I translated some php templates from the .pot file,
I cleared the cache,
But it doesn’t work.
#: templates/countdown-timer.php:18
msgid “Secondes”
msgstr “”
#: templates/countdown-timer.php:59 templates/progress-bar.php:123
msgid “Votre téléchargement est prêt!”
msgstr “”
#: templates/countdown-timer.php:60 templates/progress-bar.php:124
msgid “Télécharger”
msgstr “”
Thank you
Best regards
Hi,
OK for the update v2.7.4.
Before (v2.7.3) :
The button name was “Télécharger” and the comment was “Your Download is ready”
After (v2.7.4) :
The button name is “Download” and the comment is “Your Download is ready”
It would be necessary to :
Button name “Télécharger” and comment “Votre Téléchargement est prêt”
Best regards
Yes, I understand that. Thank you for your help
Best regards
Hi,
Now it works perfectly for my files stored on my server.
But it doesn’t work when it’s a link to an external download site.
Exemples:
Regards
Hi,
I disable the WPDM – Block Hotlink plugin as it blocks all my download links.
Regards
Hello,
I found it! This is indeed a conflict with the plugin “The Moneytiser”.
Sorry for the disturbance, Now it’s OK
Thks
Best regards
Hi,
Thank You, problem solved
Best regards
Hi,
Thanks it’s OK now !
Best Regards
Hi
Thank you very much, everything works perfectly now with last update !
Best regards
Hi,
Thanks, it worked perfectly, I switched to v5.0.7.
Regards
Hi,
It’s about 900 packages.
Thks for your solution.
Best regards
Hi,
Thanks for your reply, I’ll do a periodic cleaning of the cache.
Regards
Hi,
OK for “Downloads Settings Privacy Tab”.
This setting is already unchecked! “Cache created zip file from multi-file package”
(Check this option if you want to cache the zip file created from multi-file package when someone tries to download)
The files created in wp-cache are not in the “ZIP” format but in the format “TXT” and “PNG”.
Currently I have the creation of 30 files (Txt,Png) per minute.
files sample :
session-3c82cfe82fbd67a145d5d54a7749b7bf.txt (Size : 86)
session-e96d5311012a2e05320291dbaec3e0fa.txt (Size : 256)
ZHPFix2-e1561009654108-60×60.png (Size : 3203)
SolidWorks-600×0.png (Size : 5144)
Thks
Hi,
I have just corrected the PHP function again because there is a problem recording the data in the table.
Waiting for a fix, this function works without error.
function wpdm_sanitize_array($array){
if (is_array($array))
{
foreach ($array as $key ► &$value){
if(is_array($value))
wpdm_sanitize_array($value);
else {
$value = strstr($value, “\n”)?wp_kses($value, array(‘strong’ ► array(), ‘b’ ► array(), ‘br’ ► array(), ‘p’ ► array(), ‘hr’ ► array(), ‘a’ ► array(‘href’ ► array(), ‘title’ ► array()))):sanitize_text_field($value);
}
$array[$key] = &$value;
}
return $array;
}
}
Regards
Hi,
Try to change the php function “wpdm_sanitize_array” in file …\wp-content/plugins/download-manager/wpdm-functions.php
With
function wpdm_sanitize_array($array){
if (is_array($value) || is_object($value))
{
foreach ($array as $key ► &$value)
{
if(is_array($value))
wpdm_sanitize_array($value);
else
{
$value = strstr($value, “\n”)?wp_kses($value, array(‘strong’ ► array(), ‘b’ ► array(), ‘br’ ► array(), ‘p’ ► array(), ‘hr’ ► array(), ‘a’ ► array(‘href’ ► array(), ‘title’ ► array()))):sanitize_text_field($value);
}
$array[$key] = &$value;
}
return $array;
}
}