Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ian Dunn

    (@iandunn)

    It’s definitely possible if you write some custom code, but that’s not a feature that the plugin supports out of the box.

    Hello,

    I really need this option too.

    Can you add this feature to the plugin please?

    Thank you very much!

    Thread Starter CaskSmuggler

    (@casksmuggler)

    Just to chip back in and say this is *still* really what we need too.

    If it’s not possible (due to time, demand, etc) to implement it, would you be able to provide any direction as to perhaps how we could code it ourselves?

    Sorry for popping back up; and thanks for a continually great plugin.

    Plugin Author Ian Dunn

    (@iandunn)

    This is a very rough idea, and it assumes that you don’t want to require that visitors have actual WordPress accounts in order to submit a placemark. If you do want that, I’d probably do it very differently.

    —-

    Setup a contact form (using whatever plugin you prefer), and then find whatever custom actions they provide to capture the data from the submitted form. For instance, with Jetpack it’d be grunion_pre_message_sent. Then I’d setup a callback for that action and have it create a drafted placemark post with wp_insert_post() and update_post_meta().

    It’d be similar to how the WordCamp Forms to Drafts plugin works.

    Then, when you get the notification e-mail from your contact form plugin, you can login to wp-admin and manually review/edit/publish/delete the post.

    You’ll need to be careful about security issues, though. Make sure you pass all the values through sanitization functions, etc. The contact form plugin may do some of that for you, but make sure it’s being done somewhere.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can a user Submit a Placemarker via form?’ is closed to new replies.