Skip Navigation

[Resolved] Split: Multiple account’s registration with one e-mail address?

This thread is resolved. Here is a description of the problem and solution.

Problem:
How to setup global settings and use it with different entities

Solution:

You can find proposed solution, in this case, with the following reply:
=> https://toolset.com/forums/topic/split-multiple-accounts-registration-with-one-e-mail-address/page/2/#post-1079709

Relevant Documentation:

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Our next available supporter will start replying to tickets in about 2.44 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 17 replies, has 3 voices.

Last updated by Minesh 6 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#1077130

Dear Mr. Luo Yang,

fortunately, I've pushed my colleagues to change the view and now the structure is much easier and WP compatible:

There is going to be only ONE user registration – the teacher is going to register one user account and going to do ALL the work on the website. Students are not going to sign in at all.

There are the steps:

Step 1. User Registration: The teacher makes the user registration of him/herself. That's easy.

Step 2. Team's registration/submission (Post Form): The teacher is going to fill the form with the names of the student's team (no other users are needed - just the names of the students). The teacher can create several teams (A, B, C, D etc.). That's easy.

My problem: There is going to be the deadline (expiration): after this deadline, the teacher can't create any new teams BUT already submitted teams are going to be visible/useable but NOT editable. I'm following this documentation https://toolset.com/documentation/user-guides/cred-training-course/part-4-setting-automatic-expiration-posts/. So I can choose the date of the expiration. Great. I am just not sure about the form's status after the expiration. As I already mentioned the teacher should use the form's content (team's names and data) for Project's registration (Step 3) before and also after the expiration' date but he/she can't register any new team after the expiration. So may I use "published" status in this case?

Step 3. Project's registration/submission (Post Form): The teacher is going to fill/submit the form of the team's project.

I've already made this form with your help, which is working fine. https://toolset.com/forums/topic/possibility-of-save-and-also-send-and-close-button-in-content-form/ There are already "Save" and "Close the Submission" buttons. Thanks again!)

My problem: There is the only change for this Post Form: at the beginning of the form there has to be the selection field with the already created teams: A, B, C etc. This is a required field because the teacher has to declare/select the authors (students' names) of the project.
When the teacher chooses the right team then the Content of the Team's registration Post Form (Step 2) is going to display in this Project's Post Form (so we can see student's name and other data of selected team at the beginning of Project's Post Form) and the teacher can continue to fill the other data of student's project.

So I don't know how to display the Content of some Post Form inside some other Post Form.

Many thanks for your help and suggestion!

Best,

Jiri.

#1077138

Hello,

For you new question:
https://toolset.com/forums/topic/multiple-accounts-registration-with-one-e-mail-address/#post-1076293
What kind of deadline do you need?
For example, each student post has it's own deadline date, you can setup a custom date field in post type "student", then in the CRED form for editing the student post, use [wpv-conditional] shortcode to check the deadline value, and display what you want.

See document:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/checking-types-fields-and-custom-fields/#checking-if-a-date-is-today

section "Checking if a date is today"

#1077255

Hello Mr. Luo Yang,

many thanks you for your help,

I have already made a request for a live video call where I would like to discuss a concept and possibilities of this structure possibility or a previous structure possibility from here https://toolset.com/forums/topic/multiple-accounts-registration-with-one-e-mail-address/#post-1076293 to find the best solution for my website project.

I'm waiting for your information (or your colleagues' information) about that live video call appointment.

Thanks for your reply, best!

Jiri

#1077558

Hello,

while I'm still waiting for your live video call appointment, please let me explain my actual need of what I want to make with Toolset solution:

Here I already have 2 Post Types ready: Teams and Projects hidden link

As I already mentioned only the Teacher (user) is going to register, sign in and doing all the work. Students are not going to be users.

Step 1: Teacher submits Teams: hidden link

Step 2: Then the Teacher submits Projects: hidden link

Inside Project's submission Form there is going to be a possibility of loading/showing the Content of the current Team's submission Form. By doing it the Teacher declares which Project belongs to which Team.

That's what I need to make but I don't know how.

Many thanks for your help and suggestion. If you have any other/better idea how to make the same functionality please let me know.

Best,

Jiri.

#1078267

Yes, I have got a message from our support team leader: check if it's a valid video call request.

Here are my suggestions:

1) In your case, it needs three post types:

a) Team
b) Project
c) Student

You might need to consider following issues:
- One "Team" post can connect to multiple "Project" posts
- One "Project" post can connect to multiple "Team" posts

Then you can setup many-to-many relationship between post types "Project" and "Team".

Same above, you can setup many-to-many relationship between post types "Team" and "Student"

https://toolset.com/documentation/post-relationships/

2) Create a Toolset Form for creating "Project" post, see your own screenshot:

hidden link

But within Toolset post Form, there isn't such a feature to setup many-to-many relationship, so we have provided Relationships Form:

https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/

It can connect existed posts with each other.

And there is a workaround, you can setup the many-to-many relationship in Toolset post form by some custom codes, for example:

In the single "Team" post, you can display the Form for creating "Project" post, after submit the form, the new "Project" post is connected to "Team" post automatically.

See the solution of the similar thread:

https://toolset.com/forums/topic/automatically-connecting-post-types-in-many-many-relationship/#post-1074784

3) Create a custom user role "Teacher", assign the access permissions to Toolset Forms for creating "Project" post.
https://toolset.com/documentation/user-guides/access-control-for-cred-forms/

