WordPress.org

Forums

Events Manager
[resolved] Event Manager not displaying success message for anonymous submissions (37 posts)

  1. pmonger
    Member
    Posted 1 year ago #

    I installed Events Manager 5.5.2 and have set up anonymous bookings. Everything seems to work fine except when the user submits the booking the event submission form is redisplayed instead of the success message (or if the success message IS displayed, it happens so fast I can't see it and it's overwritten by the submission form)

    This happens regardless of o/s or browser I am using.

    In my settings for the plugin I selected No for "Show form again?". the submission page on my site contains nothing but the shortcode [event_form]

    Can someone tell me what I am doing wrong, please and thanks?

    https://wordpress.org/plugins/events-manager/

  2. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    This sounds like it could be a Javascript conflict. If you test with all other plugins deactivated and while using the default theme, does that fix the problem?

  3. pmonger
    Member
    Posted 1 year ago #

    Thank you for your reply. The only other plugin I have is the WP Fullcalendar. I did not change any of the theme settings. Per your suggestion, I did try disabling WP fullcalendar but the behaviour stays the same.

    i DO have root access to the web server. Is there somewhere I might look for error messages? It runs CentOS

  4. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    This isn't likely to turn up in an error log. Can you post a link?

  5. pmonger
    Member
    Posted 1 year ago #

    the page i am working on is http://mongers.us/ascytest/?page_id=75

    thanks again

  6. angelo
    NetWebLogic Support
    Posted 1 year ago #

    do you have any caching plugin installed? if yes, is it possible to temporarily disable this?

  7. pmonger
    Member
    Posted 1 year ago #

    Er, well, if i do, i don't know about them. i installed wordpress the way someone would have done who had never used it before, nor has had much experience with cmses in general, but has seen a computer or two in her long life. then i went looking for plugins that would allow for a community events calendar with submissions to be approved and found events manager and wp fullcalendar.

    i just approved the test posts you tried, so i hope you've got the success email for those? and you can see them on the calendar at http://mongers.us/ascytest/?page_id=66

    i also took screenshots of the dashboard plugins page at http://mongers.us/wpprob/plugins.tiff and the entire exhaustive set of eventmanager options at http://mongers.us/wpprob/eventmanageroptions1-11.tiff eventmanageroptions4 is where the user capabilities start, and eventmanageroptions7 is where the settings pertaining to anonymous posting start. i'm not sure if this is helpful but there it is

    thank you for your efforts!

  8. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    So just to clarify, it's working ok - it's just that the success message isn't displaying?

  9. pmonger
    Member
    Posted 1 year ago #

    yes, that is correct. the site admin person is duly notified, and the submitter gets an email when the item is published. but there is no indication that anything has been done when the form is submitted. it just redisplays the event input page. this seems to me like it may cause users to not think their event submission worked

  10. angelo
    NetWebLogic Support
    Posted 1 year ago #

    did you modify any EM templates eg. event submission form ?

  11. pantspress
    Member
    Posted 1 year ago #

    I'm having the same problem. I have modified some EM templates but it may be a WP version compatibility issue.

    On my local web server I'm running the site on WP 3.7.1 and EM 5.5.2. Anonymous event submission works fine and the success message is displayed.

    On another server, I'm running the same site (ie same plugin settings and EM template changes) on WP 3.8.1 and EM 5.5.2. Anonymous event submission works fine but the success message does NOT display or is quickly overwritten by the submission form.

    No caching plugins are installed on either WP installation.

    Let me know if there is anything specific I can check to help with debugging.

  12. pantspress
    Member
    Posted 1 year ago #

    ok - it's not the WP version causing the problem.

    I duplicated my local host site and upgraded it to WP 3.8.1 - anonymous event submission works fine AND the success message is displayed on submission.

    So there must be some other difference I've missed. Will keep searching.

  13. pantspress
    Member
    Posted 1 year ago #

    hmmm - still no joy. Went through all the plugins to make sure I had the same versions on the localhost and server sites.

    Everything appears to be identical but I get the success message on my localhost site but not my hosted server site.

    localhost is running Apache 2.2.22, MySQL 5.5.24 and PHP 5.3.13
    hosted server is running Apache 2.2.26, MySQL 5.5.33 and PHP 5.2.17

    Will keep digging.

  14. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    Are you using the same theme (and same version) on both sites?

  15. pantspress
    Member
    Posted 1 year ago #

    Both sites are using a child theme based on Responsive (free version) by Cyberchimps.

    The hosted server site (not properly showing success msg) was using Responsive v 1.9.5.1 and the local host site (properly showing success msg) was using v 1.9.3.9

    I upgraded the local host site to the latest version of the them (1.9.5.1), cleared the cache and the success msg still displays properly.

    Will do more debugging as soon as I can to try and determine if the success msg is not displaying at all or if it is being quickly overwritten by the submission form.

  16. pantspress
    Member
    Posted 1 year ago #

    hmmm - getting more strange.

    I removed my customised event-editor.php form and tested it with the default event submission form.

    Now I get no success msg on any of my setups (local host, hosted test site, live site) and the user submitted events are not showing up as needing attention in the WP admin menu (the little counter number).

    Not sure if they were or were not showing up in the WP admin menu event counter before or not, though.

    It looks as if $_REQUEST['success'] is not being set for some reason. Any thoughts?

  17. pmonger
    Member
    Posted 1 year ago #

    i have been using the default event submission form all along. but in my case the wp admin page works fine. i'm using the default twentyfourteen theme, so after creating a public event, i get an email to say there is a pending event, and the Events menu item on the left side of the WP dashboard shows a little orange circle with a 1 in it. then when i click on that, it duly shows me the 1 Pending event. i publish it, and it shows up on the calendar and also an email is sent to the submitter to say the event has been published.

    happily today my server or network is slow so i see that upon submit, the url changes from http://mongers.us/ascytest/?page_id=9 to http://mongers.us/ascytest/?page_id=9&success=1. that url is then overwritten with the link with just the page_id. so 'success' does look like it is being set for me. but the #038 is maybe why it fails?

  18. Eddwin
    Member
    Posted 1 year ago #

    The same problem here. With my own browser I get the success message, but users inform me that they get an error message. So I've also tried to delete my own form, but the problem stays. So I hope the solution will given here... Thanks.

  19. pmonger
    Member
    Posted 1 year ago #

    hmm, i see that my last post got garbled. the url after submitting had both an ampersand AND the octal character code #038semicolon. so it was like two ampersands in the url. this was using safari for a browser. when i try it with firefox it only has the ampersand. but alas still doesn't display the success message so that #038 seems not to be the issue.

    in the event manager plugin settings, should Show form again? be set to yes, or no? i've tried both and it doesn't seem to make any difference.

  20. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    Have either of you tested if the difference is whether you're logged in or not, rather than the browser?

  21. pmonger
    Member
    Posted 1 year ago #

    the anon submissions on my site belong to a user that has the subscriber role. i just tried logging in as a different subscriber and submitting an event, but it behaves the same was as not logging in (except of course the form doesn't ask for my name or email address). still no success message, but the event shows up in the dashboard for approval, an email is sent to the site admin about the event being submitted, and upon approval an email is sent to the submitter to say it's been published.

  22. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    Do you guys have Show form again set to Yes or No under Events > Settings > General > Event Submission Forms?

  23. pantspress
    Member
    Posted 1 year ago #

    I have Show form again set to NO under Events > Settings > General > Event Submission Forms

  24. pmonger
    Member
    Posted 1 year ago #

    i've tried it both ways. it seems to make no difference, curiously; i get the form again whether i say yes or no. the page that i am using for this has a title and the entirety of the contents is the shortcode

    [event_form]

  25. pantspress
    Member
    Posted 1 year ago #

    OK - on localhost I created a new site, did a clean install of WP 3.8.1, using Twenty Fourteen theme with no modifications, installed Events Manager 5.5.2 (the only plugin installed), set Show form again? to NO, set Allow anonymous event submissions? to YES, and set the Guest Default User.

    Logged out, submitted an event...

    ...did NOT get the success msg and form was redisplayed.

    Events were successfully added and show up correctly in the backend.

    Now I'm totally stumped. Is there some other setting required besides Show form again? to trigger the success msg?

    Will try the same test with a pre 3.8.1 version of WP.

  26. pantspress
    Member
    Posted 1 year ago #

    Tried the same test using WP 3.7.1 with default Twenty Thirteen theme. Just in case, I cleared cache and did a hard refresh on the add event page.

    Despite the URL showing success=1

    http://localhost/trekexpressCLEANold/request-a-new-trip-empro/?action=edit#038;success=1

    still no success msg and form was immediately re-displayed.

    Again, events were successfully added and show up correctly in the backend.

  27. pmonger
    Member
    Posted 1 year ago #

    well, pantspress, now it seems that your case behaves the same as mine. that should be a good thing in that it makes the problem simpler. still i don't know what to do next.

  28. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    Hey Guys,

    I've just checked this again with TwentyFourteen and I'm seeing the correct message onscreen as it should be.

    One difference between our setups might be the settings under User Capabilities. Do you have the capabilities relating to publishing checked or unchecked for the user that guest submissions are assigned to?

  29. pantspress
    Member
    Posted 1 year ago #

    I've tried both and neither generate the success msg.

    On the clean WP 3.8.1 setup, I assigned guest submissions to admin, which has administrator WP privileges and can publish events per EM User Capabilities. Event gets added and published but no success msg.

    On the clean WP 3.7.1 setup, I assigned guest submissions to scott, which has subscriber WP privileges and can not publish events per EM User Capabilities. Event gets added with a pending review status but no success msg.

  30. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    Are you able to post a live link?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic