Determine if page is the main members page, not 'profile'
I need the main members page to be the profile page, e.g. I need /members/exampleuser/ to be the actual profile page, not /members/exampleuser/profile.
To do this, I thought I could just use bp_is_user() to determine that it is the main user page and then insert the profile template. However this doesn’t seem to work. This just seems to check if it is ANY user page, including edit etc.
I also, don’t want it to let me know if it is the logged-in users home member page. It needs to be if it is any member’s ‘home’ user page.
- The topic ‘Determine if page is the main members page, not 'profile'’ is closed to new replies.