Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

wpForo 1.x.x [Closed] Adding A WPForo Login/Register & Loggedin status to Menu (Navigation)

3 Posts
2 Users
0 Reactions
3,938 Views
Posts: 2
 wpm
Topic starter
(@wpm)
New Member
Joined: 7 years ago

Hi Everyone,

I've recently installed wpforo and integrated it correctly on my Divi Built website, at the moment wpforo is handling the Login & Register Pages & Process. 

I have tested it and logged in users can also comment on blog posts correctly which is great! 

I now wish to add a link in the main navigation bar which will display Login / Register  (when user is logged in, they will see their Account Display Name (forum name). 

Based on permissions e.g. guest or logged in the navigation links will change (e.g. login/register will disappear using Nav Menu Roles plugin). 

Would you know the best way to display the Account Name in the Menu when logged in? (as a nav link). 

Dev website link

If anyone can show me a good work around that would be great - examples of this implemented even better!

2 Replies
Sofy
Posts: 5486
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

Hi wpm,

you should edit your primary menu or other menus and add wpForo menu items. Use the "Custom Links" menu type and these shortcode-URLs in URL field:

  • Register: /%wpforo-register%/
  • Login: /%wpforo-login%/
1 Reply
 wpm
(@wpm)
Joined: 7 years ago

New Member
Posts: 2

Hi Thanks for that I've implemented all of the shortcodes from  https://wpforo.com/community/faq/wpforo-shortcodes/  

I'd ideally like to pull the WP User Name (Display Name) to display instead of Account (which is currently displayed when loggedin)