WordPress.org

Ready to get started?Download WordPress

Forums

Email Users
[resolved] When sending emails with a $ sign (9 posts)

  1. lewylewylewy
    Member
    Posted 2 years ago #

    it translates $ followed by any number to "0". This makes it really bad for advertisers

    http://wordpress.org/extend/plugins/email-users/

  2. Mike Walsh
    Member
    Plugin Author

    Posted 2 years ago #

    Can you try putting a backslash in front of the price to see if it fixes the problem?

  3. lewylewylewy
    Member
    Posted 2 years ago #

    but then my post articles wouldnt be correct. There must be a way to fix this in the code?

  4. samhooker
    Member
    Posted 1 year ago #

    I'm having a similar problem. I have a page with several dollar amounts, and it's cutting the dollar sign and first two digits off when it pulls it into the "Notify Users of a Post" screen.

    For example, "$123,456" becomes "3,456".

    I tried replacing the $ with the ASCII code and it worked long enough for me to save the post, go to the Notify page and send, but then TinyMCE threw the $ back in place of the ASCII codes (insert rant about TinyMCE).

    Using the most recent versions of WordPress and Email Users. With this exception, your plugin has worked perfectly so far!

  5. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    I'll see if I can figure out what is causing this.

  6. samhooker
    Member
    Posted 1 year ago #

    Thanks, Mike! Ping me if I can provide any other feedback.

  7. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    What is happening is preg_repalace() is seeing the $12.34 as part of the replacement pattern and is processing the $12 portion of it as a back reference. Now that I know what is happening, I need to fix it.

    This article explains the "gotcha" as one of the case studies.

  8. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    Beta version of 4.3.15 which includes a fix for this problem is now available for testing! Let me know if you run into any issues.

  9. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    Email Users v4.3.15 is now available which fixes this issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.