• 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

    (@bcworkz)

    Any form builder plugin 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.