Please check if above suggestions satisfied your requests?
If you need assistance for above steps, you can provide a test site, I can setup a demo for you.

If you still have question about setup the post types, relationships, and Toolset forms, then we can make the live video call appointment.

Hope it is clear.

#1078355

Dear Mr. Luo Yang,

many thanks for your reply and suggestions!

Generally, I understand your suggestions but I would like to discuss the principle during our live video call appointment – I would like to be sure that my concept and your understanding is really clear – and finally, it will be more effective, I guess.

I am working now on a testing site only, hidden link so there is no problem to give you admin user access.

I'm going now to make a new live video call request (my Google Hangouts is set and ready).

Many thanks again, best,

Jiri.

#1078376

The video call service is for some basic usage of Toolset plugins, for example:
- how to setup a post view, filter with custom fields,
- how to setup a form, to creating wordpress user.

For the principle discussion, please put them into the forum in text, I can check if Toolset plugins meet your request, we can also setup the demo in your website.

I have already provided my suggestion in above answer:
https://toolset.com/forums/topic/split-multiple-accounts-registration-with-one-e-mail-address/#post-1078267

If they can meet your principle and you need assistance to setup them, please provide a test site with the same problem, fill the credentials in below private message box.

#1078587

Dear Mr. Luo Yang,

yes, I still have questions, so as you wrote: "If you still have question about setup the post types, relationships, and Toolset forms, then we can make the live video call appointment."

"If you need assistance for above steps, you can provide a test site, I can setup a demo for you." Yes, I need your assistance to go through the steps you suggested and to have a demo.

I'm expecting live video call during tomorrow (Friday) any time from 8 am to 9 pm - I can't wait until next week. Please let me know your schedule possibilities.

Many thanks, best,

Jiri.

#1079450

What time zone are you using?

And what is your questions for the basic usage of Toolset plugins?

I am in GMT+8, and I have forwarded your "live video call" request to our team leader, if I am not in your time zone, hope he can find a appropriate time to setup your video call.

#1079476

Dear Mr. Luo Yang,

My timezone is Europe/Prague (Central European Time)

I'm trying to follow your previous suggestions but I can't make it.

In fact, this is correct:

One "Team" post can connect to ONE "Project" posts only
One "Project" post can connect to ONE "Team" posts only"

1. The Teacher is submitting Teams with using Team's Post Form (I already made this form)
hidden link

2. Then the Teacher can submit ONE Team to only ONE Project by using Project's submission form (I already made this form but I CAN'T MAKE this possibility of loading some post content (selected Team) into Project's Post form.
hidden link

I already gave you WordPress and FTP access details to my testing site hidden link to be able to make this functionality working.

Please let me know how to solve this.

Many thanks, best,

Jiri.

#1079654

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello jiriK-2,

This is Minesh here and I'll take care of this ticket. Hope this is OK.

Well - I checked the test site you shared but when I visited the Toolset => relationships - I do not see any relationship has been made between any post type.

So, to be clear, here is my understanding about your setup:

- The entity Teacher will be a user having custom role Teacher who is add/edit/remove the thigns like team/porject etc.. etc..
- I've doubt about your post relationship. Luo mentioned here to create many to many relationship:
=> https://toolset.com/forums/topic/split-multiple-accounts-registration-with-one-e-mail-address/#post-1078267

- One "Team" post can connect to multiple "Project" posts
- One "Project" post can connect to multiple "Team" posts

But In your last replay you said:

One "Team" post can connect to ONE "Project" posts only
One "Project" post can connect to ONE "Team" posts only"

So, in order to remove any confusion, I want clear relationship between your post types. what you have shared above is that true that between Team and Project should have one-to-one relationship?

2. Then the Teacher can submit ONE Team to only ONE Project by using Project's submission form (I already made this form but I CAN'T MAKE this possibility of loading some post content (selected Team) into Project's Post form.
hidden link
==> Regarding this point, I see you created the post form BUT you are not seeing any post to connect BECAUSE you didnt establish any relationship between your post type Team and Project.

For example - with following test site: hidden link , i've created One-to-One relationship between post type Artists and Venues .

See this Doc to create relationship => https://toolset.com/documentation/post-relationships/how-to-set-up-post-relationships-using-toolset/

Now, once I created relationship, I created few Artists post and Venues post and connected those:
=> https://toolset.com/documentation/post-relationships/how-to-set-up-post-relationships-using-toolset/#how-to-connect-related-posts

After that I went to create post form for post type Artists and Venues and I can see the field is available to connect post just before the submit button:
Create New Artists => hidden link
Create New Venue => hidden link

I think you just missed to create relationship and connect the post and then you should again try to regenerate the form for your Team and Project post type and you will see the field to connect the post to other post type.

If above information does not help you, let me know if you still needed call , we will do it between 3PM to 4PM (CET) your time.

Please reply here ?

#1079656

Dear Minesh,

many thanks for your help and suggestion.

Yes, I still need some help by video call - just for few minutes - to clear my understanding your suggested steps and this structure.

Thanks again, best,

so I'm going to be online between 3PM to 4PM (CET).

See you 🙂

Jiri.

#1079680

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi jiriK-2,

We sent invite to hangout - please join now the call so we can discuss your issues. 🙂

#1079683

Hello Minesh,

I have to invitation here and my Google Hangouts is online with good connection: hidden link

My address: softpoint.chef@gmail.com

Thanks for your suggestion how to make a call.

Best,

Jiri 🙂

#1079684

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I sent you the direct link on your email: softpoint.chef@gmail.com