Support

Home Forums Event Espresso Premium Custom calendar widget register button with membership levels – Wishlist Member

Custom calendar widget register button with membership levels – Wishlist Member

Posted: July 29, 2014 at 8:35 am

Viewing 2 reply threads


Ben

July 29, 2014 at 8:35 am

EE3 all add ons
WP 3.9.1

Hi Guys,

Is it possible to customise the register button from the calendar widget to associate e.g. the Category A event in the calendar widget, with Membership Level A. So when a user is not logged in, they will be forced to register, and then once logged in they will continue to the correct Category A Event associated from the calendar widget, Category B event, C, etc which are representing different courses?

http://screencast.com/t/RWhh0rS8So

I’m currently setting up different courses with different membership levels to match the appropriate course, the problem is getting the calendar widget to follow the same registration path.

Thanks.


Dean

July 30, 2014 at 3:08 am

Hi Ben,

I assume you have WP User Integration active? That will resolve the logged out need to register issue.

Regarding the rest, I think it could be done, but you would have to modify the /wp-content/plugins/espresso-calendar/espresso-calendar.php file, and there are no filters or pluggable functions, so updates will remove the changes.

My thoughts is that in that file you could filter the $registration_url based on user role/capability.

The hardest part would be determining which event to redirect them to. I think you would need to query via category, but you may also need to use the Custom Meta fields to store either the URLs for the associated events or something like that.


Ben

August 1, 2014 at 3:48 am

Thanks Dean,

We’ve decided to keep it simple for the time being with 1 membership, which is an easier process flow.

Thanks.

Viewing 2 reply threads

The support post ‘Custom calendar widget register button with membership levels – Wishlist Member’ 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