Tell us what you are trying to do?
I have a custom post type "Attendees", I want the user be able by using CRED to connect to the corresponding post type Attendees and register to the website as well I will create a role with Access.
Is there any documentation that you are following?
I read some but I need help from you
What is the link to your site? hidden link (Toolset Form and post type not created yet...)
I am creating the custom post type following my client requirements about which field to add.
Ideally I want this custom post type to be filled by the user him/her self by filling a front end form with CRED that will create the custom post type entry feeding the connected fields using CRED.
I also want in the same session that when the user submit the from he get also user and password by user registration.
Once you create user field group and added fields to it - When you create user form and click on "Auto Generate form content" button it will be available to use with user form.
1) Add fields to user
2) Assign a custom role with Access
3) Create the front end user registration form adding any custom field created.
My client will be manually creating for each registered user the custom post type entry so he will have like John, Sandra, Robert attendees post entry.
The advantage of user registration is that users can also update their profile at any time.
Do you think this is the way to go?
1) Add fields to user
==> OK
2) Assign a custom role with Access
==> You should create a new role using access plugin and when you create a user form - from where you can select the role for the form. That means the new user will be created with that role.
3) Create the front end user registration form adding any custom field created.
=> Yes - correct.
My client will be manually created for each registered user the custom post type entry so he will have like John, Sandra, Robert attendees post entry.
=> Here do you mean that once user registered - you want to create/add a new entry (new post) for post type "Attendees"?
Yes, ideally I wanted an automated system but I think is not a big deal for my client to create a new attendees post type entry for each attendees getting the info from user profile.
We need this post type since client wish to display for each Event all Attendees, I am using ONE TO MANY post relationship.
Do you have any idea to simplify the process without any complicate use of coding?
This looks like the solution I was looking for , so by this hook when the user register can -in the same time fill or better feed the corresponding post type attendees?
Can you confirm?
I will create a code snippet using the same name plugin of the code your provided me since Oxygen do not have a functions.php file