Skip Navigation

[Closed] connecting (new and existing) users with (new) member post type

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.

This topic contains 1 reply, has 1 voice.

Last updated by Christopher Amirian 4 months, 2 weeks ago.

Assisted by: Christopher Amirian.

Author
Posts
#2800806

Tell us what you are trying to do?

I have an existing site with ~10,000 users. We have been maintaining profile information on custom user fields. I'm trying to switch to a member cpt so that I can make better use of relationships and do member searches. I also have (updated) user and member information in a csv. The tutorials for setting up a member site and building the forms are clear enough. I have a user ID field in the csv and I can import the new users and member information, but I can't see how to associate existing users (or even users newly created via import) with the member post as an author.

Is there any documentation that you are following?
https://toolset.com/course-lesson/how-to-create-custom-searches-and-relationships-for-users/

Is there a similar example that we can see?

What is the link to your site?
I'm working on a dev site, but our production site is here: hidden link

#2801025

Christopher Amirian
Supporter

Languages: English (English )

Hi welcome to Toolset support.

That is not what Toolset can do. The key is that Toolset doesn’t automatically associate a user with a member post as its author when you create or import a member post. You’ll need to update the member post’s author (post_author field) so it reflects the correct user ID.

When you import your member data from CSV, ensure your CSV file contains a column with the existing user’s ID. Then, in your CSV importer (for example, using WP All Import or another tool), map that column directly to the WordPress post_author field. This way, the imported member posts will be created with the correct user as the author.

But that is something you need to check with the support of the plugin you use to import the CSV file.

Thanks.

The topic ‘[Closed] connecting (new and existing) users with (new) member post type’ is closed to new replies.