Support

Home Forums Event Espresso Premium Registration Event – Login required

Registration Event – Login required

Posted: February 24, 2017 at 2:51 am

Viewing 3 reply threads


JacquesMivi

February 24, 2017 at 2:51 am

Hello,

I have some conflict on registration page. So I decided to use your login required option. I add my own “Registration page URL” in :
https://monosnap.com/file/IgBgU559lWR0Fx3CwAj3phbJifVVIV#

Can I give a GET or POST variable in this URL ?
I want to redirect the user to the event after his registration.

Thanks,


Seth Shoultes

  • Support Staff

February 28, 2017 at 2:31 pm

Hi, there.

Yes, I believe you can pass GET parameters in that URL.


JacquesMivi

February 28, 2017 at 2:51 pm

Like “/votre-compte-viviartiste/?linkworkshop=get_the_id()” ?
I need the dynamic ID to retrieve the Event.


Seth Shoultes

  • Support Staff

March 1, 2017 at 9:32 pm

Hmm. I don’t think passing a PHP function (like get_the_id()) will work. You could have the page you send your users to capture the previous page URL then figure out the id of the event post using the url_to_postid() WordPress function: https://codex.wordpress.org/Function_Reference/url_to_postid

Would that work?

Viewing 3 reply threads

The support post ‘Registration Event – Login required’ 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