Title: plugin for registration and invite code management
Last modified: June 20, 2023

---

# plugin for registration and invite code management

 *  [stefanocps](https://wordpress.org/support/users/stefanocps/)
 * (@stefanocps)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-for-registration-and-invite-code-management/)
 * Hello in my site i have 3 registration form that user that want a service need
   to fill
 * A user is normally invited from an agent, so when the user will fill the form
   he will need to insert a code, which identify the agent that invite the user.
 * Now i want to manage in the backeend the association agent/code and of course
   the user/code/agent relation. Agent can have a sub agent, so i must be able to
   manage the affiliates thorugh a code. So the code i generate identify AGENT, 
   SUBAGENT, SUSUBAGENT…
 * What plugin can do that?thanks

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-for-registration-and-invite-code-management/#post-16838107)
 * Any [form builder plugin](https://wordpress.org/plugins/search/form+builder/)
   will let you create a field that accepts an agent code. What happens with the
   submitted data is variable, but typically it’s saved as a custom post type and
   the fields saved as post meta. YMMV. So the user-agent relation is maintained
   by the post data.
 * The question then is what do you need to do with this user-agent relationship?
   I don’t think any form plugin can help with this, it’s too specific to your particular
   need. This part of your solution will likely need to be custom coded.
 * Do these agents have some sort of user ID? They do if they are registered WP 
   users. You could just string together each of their IDs as the code the user 
   inputs. For example: “123-145-203” for sub-sub-agent 203 and his agents above
   him. Custom code can easily parse that to get all related agent data.

Viewing 1 replies (of 1 total)

The topic ‘plugin for registration and invite code management’ is closed to new 
replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-for-registration-and-invite-code-management/#post-16838107)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
