Forum Replies Created
-
if i put $user_id that will work? For me works, this shows from a user that im viewing the profile 🙂
in reply to: Get URL Followers / Followingyes!! i make it! 😛 but i think that is a bug, because any people that uses userpro without english will not see the images until rename the file 😛
but for me is nice! 😛in reply to: Custom imagem for profileAhhh now thats work!
But i found a bug… the url is …/wp-content/plugins/userpro/img/default_avatar_masculino.jpg because masculino is male in portuguese. Maybe some translation is affect the URL.in reply to: Custom imagem for profileI dont know but not works with me! The display image is allways http://0.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=80 and not the male or female image. So i change the default_avatar_male and default_avatar_female and nothing :/
in reply to: Custom imagem for profileCan anyone help me? 😛
I need to display the URL to make a link. like: site.com/following/usernameviewed
When i use this echo $userpro_social->following_count_plain( $user_id ); i return the number, but not have the link!in reply to: Get URL Followers / FollowingThanks!!! 🙂
in reply to: Display social bar of logged userSee the image! The number is 2, but the message is that i’m not following anyone
in reply to: Following numbers problemUse the shortcode to display [userpro template=postsbyuser]
More info: http://userproplugin.com/userpro/shortcode-reference/in reply to: Activity StreamIt works! Thanks!!! 😀
in reply to: Detect if is my profilei test, and i think that is my css bug!
But how can i get the following url ? and followers url?Hi! I’m making my custom template for view and edit.
I put this:
<div class=”user-seguir”>
<div class=”userpro-sc-bar”>
<div class=”userpro-sc-left”>
a class=”userpro-count-link” href=”#”>
<span><?php echo $userpro_social->following_count_plain( $user_id ); ?></span>
seguindoa class=”userpro-count-link” href=”#”>
<span><?php echo $userpro_social->followers_count_plain( $user_id ); ?></span>
seguidores</div>
</div>
</div>I need to know what is the link for followers and following in that case!
But the codes: <?php echo $userpro_social->followers_count_plain( get_current_user_id() ); ?> are not good for the template. I think that is not get_current_user_id(), is $user_id. I’m wright?And my follow button is not working…
<?php echo $userpro_social->follow_text(‘following_who_user_id’, $user_id ); ?> or <?php echo $userpro_social->follow_text(‘following_who_user_id’, get_current_user_id() ); ?>can anyone help me?
Its not possible to make a template and apply in a page Profile? I really need to copy the view.php template to use? :/
in reply to: Custom Profile TemplateIf i visit a profile, i need to know how to return that id of user. To make my template works.
I make a template and use in Profile page (that created in pages in wordpress).in reply to: Custom Profile TemplateBut this is the image that is displayed: http://0.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=80
in reply to: Custom imagem for profile