Okay
  Public Ticket #3144160
Multiple RSVP with one mail adress
Closed

Comments

  •  5
    gfc-de started the conversation

    Hi,

    Is it possible to send multiple RSVP with one mail address? Is it possible to adapt the code for this purpose?

    Thanks in advance.

  •  877
    Zhivko replied

    Hi,

    I don't think it's a good idea but you could disable the function that checks for emails and see if it works for you.

    Open file stachethemes_event_calendar / assets / php / o.event.php 

    on line 734 there is this function:

    6175745127.png

    Comment the default code and add return false; like this:

    8763864714.png



    Stachethemes Developer

  •  5
    gfc-de replied

    Hi,


    thanks for the fast response. I changed the code as you supposed. I can now send multiple RSVP with the same mail adress. Unfortunately the RSVPs with the same mail adress are not listed in the atendee list in the back end. What do I need to change, that the antendee list in the backend shows the antendees with the same mail adress?

    Why do you think it's a bad idea in general?

  •  877
    Zhivko replied

    You will have to edit one more file.

    stachethemes_event_calendar / assets / js / admin / main.js

    comment lines1408 to 1410:

    7473259476.png

    Well I don't think it's good idea because the emails are like unique identifiers. It's like 2 users using same email address for the login screen. It may get messy and I can't predict how this will work out.


    Stachethemes Developer

  •  5
    gfc-de replied

    I edited the code, but the antendees with the same mail adress are not shown in the back-end. But if I export the event as CSV file the attendees are shown in the CSV file... How can the atendees also be shown in the back-end?

  •  877
    Zhivko replied

    I assume it's a browser cache. Try refreshing the cache. Ctrl + F5 on chrome.


    Stachethemes Developer

  •  5
    gfc-de replied

    That worked. Thank you!