Skip Navigation

[Closed] Event Registration functionality in Toolset custom content template?

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 11 replies, has 2 voices.

Last updated by Luo Yang 2 years ago.

Assisted by: Luo Yang.

Author
Posts
#2474301

This is the second bit of functionality we're trying to achieve with our Events/Rides system. Previous tickets giving background on this can be found here:

https://toolset.com/forums/topic/is-the-use-of-fields-from-the-events-calendar-plugin-possible/

https://toolset.com/forums/topic/add-to-google-calendar-functionality-on-custom-content-type-in-toolset/

We'd like to add the ability for end users to register/RSVP for our Rides. We have this functionality achieved through a 3rd party plugin for The Events Calendar called Registrations for The Events Calendar. Now we're trying to achieve something similar that we can add to our Rides template doing this exclusively through Toolset rather than trying to achieve integration with The Events Calendar. I realize this will require finding a 3rd party registration/RSVP system that can work on custom content types created through Toolset. The part of this that will be difficult though is having each registration be unique to the since Ride page it is on. I'm doubtful that I'll find a way to do this, but thought I'd run it by you in case you know a way we can do this. I have seen several past support tickets for other regarding registration/RSVP forms, so I'm hopeful you might have some good ideas to achieve this.

I think this is actually the last bit of functionality I'll need to match what we already have. I successfully figured out setting up a countdown clock specific to each event using your countdown block.

Here is the page we have using The Events Calendar:

hidden link

And here is the page we have so far using Toolset where I've tried to recreate/emulate everything as best I can:

hidden link

As you can see, I'm already pretty close on this.

We don't have the Map To Ride Start set up yet because we have to get the Google API to use your maps system, but we should have that done soon.

#2474443

Hello,

Please check my answer in your previous thread:
https://toolset.com/forums/topic/add-to-google-calendar-functionality-on-custom-content-type-in-toolset/

If it is what you want, then all can be done within Toolset plugins, so you can build the post form for creating the event custom post:
https://toolset.com/course-lesson/front-end-forms-for-adding-content/

#2476405

I think you nailed it on the previous thread regarding Google Calendar. Thanks again.

Please clarify regarding the use of Toolset Forms for registration functionality. I'm unclear on the line of thinking here. If we create a single registration form and apply it in the Rides template, won't that be one form for all rides? Is there a way to make the submissions through that form unique to the individual ride page the form is on? We'd rather not have to create a new form for every Ride because we're going to probably have 800+ Ride pages in here eventually.

Just to further clarify my thoughts here, look at these two ride pages:

hidden link

hidden link

We'd like to have all Registrations for A Bit Of Hills show as being for that single ride. Then we'd want all Registrations for 5 Cities Ride show as being for that single ride. And so on for every ride in the system.

If this can be done using Toolset forms, that would be great! Just getting basic registrations would be the first step, but then we'd also want to build in functionality where the Ride Leader would be able to send Notification messages to all users that have registered for their specific ride. We sometimes have things happen where rides get cancelled, or maybe ride details get changed, and it would be great to be able to send Notifications to everyone registered at once.

I don't know if that would be doable with Toolset Forms exclusively or not. But I'm sure if the Registrations can be made Ride specific in some relatively easy way that doesn't involve setting up a new form for every ride, then I'm thinking we could set up a view to show all registered riders for each ride individually. If we can get that, then, if nothing else, the Ride Leader can just manually copy and paste all those e-mail addresses and send an e-mail manually. That would be fine if we could get it that far,

#2477977

In your case, it needs to construct entire RSVP system, it won't be easy to achieve.
In my opinion, you can try these:
1) Create two post types:
- Event
- Ride
- Reserve

2) Create two post type relationships:
- Setup one-to-many relationship between Event and Ride
- Setup one-to-one relationship between Ride and Reserve

3) Let Ride Leader users to create Event and Ride posts

4) In the single Ride post, display a post view:
- Query Reserve posts
- Filter by post type relationship between Ride and Reserve
- If there is any result, display a message: Ride is reserved
- If there isn't any result, display below child post form link

5) Setup child post form for creating new Reserve post
https://toolset.com/course-lesson/selecting-parent-posts-when-using-forms-to-create-child-items/

#2478231

Oh boy, I can tell I have a lot to learn to try to get this done. I read your reply and just thought "Wow, he is going so far over my head here". 😉

I read everything at the link you provided and I reached a starting point of understanding what you're saying here. I don't fully grasp it, but I have a basic idea.

One thing I have to ask first here is, am I reading that page correctly in seeing that you can create new site content strictly from form responses using Toolset Forms? If so, a large lightbulb just illuminated over my head with newfound realization of the power provided here. Forgive my sidetrack thought here. I just have to say this is awesome if I'm understanding it correctly. I have many applications for this if that is now easily doable.

As it applies to my current question and your thoughts towards a solution, do we need where you said Events? We really only need Ride and Reserve for that Ride unless there is something to the process that requires the Rides to be under Events in how this is to be built. We're just trying to duplicate functionality from the registration plugin for The Events Calendar found in trying to create this exclusively with Toolset. But we do not need an Events content type. If we can succeed with setting up this Rides & Reserve system, we'll be deleting The Events Calendar and all the plugins that we installed with it because it won't be needed. So please just clarify if you suggested using Events because it is needed, or if you suggested using Events because I said we're using the Events Calendar.

