• Resolved dwiig

    (@dwiig)


    A person submitting an event can enter their email address, but in admin, I’m not seeing the email address. I occasionally need to contact a submitter with a question about their event.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Franky

    (@liedekef)

    When editing an event, you can set the contact person. This needs to be a WP person, otherwise maybe you’re looking for extra event attributes.
    Concerning contacting a submitter, see the placeholders:
    #_CONTACTNAME displays the name of the event contact person
    #_CONTACTEMAIL displays the e-mail of the event contact person
    #_CONTACTPHONE displays the phone of the event contact person
    #_AUTHORNAME displays the name of the event author
    #_AUTHOREMAIL displays the e-mail of the event author
    #_AUTHORPHONE displays the phone of the event author

    Hi Franky,

    So, this is actually regarding the front end submit form, so this may be the wrong place to post, but they are related.

    In the form below,
    https://happeningsonomacounty.com/submit-event-form/

    I have the email field set up as below,

    <label for=”event_contactperson_email_body”><?php _e(‘Contact E-mail’,’emefs’); ?></label><br />
    <?php EMEFS::field(‘event_contactperson_email_body’); ?>
    <?php EMEFS::error(‘event_contactperson_email_body’); ?>

    and it is being inserted in to the database, but this email does not display in the event details in the backend. I think I now understand, that this email is not the same as the “Event Author”, as that needs to be a logged in WordPress admin. Am I doing this wrong? Should this email be setup as a custom attribute instead?

    Thanks for your help!

    Plugin Author Franky

    (@liedekef)

    event_contactperson_email_body is the content of the mail being sent to the contact person, not the email address itself.

    Ok, so should this be changed to event_contactperson ?

    No, that does not seem correct. I am guessing I just need set it up as a custom attribute?

    Plugin Author Franky

    (@liedekef)

    You have event_contactperson_id, but that is the wordpress ID of the person. Since that becomes a bit of too much information to spread around, I do not support setting the contact person in the frontend submit form.
    But if it is not set, the author is used as contact person, so if the person doing the submit is logged in, that id is used.
    Setting other info does require the use of custom attributes.

    Thread Starter dwiig

    (@dwiig)

    Thank you, Franky!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Event submitter’s email not displaying in admin’ is closed to new replies.