Profile Card Logged in user – UserPro Forums https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/feed/ Mon, 29 Apr 2024 12:22:59 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-22864 <![CDATA[Profile Card Logged in user]]> https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-22864 Mon, 24 Feb 2014 17:12:02 +0000 alexwadja How to show the [userpro template=card] of a logged in user? You can show the user=author or a specific user, is their a way to show the logged in user?

]]>
https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-22865 <![CDATA[Reply To: Profile Card Logged in user]]> https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-22865 Mon, 24 Feb 2014 17:27:43 +0000 alexwadja Sorry …edit. What I mean is how to:

How to show the [userpro template=card] of a user profile page?

If I have the shortcode [userpro template=card] in the sidebar and I visit the profile page of another user:

http://www.example.com/profile/john it will show in the sidebar my profile card. I would like to have the sidebar show the profile card of the profile user I am visiting in the case have the profile card show John’s card.

]]>
https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-22885 <![CDATA[Reply To: Profile Card Logged in user]]> https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-22885 Mon, 24 Feb 2014 20:06:28 +0000 admin Do you want to use the profile card in a profile page?

]]>
https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-22919 <![CDATA[Reply To: Profile Card Logged in user]]> https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-22919 Mon, 24 Feb 2014 21:37:36 +0000 alexwadja HI…yes this is what I am trying to do. In essence to show the card or template (in a sidebar) of the user profile URL that I am viewing/visiting.

I actually kind of solved one part of this issue with the [template=view user=author] added to the sidebar of my site so it now shows the template/card of the author being viewed but I now have an issue in that if the author has not made a POST to the site, the card or template is empty. One a post is made then the card / template displays info.

]]>
https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-23049 <![CDATA[Reply To: Profile Card Logged in user]]> https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-23049 Tue, 25 Feb 2014 03:37:46 +0000 admin This is how the card works currently:

$user = custom user

or $user = author

else show logged in user CARD. 🙂

]]>
https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-23050 <![CDATA[Reply To: Profile Card Logged in user]]> https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-23050 Tue, 25 Feb 2014 03:38:22 +0000 admin I mean to show card for author, on his posts [userpro template=card user=author] for a logged in user, you can juse use [userpro template=card] without user parameter. Hope that helps!

]]>
https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-23098 <![CDATA[Reply To: Profile Card Logged in user]]> https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-23098 Tue, 25 Feb 2014 06:32:43 +0000 alexwadja Hi,

Thanks for the help. Yes for the logged in user it works. I guess now what I need to solve is when that logged in user sees another users profile.

For this the user=author works well, the only issue or problem is that until that author has created a post his card or template view remains empty like this image: http://i.imgur.com/KlKrB8b.png.

Once that author makes a post then his display name, country badge etc… are shown. Is their a workaround for this so that the author=user displays the authors information (name, badge etc..) before the first post takes place?

]]>
https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-23105 <![CDATA[Reply To: Profile Card Logged in user]]> https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-23105 Tue, 25 Feb 2014 06:36:42 +0000 admin Which code are you using ? which shows no info if user has no posts?

]]>
https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-23108 <![CDATA[Reply To: Profile Card Logged in user]]> https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-23108 Tue, 25 Feb 2014 06:38:59 +0000 alexwadja On the template=view user=author it shows just the default photo (when a post is created then is shows display info as well).

For the template-card user=author it is completely empty (shows nothing at all until the first post is published). Then the card shows user info.

]]>
https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-23110 <![CDATA[Reply To: Profile Card Logged in user]]> https://forum.userproplugin.com/forums/topic/profile-card-logged-in-user/#post-23110 Tue, 25 Feb 2014 06:46:48 +0000 admin Which code are you using ? which shows no info if user has no posts? The user=author should work only where an AUTHOR is identified. I think there’s a bit of misunderstanding in the implementation. That’s why I need to know which code are you trying and where?

]]>