Support

Home Forums Event Espresso Premium multiple attendee sign up

multiple attendee sign up

Posted: September 26, 2019 at 10:14 pm

Viewing 14 reply threads


gmkws

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


Tony

  • Support Staff

September 27, 2019 at 2:57 am

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/


gmkws

September 27, 2019 at 10:21 am

Is this what it should look like?

<?php
/*
Plugin Name: Site plugin for corkandboardstudios.com
Description: Site specific code for corkandboardstudios.com
*/
/* Begin Adding Functions Below This Line; Do not include an opening PHP tag as this sample code already includes one! */

<?php
//* Please do NOT include the opening php tag, except of course if you’re starting with a blank file
//* Disable email match check for all users
add_filter( ‘EED_WP_Users_SPCO__verify_user_access__perform_email_user_match_check’, ‘__return_false’ );

/* Stop Adding Functions */

Thank you,
Gerrit


Tony

  • Support Staff

September 27, 2019 at 10:45 am

Almost, remove this:

<?php
//* Please do NOT include the opening php tag, except of course if you’re starting with a blank file

You already have an opening PHP tag on line 1, adding another whilst the first is still ‘open’ will throw a fatal error.


gmkws

September 27, 2019 at 10:55 am

Just double checking.

<?php
/*
Plugin Name: Site plugin for corkandboardstudios.com
Description: Site specific code for corkandboardstudios.com

/* 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
//* Disable email match check for all users
add_filter( ‘EED_WP_Users_SPCO__verify_user_access__perform_email_user_match_check’, ‘__return_false’ );

/* Stop Adding Functions */


Tony

  • Support Staff

September 27, 2019 at 11:01 am

You can remove this:

//* Please do NOT include the opening php tag, except of course if you’re starting with a blank file

And fix this //* on the line below it, it should be just //

// is a single ling comment within PHP, anything that comes after that is a comment and so is ignored.

This:

/* 
   {something}
*/

Is a multi-line comment, anything between /* and */ is ignored.

By adding the * you opening a multi-line comment and not closing it.


gmkws

October 1, 2019 at 10:51 am

I am sorry for the many questions, I want to make sure this is correct.
I this correct below?

/* Disable email match check for all users
add_filter( ‘EED_WP_Users_SPCO__verify_user_access__perform_email_user_match_check’, ‘__return_false’ );

/* Stop Adding Functions */


Tony

  • Support Staff

October 1, 2019 at 3:00 pm

Change this:

/* Disable email match check for all users

To this:

// Disable email match check for all users

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.


gmkws

October 1, 2019 at 3:57 pm

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.


Tony

  • Support Staff

October 1, 2019 at 3:59 pm

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)


gmkws

October 1, 2019 at 4:00 pm

when i did it as a single plugin it created two, and neither would activate?


gmkws

October 1, 2019 at 4:01 pm

i will set it back to one plugin


gmkws

October 1, 2019 at 4:13 pm

It created one plugin, but it will not activate


gmkws

October 1, 2019 at 4:26 pm

I missed a piece, sorry for the confusion.

It is activated.


Tony

  • Support Staff

October 2, 2019 at 1:34 am

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.

Viewing 14 reply threads

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.

Event Espresso