• Resolved ibro87

    (@ibro87)


    Hi again,

    I just realized when somebody pay and download the file from my website, name of the file is completely changed from what is set in WordPress library. Basically, buyer gets bunch of different numbers instead of actual file name which is bit confusing. Any idea how to fix this? Many thanks.

    • This topic was modified 7 years, 7 months ago by ibro87.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello,

    It is one of the security levels of the plugin, hide the original file’s name. Are you sure you want provide the original file’s name?

    In this case I can give you the instructions to customize your copy of the plugin.

    Best regards.

    Thread Starter ibro87

    (@ibro87)

    Hi,

    Yes I am sure I want to show the original file name to the buyers. Please give me instructions how to cusomize my copy of the plugin. Thank you. ??

    Plugin Author codepeople

    (@codepeople)

    Hello,

    In this case, please, follows the steps below:

    1. Open the “/wp-content/plugins/sell-downloads/sd-core/sd-functions.php” file with the text editor of your choice.

    2. Go to the piece of code:

    $new_file_name = md5($file).'.'.$ext;

    and modify it as follows:

    $new_file_name = basename($file);

    and that’s all.
    Best regards.

    Thread Starter ibro87

    (@ibro87)

    Awesome! Just left a 5 star review. Keep up the good work. ??

    Plugin Author codepeople

    (@codepeople)

    Hello @ibro87,

    Thank you very much.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘File Name Completely Changed’ is closed to new replies.