Support

Home Forums Event Espresso Premium Locating processes during the registration

Locating processes during the registration

Posted: December 11, 2015 at 2:18 pm

Viewing 1 reply thread


Jeff Long

December 11, 2015 at 2:18 pm

Hello!

Thank you guys so much for your support so far. I’ve gotten a long way on my project. I’m looking for a little bit more advice/knowledge regarding your software…

First –

Can you tell me – do user answers to Custom Registration Questions get added to the wp_esp_answer table in the EED_WP_Users_SPCO.module.php file when the User Integration and forced Login is enabled?

I want to know because I’m adding an answer to the table with an SQL update function, but my auto-increment jumps by 11 digits each time the function runs, leading me to believe that my function is running at the wrong time.

Second –

Do you have a handy snippet for how to pull the event ID being registered for out of EE_Registration? (http://code.eventespresso.com/class-EE_Registration.html)

Or if I run event_ID(); in the SPCO module, will I reliably return the event ID being registered for? (http://code.eventespresso.com/source-class-EE_Registration.html#410-416)

Thanks!


Josh

  • Support Staff

December 11, 2015 at 3:36 pm

Hi Jeff,

Can you tell me – do user answers to Custom Registration Questions get added to the wp_esp_answer table in the EED_WP_Users_SPCO.module.php file when the User Integration and forced Login is enabled?

Yes they do.

Do you have a handy snippet for how to pull the event ID being registered for out of EE_Registration? (http://code.eventespresso.com/class-EE_Registration.html)

Yes, if you check out either of these examples you’ll see how they get the event ID out of EE_Registration (and EE_Transaction, and EE_Checkout if need be)

https://github.com/eventespresso/ee-code-snippet-library/blob/master/checkout/jf_ee_display_event_featured_image_on_spco.php

https://github.com/eventespresso/ee-code-snippet-library/blob/master/checkout/jf_ee_paypal_account_meta_key_override.php

Viewing 1 reply thread

The support post ‘Locating processes during the registration’ 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