• Resolved 2cats

    (@2cats)


    I am using Events Manager 5.6.4 and enabled anonymous event submittals with a default user set to “subscriber” status. Using the default form I have two issues:
    (1) recurring events are not working — I can click the “recurring event” box, and the form will require me to enter a date range rather than a single date, but I am not asked which day of the week; instead upon submittal the form says “every day” within that date range.
    (2) I cannot get a success message to appear on the screen upon event submittal, whether I set “show form again” to yes or no — so there is no way the person submitting an event knows that the form was actually submitted. I’ve read a number of forum posts about this but nobody seems to have a fix? I see this in the template:
    ‘echo $EM_Notices;
    //Success notice
    if( !empty($_REQUEST[‘success’]) ){
    if(!get_option(‘dbem_events_form_reshow’)) return false;
    }’
    not sure if there’s something I can add here to fix the problem. Any advice would be appreciated, thank you! (Site still in testing mode.)

    https://www.ads-software.com/plugins/events-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • This sounds like a possible conflict caused by your theme or another plugin. To check if it is, can you test with all other plugins deactivated and while running the default WordPress theme?

    Thread Starter 2cats

    (@2cats)

    Thank you — Yes, I figured out what happened with the recurring event piece, I was trying to correct some text errors in the event submittal form via CSS and accidentally wiped out the recurrence piece. For example text reads:
    “Recurrence spans from From ___ to To ___”

    I tried a different way of correcting this by putting the when-with-recurring.php template file into my theme under Plugins > Events Manager > Forms > Event but was not able to get this to work, is this the wrong location to put this template file?

    Using the 2016 theme I still was not able to get a message upon submittal that my form had been successfully submitted. Is there a way, in the event-editor.php file, to simply redirect to a thank-you page?

    Thanks for your help!

    PHP code can’t be pasted into the settings area; it needs to be added to the PHP template.

    Thread Starter 2cats

    (@2cats)

    Hi, thanks, I’m not sure I understand, sorry. I haven’t tried pasting in any php code; I did add the event-editor.php file as a template under my theme, so I could remove the “upload image” link for event submissions. I’m able to make changes to that, but couldn’t figure out how to add the when-with-recurring.php template file to my theme to make changes. Does that make sense? (still doesn’t solve the success-message-upon-submittal problem, though). Thanks for looking at this!

    The easiest way probably is to replace this line in your custom template

    em_locate_template('forms/event/when-with-recurring.php',true);

    with a copy of the contents of that file. You can then customize it as needed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Event submittal form problems’ is closed to new replies.