Skip Navigation

[Resolved] Bulk create users from Toolset fields

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

Problem:

How to assign users to custom posts to use them as their profile.

Solution:

- Create the users
- Create the custom post type
- Create a form to assign the user as the author of the post type.
- Add a view for the post type single template
- In the view set the post types to show with only current user as the author

Relevant Documentation:

https://toolset.com/documentation/legacy-features/views-plugin/how-to-create-custom-searches-and-relationships-for-users/#support-for-users-in-toolset-and-wordpress

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 5 replies, has 2 voices.

Last updated by Christopher Amirian 9 months, 1 week ago.

Assisted by: Christopher Amirian.

Author
Posts
#2686489

I have uploaded my users and their information into a 'People' custom category. Now that the site is created, I want them to be able to edit their own profiles that I've created. How can I create WordPress user accounts and link them to individuals profiles that I've created using Toolset?

#2686616

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

You will need to create post forms to create/edit the profile pages and set the form to allow only the author of the post to edit.

You also need to set the users of WordPress as the author of their profile posts inside the People category.

I suggest that you check the chapters 5 and 6 and 7 of the course below as it is the implementation of the same concept:

https://toolset.com/course/wordpress-membership-sites/

Thanks

#2687267

My question though is about creating bulk users FROM the profiles I've already created using Toolset. IE: I have created a user directory with about 1250 users; now I want to create WordPress accounts for them. Surely I don't have to create those manually?

Also, I can't see how to change the author on a post I created on toolset

#2687378

Christopher Amirian
Supporter

Languages: English (English )

Screenshot 2024-03-12 at 13.01.05.png

Hi there,

Toolset does not have such a feature. You will need to create a custom code to do that,.

You can consider hiring a developer for that:

https://toolset.com/contractors/

For the question on how to set a user as the Author of the post in Toolset View you can check the documentation below:

https://toolset.com/documentation/legacy-features/views-plugin/how-to-create-custom-searches-and-relationships-for-users/#support-for-users-in-toolset-and-wordpress

The same query filter mentioned above is also available for the block views if you click on the view block and check the sidebar options.

Thanks.

#2688285

Hello. I'm struggling to find how to change the author of the profiles I've created. Please assist?

#2688439

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

In the documentation that I shared the default thought is that the author being added to a post by the front end form.

But for your case you already have them and you will need to use WordPress feature to change the author of a post:

hidden link

Toolset does not have any tool for that as it is not a Toolset feature and it is a normal WordPress feature.

You most probably will need to create a custom PHP script, that will for example go over all the users of the website and see them as an author of a post type with the same name for example

Just so you know, Toolset can not do that.

Thanks.