Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 3 years ago

Last modified 3 years ago

#8644 closed enhancement (worksforme)

Add login/logout link.

Reported by: dcavins Owned by:
Priority: normal Milestone:
Component: Navigation Version: 10.1.0
Severity: normal Keywords:
Cc: dcavins

Description

Since BP is membership based, we need to make it easier for site admins to add a context-sensitive login/logout link to standard menus. There are plugins that do this, but we should just do it, too. It's too nice of an improvement and too easy to ignore, in my opinion.

Change History (5)

#1 @imath
4 years ago

  • Milestone Awaiting ReviewUp Next

I thought we had this into the loggedin / logout dynamic menu we introduced in 1.9 if I remember well! If not, we really need to include this I agree.

#2 @imath
4 years ago

  • Milestone Up Next12.0.0

#3 @imath
3 years ago

@dcavins If we may need to improve the way to generate these links from the Site Editor navigation menu, I confirm using the WP Legacy menu Administration screen for regular themes, you can add log-in/log-out menu already:

You just need to make sure to activate the "BuddyPress Member" screen element:

https://cldup.com/HrdOl9JNqN.png

Once done you get new choices from this "BuddyPress Member" panel and you can select from the Logged-in tab the log out link:

https://cldup.com/lDLxlMDNbH.png

And from the Logged-out tab the log in link:

https://cldup.com/vmtr5G-LoA.png

This way when not logged in users reach the website, they get this menu item:

https://cldup.com/TL2fzzRAAU.png

And once they logged-in, they get this menu item:

https://cldup.com/L6l24l4jqs.png

#4 @dcavins
3 years ago

  • Milestone 12.0.0
  • Resolutionworksforme
  • Status newclosed

Great! Thanks for the explanation!

#5 @imath
3 years ago

You're welcome 🤗

Note: See TracTickets for help on using tickets.