• Resolved dviolante

    (@dviolante)


    Hello!, Im creating a website where alumni are going to register on this site to create their own profile and this will be a Custom Post. I need that this new Post, the author be this New registered user when the post is created.

    Acutally in my Form i have a Post Action / Create Post, in Save i have in Post author: Current User (i also tried Current Post Author), but when a user filled up the form, the Post is created correctly but in the Author stays Blank. No user is assigned to this new Custom Post.

    Is any way to solve this?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    The “Current User” setting in the Post Action will use the currently logged user and set it as the Author of the post. The “Current Post Author” will use the Post Author of the Post/Page where the form is displayed and set it as the Post Author of the created post.

    If the visitor who creates the post is not logged in, and if you use the “Current User” setting, it is normal that there is no Post Author set.

    If you have 2 Actions in form, ie: “Create User” and “Create Post”, then you can enable the setting “Log User Once Created” in the “Create User” action, and set “Current User” in the “Create Post”.

    If you don’t want to log user once created, then you can use the Template Tag {action:user:ID} in the Post Action “Post Author” instead (see documentation), to retrieve the User ID of the previous “Create User” action.

    Hope it helps!

    Have a nice day!

    Regards.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.