Change login button for username when userlogin – UserPro Forums https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/feed/ Sat, 27 Apr 2024 20:34:31 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-32554 <![CDATA[Change login button for username when userlogin]]> https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-32554 Wed, 16 Apr 2014 11:47:35 +0000 Andr3w Hi,
My theme has a top navigation bar before main menu with some information. I added manually in the header-navigation.php the register link and a custom login button.
login/out bar

I need that when users login, the register link and register button changes for the user name and logout link or a drop down menu with view profile, edit profile, messages, logout,etc…

The question is that i need to modify the .php and add the custom code for do it. can you help me? ^^

Thanks a lot,
regards.

]]>
https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-32827 <![CDATA[Reply To: Change login button for username when userlogin]]> https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-32827 Fri, 18 Apr 2014 19:18:35 +0000 Andr3w Anybody?

]]>
https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-33211 <![CDATA[Reply To: Change login button for username when userlogin]]> https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-33211 Tue, 22 Apr 2014 18:12:45 +0000 Ahmet Usta I need same functionality. Anyone to help? Thanks

]]>
https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-33222 <![CDATA[Reply To: Change login button for username when userlogin]]> https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-33222 Tue, 22 Apr 2014 21:40:48 +0000 Nexnivis In my case I use the [usepro_loggedin] and [userpro_loggedout] but your navigation need to accept shortcodes!

]]>
https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-33358 <![CDATA[Reply To: Change login button for username when userlogin]]> https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-33358 Thu, 24 Apr 2014 13:41:24 +0000 admin Navigation login/logout links need shortcodes or custom coding. e.g. [userpro_loggedin] … to show content for logged in users. A conditional menu plugin can help you do this 🙂

]]>
https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-33444 <![CDATA[Reply To: Change login button for username when userlogin]]> https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-33444 Fri, 25 Apr 2014 08:51:32 +0000 Andr3w But i need to do it adding custom code to my header-navigation.php
Can you help me to do that?

]]>
https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-36310 <![CDATA[Reply To: Change login button for username when userlogin]]> https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-36310 Tue, 06 May 2014 09:58:15 +0000 Andr3w Please, i need help desperately to custom the php code to do this. Can someone help me please?
Any idea of free conditional menu plugin? To trying more options…

Thanks.

]]>
https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-37307 <![CDATA[Reply To: Change login button for username when userlogin]]> https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-37307 Thu, 15 May 2014 02:53:02 +0000 test I need something like.
Any idea?

]]>
https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-37309 <![CDATA[Reply To: Change login button for username when userlogin]]> https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-37309 Thu, 15 May 2014 03:06:11 +0000 Andr3w YEAH!
Finally i did it ^^

This is my php code:
custom php code

Best regards!

]]>
https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-37580 <![CDATA[Reply To: Change login button for username when userlogin]]> https://forum.userproplugin.com/forums/topic/change-login-button-for-username-when-userlogin/#post-37580 Fri, 16 May 2014 14:35:39 +0000 vrfx But this code won’t make use of UserPro in any way will it?

]]>