Events Manager Support » Bugs

Fix for an RSVP bug

(6 posts)
  • Started 1 month ago by playsoul
  • Latest reply from playsoul
  1. I found a little bug in the dbem_rsvp.php file that was preventing the Event Contact's email address from displaying properly in the email to the user.

    Move the following code at line 355:
    $contact_email = dbem_get_user_email($contact_id);

    To line 344 right after this code:
    $contact_name = dbem_get_user_name($contact_id);

    Now the Contact's email address shows up perfectly in the RSVP email to the user when you call for it in your RSVP settings.

    Posted 1 month ago #
  2. liedekef
    Member

    Ok, I incorporated this fix as well :-)
    See http://davidebenini.it/events-manager-forum/topic.php?id=865

    Posted 1 month ago #
  3. liedekef
    Member

    In fact, the fix was not really ok: #_CONTACTEMAIL gets ascii encoded to prevent harvesting, but in mail clients that don't interpret this, this is not readable. So I added #_CONTACTEMAIL_PLAIN. Again: see http://davidebenini.it/events-manager-forum/topic.php?id=865

    Posted 1 month ago #
  4. The contact email isn't working for me at all now. In the respondent's email when using the #_CONTACTEMAIL_PLAIN placeholder, it shows a long string of characters immediately followed by _PLAIN. (I use Apple mail, so maybe there is something else I can do for this email client?)

    Posted 1 month ago #
  5. liedekef
    Member

    No, you're correct ... it's because first it replaces #_CONTACTEMAIL
    So I'll rename this to #_PLAIN_CONTACTEMAIL
    See bottom of http://davidebenini.it/events-manager-forum/topic.php?id=865 for the latest version

    Posted 1 month ago #
  6. That worked! Thanks!

    Posted 1 month ago #

RSS feed for this topic

Reply

You must log in to post.