So now I have to learn everything with Toolset forms, Parent Post and Child Posts, and Relationships. Am I understanding it correctly that this line that says:

"In the Parent post section, make sure to select the option Set the parent according to the currently displayed content."

That means that I can have one Registration Form that will create a new post of the Reserve content type and that I can designate that post to be a child and assign its parent to the current Ride that the Registration form is on? If I'm understanding that correctly, then that is completely awesome functionality. But it's still going to be a bit of effort on my part to wrap my head around it and how to set it up.

So for each Ride, we'll have say 20 Reserves. Will the parent Ride designation be within each Reserve? If so, then we can create a View that shows all Reserves, which will include Name, E-Mail Address and maybe Phone Number fields, and then filter that View to only show the Reserves for the current Parent Ride and then place that View on the Ride page for display, or maybe on a separate Ride Registrations page that would be an Admin only page. That would get us everything we need for people to register for each Ride. I will work on this as the first phase of my effort here.

Then the second phase would be to figure out how to take all addresses in the e-mail address field for Reserves and to allow a Ride Leader to bulk send a Notification to all Reserves. If that must be done manually, that will be OK. But if I can somehow set that functionality up within this system, that would be even better and might even exceed what we have with the current plugin. That would be spectacular.

Is it OK for me to continue in this thread and be able to pick your brain as I try to learn all this? Or at least what I called the first phase above?

#2478767

There are lots of questions in this thread.

Yes, in your case, it needs only
1) two post types:
- Ride
- Reserve

2) One post type relationship:
one-to-one relationship between Ride and Reserve

3) two user roles:
- Ride Leader users manage their own Ride posts
- Normal users manage their own Reserve
https://toolset.com/course-lesson/creating-a-my-account-page/

4) In the single Ride post, display the child post form link for creating Reserve post

According to our support policy, we prefer one ticket one question, you can create different tickets for each problem you have.

#2483431

Can you help me with understanding the choice of one-to-one relationship between Ride and Reserve you said to use in step 2 above? When I went to set that up, it seemed like it was saying one Reserve can be related to one Ride with that setting. It seems to me like we'd want one-to-many so we can have any number of Reserves for each ride. I'm sure I'm wrong here because I have no experience with this and am trying to learn. But I want to understand what I'm doing instead of just doing it. Thanks.

#2483441

I've started trying to set this up and I'm clearly very confused. I'm unclear on how to set up the form that end users will use to create their registration. I decided to use "Registration" as the content type, not Reserve, so we'll use that term going forward. I created the Relationship between Rides and Registrations and that called itself Ride Registrations.

You can see the result of my bad effort here:

hidden link

I tried setting up a Relationship Form following instructions here:

https://toolset.com/course-lesson/front-end-relationship-forms-for-connecting-posts/?utm_source=plugin&utm_medium=gui&utm_campaign=forms

But on the edit page for the form, I didn't see any way to add my own fields. In the form editor, I see Rides, Registrations, Form Messages, Submit button and Cancel link on the left side of the editor. I also see Add Media and HTML Content as the only items under Extra Elements. So I'm not sure how to build the form. I'm thinking this might not be the right place to build this. I'm thinking I might need to create a Post Form which will create the Registration post from the form submission. But then I'm not sure what to do after that, if I'm right. I can see this is going to be very difficult to learn, so please have patience with me.

#2483457

I went ahead and set up a Post Form. I tried to set up all the fields we want with this and have it as close as I think I can get it. I'm not sure if this is the right way to do this, but I figured I would go ahead and set up the form. The one issue I had was I couldn't figure out what to do with the Registration Title field. End users aren't going to know what to call that, so I decided to use Your Name as the label for this field. That way end users will just be entering their name here, which is one of the fields we wanted to have anyway. It would be better if the Registration Title field could be automatically generated by the system instead of provided by the end user. If that's possible, we would have the Registration Titles have the format of:

[Ride Post Title] Registration - [Name] [Date].

If that is impossible, then maybe we could provide instructions through an HTML content element for this field for the end user to title it the way we'd like it to be and then set up Your Name as a separate Single Line field.

Please let me know if I'm moving on the right path with either of these efforts.

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/the-registration-title-field-could-be-automatically-generated-by-the-system/

#2483471

Q) it seemed like it was saying one Reserve can be related to one Ride with that setting
Yes, in this case, it needs to setup one-to-many relationship between Ride and Registrations, and I think you are on the right path.

According to our support policy, we prefer one ticket one question, for other new issues, please check the new thread here:
https://toolset.com/forums/topic/the-registration-title-field-could-be-automatically-generated-by-the-system/

#2485291

Can we keep this ticket open awhile? I don't know if you have any kind of time limit where you try/need to get tickets to a resolved point and I don't want to negatively impact you.

I'll have to go through all your lessons in the Documentation section to try to get to where I understand everything better. The problem is I'm working on two other sites with Toolset installed and trying to get them to a launch point, so I'm being pulled several directions. It's hard for me to learn new functionality with too many things on my plate at once. I need a more calm period to really get into the level of in-depth study I think I'll need for all of this. So it might be awhile with what I'm trying to do in this ticket for me to get it.

That's why I asked in the other ticket if this is something where we can pay you to set it up as needed.

#2486089

OK, I have marked this thread as "Waiting for feedback" status, you can update here if you still need assistance for it.

The topic ‘[Closed] Event Registration functionality in Toolset custom content template?’ is closed to new replies.