Posted: September 26, 2019 at 10:14 pm
|
September 26, 2019 at 10:14 pm When a customer is signing up for them self and a friend and that friend has been to an event before, it prompts the primary that the second attendee has to sign in, if the customer is trying to sign up wife and kids let say as a surprise they cant with out knowing peoples login info, is there a way to change this? Thank you, Gerrit |
Hi Gerrit, You can disable the email check for all registrations using the function from the second file here: https://gist.github.com/joshfeck/1131145859a3fab58f4d#file-disable_email_match_everyone-php You can add that to a custom functions plugin on your site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ |
|
|
September 27, 2019 at 10:21 am Is this what it should look like? <?php <?php /* Stop Adding Functions */ Thank you, |
September 27, 2019 at 10:45 am Almost, remove this:
You already have an opening PHP tag on line 1, adding another whilst the first is still ‘open’ will throw a fatal error. |
|
|
September 27, 2019 at 10:55 am Just double checking. <?php /* Begin Adding Functions Below This Line; Do not include an opening PHP tag as this sample code already includes one! */ //* Please do NOT include the opening php tag, except of course if you’re starting with a blank file /* Stop Adding Functions */ |
September 27, 2019 at 11:01 am You can remove this:
And fix this
This:
Is a multi-line comment, anything between By adding the |
|
|
I am sorry for the many questions, I want to make sure this is correct. /* Disable email match check for all users /* Stop Adding Functions */ |
Change this:
To this:
This is how your custom functions plugin should look: https://gist.github.com/Pebblo/6e492dde02fae1418ede005c45c4ceb6 Note I’ve also added the function from your other thread to that example. |
|
|
Thank you so much, i created two different plugins, one installed and activated(privet calendar shoe details) the second is the second attendee does not need to login, that installs but will not activate? Again thank you for the help. |
You can have both of those functions in a single plugin like my example, is there a reason you want them in different plugins? Can you post the full content of both plugins into something like Pastebin so I can take a look? (Don’t post the code here directly, the forum adds formatting and I’ll have no idea if thats from your code or the forum) |
|
|
when i did it as a single plugin it created two, and neither would activate? |
|
i will set it back to one plugin |
|
It created one plugin, but it will not activate |
|
I missed a piece, sorry for the confusion. |
You shouldn’t have 2 plugins if your only creating a single custom functions plugin as above, so I’ll check over the code you are using if you prefer. Add the code for the plugin(s) you’ve created to a Pastebin and add the link here. |
|
The support post ‘multiple attendee sign up’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.