pmpro-member-directory icon indicating copy to clipboard operation
pmpro-member-directory copied to clipboard

Support 'Profile' pages but no 'Directory'

Open kimcoleman opened this issue 1 year ago • 0 comments

Some sites may want to offer members a single profile page (think "Linktree-style" pages) but they do not want a complete directory of all members.

For these sites, they should just assign a page for the Profile but nothing for Directory. This works today as-is.

The issue is that the user field "Hide from [directory page name]?" label is not correct. In these cases, we should consider what "title" to pull into that string that makes sense.

Ideas could include:

  • If no Directory page, fall back to the title of the Profile page.
  • If no Directory page, don't show that field at all.
  • If no Directory page, fall back to just "Hide my public profile"

Functionally, the field (even with the weird naming) is doing its job. If checked, the user's profile page will redirect to the site homepage.

kimcoleman avatar Mar 12 '24 14:03 kimcoleman