Skip Navigation

[Resuelto] Best way to setup existing memberships with WordPress User accounts

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

I imported a membership website from Drupal to WordPress via a plugin (FG Drupal to WordPress Premium ). I now have a Custom Post Type (CPT) setup called Membership Profile that have all the user fields setup in it.

My question is how do I put them together so that the WordPress User account is tied together with their corresponding Member Profile?

Solution:

I suggest you setup the author of each "Membership Profile" post as the corresponding wordpress user.

If the custom post type "Membership Profile" is created with Types plugin, you can enable the "author" metabox by this:

Edit the post type "Membership Profile", in section "Sections to display when editing", enable the option "Author", when you edit a "Membership Profile" post, you will be able to setup it's author, more help:

https://codex.wordpress.org/Function_Reference/register_post_type#supports

In front-end, you can create a view lists "Membership Profile" posts filter with:

Post author is the same as the logged in user

https://toolset.com/documentation/user-guides/filtering-views-query-by-author/

In the view's loop display a CRED editing form link for user, update the "Membership Profile" post information

Relevant Documentation:

https://toolset.com/documentation/user-guides/displaying-cred-editing-forms/

This support ticket is created hace 5 años, 11 meses. 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
- 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)

Autor
Mensajes
#670088
aaimco-users.png
aaimco-membership-profiles.png

Hello,

I imported a membership website from Drupal to WordPress via a plugin (FG Drupal to WordPress Premium ). I now have a Custom Post Type (CPT) setup called Membership Profile that have all the user fields setup in it. It is also tied in with 3 taxonomies correctly so I'm happy with how everything imported. (aaimco-membership-profiles image)

It also imported all their user account information, email address/username, role and password, and placed them with in the WordPress Users account (aaimco-users image).

My question is how do I put them together so that the WordPress User account is tied together with their corresponding Member Profile?

Please let me know if there is anything I can provide to help you out. Thank you.

Ronald E.

#670402

Dear Ronald ,

I suggest you setup the author of each "Membership Profile" post as the corresponding wordpress user.

If the custom post type "Membership Profile" is created with Types plugin, you can enable the "author" metabox by this:
Edit the post type "Membership Profile", in section "Sections to display when editing", enable the option "Author", when you edit a "Membership Profile" post, you will be able to setup it's author, more help:
https://codex.wordpress.org/Function_Reference/register_post_type#supports

In front-end, you can create a view lists "Membership Profile" posts filter with:
Post author is the same as the logged in user
https://toolset.com/documentation/user-guides/filtering-views-query-by-author/

In the view's loop display a CRED editing form link for user, update the "Membership Profile" post information
https://toolset.com/documentation/user-guides/displaying-cred-editing-forms/

#676164

Thank you Luo. Your information has pointed me into the right direction and saved me many hours of time.

#676639

You are welcome.

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