• Resolved Erle

    (@erlewilliams)


    Hello,
    I would like to modify the message for a user that is not logged in to include the following sentence: “Once logged in please go back to your email and click “Download Now!” again.”

    In the event the button text is changed using “fancy” it would be beneficial to capture that in the message as well.

    How can I accomplish this?

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, can you share the current message that is displayed in your site. This is to help me understand what message you are referring too.

    Thank you

    Thread Starter Erle

    (@erlewilliams)

    The message is as follows:
    You need to be logged in to download this file. Click here to go to login page.

    “Click here” is a link that takes me to the website log in page.

    If it helps the URL is <my website>/?smd_process_download=1&download_id=1624

    I’m not sure if the id of 1624 is specific to my site or not.

    I did find some files in the languages directory that have the wording as above. I tried modifying the simple-download-monitor.pot file but that didn’t change the wording.

    Hope that helps.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, thank you for providing more information. I have submitted a message to the developers to investigate further your request.

    Kind regards

    Plugin Author mra13

    (@mra13)

    Hi, You will need to customize your copy of the language file to customize that text. You can customize any user visible text by customizing the language file.

    Thread Starter Erle

    (@erlewilliams)

    Ok thanks! Just in case someone else needs to learn what I just learned.

    Download a language editor like POEDIT.
    Load the .pot file from the plugin’s languages directory.
    Create a translation file (.po) for the appropriate language.
    Create a translation for the appropriate source. In my case I added onto the __Click here__ to go to login page. <new text here>
    Save.
    Create a compiled file (.mo) for the appropriate language.
    ** I stuck with a simple approach and used English US (en-US). **
    Copy the new files (.po and .mo) to the languages directory
    Set the appropriate file permissions, ownership and group.

    Thanks @mra13. That worked perfectly!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom login message’ is closed to new replies.