• Resolved whatafilm06

    (@whatafilm06)


    Hi everyone !

    I was wondering if I could define the profile page as default account page. For an user not registered, nothing happens on click on the profile page (user). But on click on the account page, it redirects towards registration and that is exactly what I want for the profile page but it does nothing if not registered / logged in!

    Sorry for my English, I am French, I hope you can understand my demand!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support yuriinalivaiko

    (@yuriinalivaiko)

    Hello @whatafilm06

    You can not define the profile page as default account page. The Account and User (profile) pages are two separate pages with different rewrite rules and validation.

    I guess you just need to redirect logged out visitors from the User page. Am I right? Use the content restriction feature on the User page. Set these options:

    • Restrict access to this post?? – Turn it on.
    • Who can access this post?? – select Logged in users.
    • What happens when users without access try to view the post?? – select Redirect user.
    • Where should users be redirected to? – select Login page. You also can set custom URL instead of the Login page.

    See this example: image 1.

    Related articles: Individual Post and Term content restriction settings, How to hide a page for logged out users.

    Regards

    Thread Starter whatafilm06

    (@whatafilm06)

    Thank you a lot, it was totally the point of my question !
    Last question for another use : is it possible to completely hide the profile page and have only the account page instead? That means I would have to hide the “view profile” link under the picture on the account page. Thank you a lot

    Plugin Support yuriinalivaiko

    (@yuriinalivaiko)

    Just remove links to the User (profile) page if you don’t want to use it.

    You can override and change the account template in your theme to remove the “view profile” link.

    1. Follow instructions in this guide to copy the account.php file to your theme: Template structure & Overriding templates via a theme
      Note: you need FTP connection to the site to copy and edit files.
    2. Open the account.php file in the theme and remove profile links (html tag <a>) in lines 52, 56, 58, 73, 75, 81, 83, 89, 91, 97, 99, remove code in lines 59-63 and 100-104.
      See this example: image 2.

    Regards

    Thread Starter whatafilm06

    (@whatafilm06)

    This is perfect, thank you very much !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ultimate member default account page’ is closed to new replies.