Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter wtnh

    (@wtnh)

    So after trying a few things, I realized that the account form ([ultimatemember_account]) has a link to called “View Profile”. So by creating a separate page called Account (or My Profile) I can indirectly get the user to his profile. I may use this approach and change the link wording to “View/Edit Profile” to be more explicit.

    I can also add the shortcode for the profile page to the account page just below the account shortcode ([ultimatemember form_id=6]) and display the logged in user’s profile below the account info. However this makes the page a little cluncky.

    Another thought: if I have no separate page defined explicitly for form_id=6, clicking on a card in the member directory opens a page which displays the user’s profile, but there is no breadcrumb back to the directory page (unless I manually hack in a link on form_id=6).

    Just wondering how others are handling this sort of stuff?

    Thread Starter wtnh

    (@wtnh)

    More fiddling:
    I think I have settled on creating a separate page called “My Account” with its own menu tab on the website. It has the [ultimatemember_account] shortcode. At the top of the page I added a link called “Click here to view or edit your profile” which points to /wordpress/user like so:

    <p style=”text-align: center;”><span style=”text-decoration: underline;”>Click here to view or edit your profile.</span></p?
    [ultimatemember_account]

    This works because the account page is specific to the logged in user and including a link to the user page opens that user’s profile (with the edit gear displayed) and is a little more obvious to new users.

    Comments?

    Thread Starter wtnh

    (@wtnh)

    Found another way to manage this is the old (now closed) support forum:
    <a href=”https://ultimatemember.com/forums/topic/profile-drop-down-menu/page/2

    So if you create a new WP menu tab with a custom URL like so:
    https://yourdomain.com/user/?profiletab=main&um_action=edit
    that will take the logged in user to his or her profile page opened in edit mode. Nice!

    Alternatively, if you want to just take the user to his or profile in view mode, use this for a custom menu URL:
    https://yourdomain.com/user/?profiletab=main&um_action=view

    Wish this stuff were documented. This is a great plug in but could be even better with complete documentation.

    Plugin Author Ultimate Member

    (@ultimatemember)

    Hi,

    Yes your last reply is correct for a URL to edit mode. For view mode you just need: https://yourdomain.com/user/ and it will automatically redirect the logged in user to their own profile.

    We just hired someone to work on documentation only so more docs will be getting written in the coming months.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Separate page for my profile?’ is closed to new replies.