I want to create a form which has basic information such as firstname lastname avatar country and city. This form will auto register the user and then make a post to my main page with there profile information.. I do not want them to have post functionality after, they can delete their user which will remove their single user post.
Think of if like single sign on single post functionality with user shown in the front end for supporting a certain topic 🙂
I can't give you the exact code, but I can give you the outline about how to do that.
So you can create a registration form, upon successful registration, an action hook wpuf_after_register will be executed. You can create a post on that execution and assign a form ID for updating the post (create a post form beforehand). Then auto sign in the user after registration. As you'll not insert the post form shortcode in a page, the user will not be able to create a post. But he'll be able to edit the post as the post is auto created using a hook. Hope that makes sense.
I am new to wordpress and understand what your saying but not sure where to put the code. Do i create a new page … where do I actually add my action hook. Or you can Quote me a price to do this for me and i will be more then happy to contract you out.
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘Auto registration / Auto post profile info’ is closed to new replies.