Show badge if user is logged in – UserPro Forums https://forum.userproplugin.com/forums/topic/show-badge-if-user-is-logged-in/feed/ Sun, 05 May 2024 08:56:10 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/show-badge-if-user-is-logged-in/#post-32934 <![CDATA[Show badge if user is logged in]]> https://forum.userproplugin.com/forums/topic/show-badge-if-user-is-logged-in/#post-32934 Sun, 20 Apr 2014 04:44:01 +0000 vrfx I have a login template in side bar and I was wondering if it would be possible to show badge instead of login template if user is already logged in or, after logging in.
I think this could be achieved by showing different sidebars if for members and for guests too? Any idea about a plugin or some wp code that could do that outside of UserPro (if it’s not possible somehow or maybe planned for the future in/using UserPro).

]]>
https://forum.userproplugin.com/forums/topic/show-badge-if-user-is-logged-in/#post-32935 <![CDATA[Reply To: Show badge if user is logged in]]> https://forum.userproplugin.com/forums/topic/show-badge-if-user-is-logged-in/#post-32935 Sun, 20 Apr 2014 04:47:20 +0000 vrfx Hmmm sorry, I already found options for doing exactly this with the help of other plugins. Now the question only remains if it’s possible to achieve the same with only UserPro in the future.

]]>
https://forum.userproplugin.com/forums/topic/show-badge-if-user-is-logged-in/#post-32985 <![CDATA[Reply To: Show badge if user is logged in]]> https://forum.userproplugin.com/forums/topic/show-badge-if-user-is-logged-in/#post-32985 Sun, 20 Apr 2014 10:34:08 +0000 admin vrfx, with php code?

]]>
https://forum.userproplugin.com/forums/topic/show-badge-if-user-is-logged-in/#post-32996 <![CDATA[Reply To: Show badge if user is logged in]]> https://forum.userproplugin.com/forums/topic/show-badge-if-user-is-logged-in/#post-32996 Sun, 20 Apr 2014 13:32:46 +0000 vrfx I’m achieving this using Dynamic Widgets from http://wordpress.org/plugins/dynamic-widgets/. Have a widget with [userpro template=login] shown to role=guests and another one with [userpro template=card] to members.
I was just wondering if maybe in the future it would be possible from UserPro alone, without any other plugins.

P.S. – link code doesn’t work on this forum? I tried using a href and didn’t show anything. Anyway edited and linked manually.

]]>