September 13, 2011 at 5:22 am #4301blatternetMember
1. When a link expired there’s a blank page with the message “Link Expired!”. Can I change/translate this message?
2. Is there a way to redirect a customer to a specific page when a link expired? On this page I could explain more details what he can do now.September 13, 2011 at 1:39 pm #36560
If you are brave enough, you can edit the download.php file. It is hard coded there, near the beginning, because when the buyer clicks on an encrypted link, the WordPress environment is not loaded. Once you find the message in the file, you can customize it the way you want.September 14, 2011 at 8:45 am #36561blatternetMember
I’m very brave.
Thank for the help. I understand that the WordPress environment ist not loaded and it’s difficult to redirect the user to a specific page. But perhaps it’s something for a future release.September 14, 2011 at 10:42 am #36562
I’ve given it some thought, already. It’s on the wish listSeptember 20, 2011 at 2:21 pm #36563
As of eStore version 5.9.8, you have the ability to easily customize or localize all of the error messages used in the download validation scripts: download.php and custom_download.php
All message strings are located near the top of each file.
Error messages are now presented to the buyer as “Windows 8 style” blue screens.
If you have previously “customized” the download script location, using custom_download.php then you must remember to manually update your copy of the custom script.July 2, 2012 at 2:28 pm #36564catohansenMember
You have info for adding new language so i can have Norwegian there to ?
I found the languaga files and can translate but how does the webpage find it ?
Thank youJuly 2, 2012 at 3:08 pm #36565
eStore has two operational environments; one that operates within the WordPress environment, and one that operates outside the WordPress environment.
To translate the part that operates within the WordPress environment, see:
To translate the part which operates outside the WordPress environment, follow the directions posted 2 messages back in this thread, regarding modification of the download.php and custom_download.php files.July 2, 2012 at 3:46 pm #36566montecristoMember
Have you a solution for a multilingual website ?July 2, 2012 at 4:42 pm #36567
However, the download manager error messages can only be in one language, because it operates outside the WordPress environment. And there should only be rare occasions that users would see these particular error messages. Your normal users who paid you correctly and is downloading the item will never see these error messages.March 15, 2019 at 11:29 am #36568hParticipant
I have read this thread and searched the download.php file and the custom_download.php file for the following text:
The secure download manager ran into a problem that it couldn’t handle, and is unable to process your download request.
The problem was due to the following reason:
The download link (see browser address bar) has been used too many times. If you think this reason is in error, please contact the site administrator.
But without success. The custom_download.php file that I have located is in public_html/wp-content/plugins/wp-cart-for-digital-products/view. The download.php file that I have located is in public_html/wp-content/plugins/wp-cart-for-digital-products/.
I would like to change the error message text to a different language. If the text is not located in these files, where are they located?
HMarch 15, 2019 at 8:16 pm #36569
Much has changed in 6 years. The text is now part of the “normal” string translation files.
- You must be logged in to reply to this topic.