userwp fields into ninja forms?

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #4219

    Colin Whiteside
    Full Member
    Post count: 46

    Is there any way to get a logged in user’s uwp profile url into a hidden field in ninja forms?

    {wp:user_url} doesn’t work.

    Thanks!

    #4232

    Alex Rollin
    Moderator
    Post count: 27815

    UWP doesn’t have merge tags, but see: https://ninjaforms.com/user-data-wordpress-forms/

    #4237

    Colin Whiteside
    Full Member
    Post count: 46

    Yes, I have read that… but the wordpress merge tag {wp:user_url} doesn’t work when using uwp.

    Other examples: the wordpress merge tags for first name {wp:user_first_name} and last name don’t work with uwp, but fortunately for that we can use {user_meta:user_first_name} and also for the last name.

    For some reason there is no merge tag available for the username (only for the user id).

    In the meantime, we can create a link to the users page searching for the user profile by doing: {wp:site_url}/users/?uwps={user_meta:first_name}+{user_meta:last_name}

    But I would rather the link go directly to the user profile of course.

    This is why uwp merge tags would be very helpful.

    Please let me know when this becomes available!

    #4245

    Alex Rollin
    Moderator
    Post count: 27815

    I hear you, but, seems like something for NF
    https://github.com/wpninjas/ninja-forms/issues/2214

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket