Skip Navigation

[Resolved] I want to create a Member Page post using a form. How do I match registered users to the Member Page?

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

Problem: I would like to create a Member Page post type and allow Users to create their own Member Page post. How can I link Users and Member Page posts?

Solution: When a User submits a Form to create a Member Page post, they will be the author of that post automatically. You can use the Member Page post as a proxy for the User, and connect it to other posts using Toolset's post relationships.

Relevant Documentation:
https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/

This support ticket is created 4 years, 2 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.

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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 8 replies, has 2 voices.

Last updated by evaM 4 years, 2 months ago.

Assisted by: Christian Cox.

Author
Posts
#1489815

Tell us what you are trying to do?

I use ELEMENTOR and for the Registration i use a plugin called ACTIONS PACK, that allows me to create a DOUBLE OPT IN with a VERIFICATION EMAIL and use specific user roles i have createtd with TOOLSET ( as we need VERIFICATION EMAIL and DOUBLE OPT-IN in Europe following the GDPR law)

I now want to create a MEMBER AREA:
I created CUSTOM POST TYPES
and CUSTOM FIELDS and
CUSTOM TAXONOMIES ,
called this MEMBERS PAGES

now i want to give this fileds in the MEMBERS PAGES certain conditions regarding to the different User Roles.
HOW CAN I LINK the allready registered users to the MEMBER PAGES?
and
HOW CAN I set certan conditions for different users?

(i cannot find the possibility to choose different user roles when i open the settings menu for conditions, when creating the custom fields...)

Is there any documentation that you are following?

not now...

Is there a similar example that we can see?

? no

What is the link to your site?

i need to give you access to the backend, i do not want this to be official

#1490903
Screen Shot 2020-02-03 at 1.45.54 PM.png

HOW CAN I LINK the allready registered users to the MEMBER PAGES?
One way you can link Users and posts is to make the User the author of their own Member Page. This article describes the process:
https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/
After the User registers, you can redirect them to a page on the site that contains a Form to create Member Page posts. That Form can have just one button "Create Member Page" or something similar. That Form will create a Member Page post, and the User will be the author of that post. Then you can use a View to hide the form from that User (see FAQ #1 for more information about this).

HOW CAN I set certan conditions for different users?
We offer the Access Control shortcodes to handle conditions based on different User roles. Please see here: https://toolset.com/documentation/user-guides/access-control/access-control-texts-inside-page-content/
Does this answer your question? If not, I need some additional detail.

(i cannot find the possibility to choose different user roles...when creating the custom fields...)
When you create a User field group, you have the option to check individual roles where this field group will be visible in wp-admin. See the screenshot attached here. Is this what you had in mind?

#1491069

Dear Christian,
thank you for now, i will work it through....
i think there are many hints i need....

there is one issue i want to solve...

When creating Custom fields... that i use in forms later...

is it possible to set the conditions which user group can use the field when creating the CUSTOM FIELDS

or can i set this conditions for every different field IN THE FORM ( conditions to ecach formfield visibility depending on user role??)

#1491111

is it possible to set the conditions which user group can use the field when creating the CUSTOM FIELDS
Not really, no. You can choose which Field Groups can be modified in wp-admin by each User role, but this does not apply to Forms. One alternative is to create different Forms for each User role. Remove any unnecessary fields from each Form. Then use Access Control shortcodes to display a different Form to each User role.

#1491153

thank you so much, this is what i really need....

so i create custom fields for all users
and start the seperation in different forms ?
is that correct?

sorry for asking again, but i think now i am on the path of understanding

#1492149

Yes, you understand correctly. Create fields, then separate them in different Forms.

#1492207

and do we have also something like this?

hidden link

( I know... again.... but 🙂 )

#1492235

Conditionals based on User role are best implemented with Access Control shortcodes:
https://toolset.com/documentation/user-guides/access-control/access-control-texts-inside-page-content/

Other conditionals can be implemented using conditional HTML:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/

Conditionals based on field selections in the same Form are best accomplished using Forms conditional groups:
https://toolset.com/documentation/user-guides/cred-conditional-display-engine/

#1492267

great support

hugs, Eva

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.