AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

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

3 Posts
2 Users
0 Reactions
4,236 Views
Posts: 2
 wpm
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@wpm)
New Member
Joined: 7 years ago
[#7047]

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: 5779
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

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) 


Share: