Support

Home Forums Event Espresso Premium Members only event : Change text Reply To: Members only event : Change text

Reply To: Members only event : Change text

Author Replies
Tony # Posted on May 8, 2018 at 3:22 am

Hi there,

I checked the following threads but not sure how to add a custom link to the message.

https://eventespresso.com/wiki/wp-user-integration/#custom_restricted_ticket_message
This redirects to the WP-user login, which is not what I need.

That’s actually exactly what you need, the only difference being the URL.

Here’s another example:

https://gist.github.com/Pebblo/783dc4f9f43b9780d860112817edfd6d

You need to return the correct link yourself when using the functions above, how you pull the correct link is up to you. In my example you can change:

https://www.example.com/your-profile/login/

to whichever URL you want the user to go to, or if ultimate member has a function to return a specific registration page you can use that, it all depends on what you want to do.

For example you could just use something like this:

https://gist.github.com/Pebblo/783dc4f9f43b9780d860112817edfd6d#file-example2-php

Change the URL to whatever you want to use and that should be it.

I would also like to hide the Address section for non-logged in and logged in but not a member users, if possible.

We don’t currently have an option to hide specific question groups based on the user.

Do NOT follow this link or you will be banned from the site!