Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    The anonymous setting means that people without an account can submit an event, they still need to provide a name/email.

    In theory, you could hack this by adding custom PHP code to submit a fake email address, and then hiding those form fields with CSS. I can’t write it for you, but that’s the approach to take if you can.

    Thread Starter jurvrn

    (@jurvrn)

    Marcus (@netweblogic) hola!
    La configuración del complemento indica “Guest Default User”.
    Tomemos un nombre y un correo electrónico de él para fines de acceso anónimo al calendario.
    screenshot

    • This reply was modified 3 years, 7 months ago by jurvrn.
    Plugin Support angelo_nwl

    (@angelo_nwl)

    Hi,

    Not sure if I understand you correctly (maybe you can respond in English)

    Yes, that is possible to get the Name and Email from ‘Guest Default User’ using WP get_option('Guest Default User') to get the WP user id and then use another WP code to get the Name and Email address

    You can do this by modifying the template file events-manager/templates/forms/event-editor.php

    to use templates: https://wp-events-plugin.com/documentation/using-template-files/

    eg. wp-content/themes/Your Theme/plugins/events-manager/forms/event-editor.php`

    Thread Starter jurvrn

    (@jurvrn)

    angelo_nwl (@angelo_nwl), thanks. But I cancel the question, because it is not necessary for anonymous users who do not have registration on the site to add events to the calendar and use some non-personal data for this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Why did the user data query appear?’ is closed to new replies.