WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] allow public to submit events through frontend form (39 posts)

  1. epistates
    Member
    Posted 3 years ago #

    i think this is kinda feature request, cause i didn't find a way to allow public users to submit events through a form or something. is there an easy way to implement such a feature? or at last planned in a new version of events manager? it also would be nice then to approve/reject submitted events and have mandatory fields configured in the admin area and so on. but first of all a form that simply submits events to events manager would be great!

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    this sort of functionality is in the works already. this sort of behaviour will be coming soon.

  3. ninjagowoo
    Member
    Posted 3 years ago #

    Edit: Just realized a beta was added... silly me. However I cannot get the guest form to show up. I have enabled anonymous submissions, and assigned them to a new anonymous user. The shortcode however, still produces nothing. When trying to use the template tag I get an undefined function error.

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    are you logged out ninja?

  5. ninjagowoo
    Member
    Posted 3 years ago #

    I hadn't even considered that - yes it works fine after logging out. Thank you. Any possibility of adding a feature to allow logged in users to see/use the same form for idiots like me? :)

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    haha, yes, it's the plan eventually

  7. bsha100
    Member
    Posted 3 years ago #

    Marcus,

    This is an phenomenal plugin and is by far the easiest plugin I have ever found for customization, as well as the features that can be enabled right from the setting s panel.

    I too, am interested in allowing logged in users to post events. I was wondering if you might be able to point me in a direction as I'm trying to figure out what needs to be edited to allow this to happen.

    Thanks, and keep up the great work.

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    @bsha100

    the form needed is the same form as used by BP for adding events. It probably doesn't require much fiddling, since BP doesn't add extra permissions for adding an event, i'd bet if you can get the form to show up, it'll just work,

    /templates/forms/event-editor.php i belive

  9. bsha100
    Member
    Posted 3 years ago #

    Marcus,

    You were right, it worked like a charm. If you ever need a kidney, I want you to come to me first.

  10. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    most original thank you :)

  11. feliperinaldi
    Member
    Posted 3 years ago #

    Hi Guys,
    Great Plugin! Im really happy with it. I just have one problem: I've been trying to add a recurring event as a visitor from the front end, but I always get an error. If it's not recurring, then is is fine. Can you point me in the right direction so I can fix this?

    Thanks!!

  12. agelonwl
    Member
    Posted 3 years ago #

    hi,

    what error you are getting?

  13. feliperinaldi
    Member
    Posted 2 years ago #

    Hi guys, this is the message I get:
    "You do not have permission to edit others events

    Something went wrong with the recurrence update...There was a problem saving the recurring events.

    You do not have permission to delete others events"

    Any ideas?
    Thanks

  14. feliperinaldi
    Member
    Posted 2 years ago #

    Also, I would like to allow visitors to update an image with it. The plugin already gives that option on the back end, but any idea on how to allow that on the front end?

    And it seems like the front end form is not sending the coordinates of the map to the database. I see the location on the map and everything when filling in the form, but when submitted, it saves 0 and 0 for longitude and latitude.

    Any thoughts?

  15. bsha100
    Member
    Posted 2 years ago #

    You can change the permissions in EVENTS>SETTINGS to allow the permissions that you need.

    To fix the map, I just added this code to the form:

    <div class="inside">
    <input id='location-latitude' name='location_latitude' type='text' value='<?php echo $EM_Location->latitude; ?>' size='15' />
    <input id='location-longitude' name='location_longitude' type='text' value='<?php echo $EM_Location->longitude; ?>' size='15' /></div>

    If you don't want the coordinates fields to display on the form just add style="visibility: hidden;" to the <div> tag.

    Hope this helps

  16. bsha100
    Member
    Posted 2 years ago #

    I was wondering about the Images as well. The plugin allows for 'placeholders' so I think that might be a place to start. If I figure it out I'll post it.

  17. feliperinaldi
    Member
    Posted 2 years ago #

    That's Great!
    Thanks for the help with the map issue!

  18. bsha100
    Member
    Posted 2 years ago #

    Any word on how to post images from the front end, or at least does anyone know a good place to start? I feel like I'm really close, but everything I have tried so far has not worked.

    Thanks in advance for any help anyone can provide.

  19. feliperinaldi
    Member
    Posted 2 years ago #

  20. bsha100
    Member
    Posted 2 years ago #

    Thanks,

    That worked perfectly!

  21. ronr1999
    Member
    Posted 2 years ago #

    I now have the form appear but there seems to be some problems entering Recurring events. It gives "D0 not have persmission..." If I do single event then it gets submitted.

    Also, it appears that the start/end times are being lost. I check the Event in Dashboard and it's all 00:00.

    And finally, we really REALLY need a form RESET. Please !

    Thanks for a very promising plugin !

  22. ronr1999
    Member
    Posted 2 years ago #

    Looks like it works to use military time... that should be specified. How about a pull down list for time inputs. Would make it fool proof...

  23. wherzitattoday
    Member
    Posted 2 years ago #

    hey guys the simple solution link worked wonders..... now 1 last question

    the date picker for some reason is not working for me on ann. submissions any fix?

  24. feliperinaldi
    Member
    Posted 2 years ago #

    This is what I did for it to work on mine. Put this code in your theme's functions.php file.

    if (!is_admin()) {
    wp_deregister_script('jquery' );
    		wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');
    		wp_enqueue_script('jquery');
    
    }
  25. wherzitattoday
    Member
    Posted 2 years ago #

    ok im still kindka new so bare with me please..... im addidng this to the theme im currently using or the site altogether... not really 100% sure where to find this file

  26. feliperinaldi
    Member
    Posted 2 years ago #

    wherzitattoday,

    Go to your Admin Dashboard and click on Editor, under the Appearance option.
    There you will see a list of files from your theme. Click on the Theme Functions' file and it will allow you to edit it.

    Place that code at the end of the file.

    I hope this helps.

  27. wherzitattoday
    Member
    Posted 2 years ago #

    ummmm i just screwed my whole site every page has this on it

    Parse error: syntax error, unexpected '&', expecting T_STRING or T_VARIABLE or '$' in /hermes/web12b/b2275/moo.wherzitattodaycom/wp-content/themes/Prestige/functions.php on line 76

  28. feliperinaldi
    Member
    Posted 2 years ago #

    Did you put this code just before the ?> tag?

  29. wherzitattoday
    Member
    Posted 2 years ago #

    not sure but i have pics of the files if that helps

    Start Of Code

    Middle Of Code

    End Of Code

    i went thru the file and deleted it so the site is back to normal bt i just want the date picker to work so i can launch my site

  30. feliperinaldi
    Member
    Posted 2 years ago #

    wherzitattoday,
    Try a single line of code. Put this at the end before the ?> tag.
    if(!is_admin()){wp_deregister_script('jquery');wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');wp_enqueue_script('jquery');}

    I think the date picker is not working because jQuery is not loading on your theme. Try this and let me know.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic