Auto registration / Auto post profile info

This topic contains 2 reply and 2 voices, and was last updated by gboyd1978 10 years, 6 months ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
August 12, 2013 at 7:48 pm 6883
gboyd1978 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 :) Thanks, Gman
August 13, 2013 at 12:39 am 6888
Tareq Hasan Tareq Hasan

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.

September 11, 2013 at 8:22 pm 8025
gboyd1978 gboyd1978

Hi tareq,

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.

Cheers,
Gary

Viewing 2 Posts - 1 through 2 (of 2 total)