Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
Hi!!
I’m making my view.php template, and when i put this:
echo $userpro_social->follow_text(‘following_who_user_id’, $user_id );
display the follow button but not works.
And if i put this, display the follow button but dont work too!
echo $userpro_social->follow_text(‘following_who_user_id’, get_current_user_id() );
Can you test for me?
Did you try to set $userpro_social as social? And what are you using as following who user id ?
I have this global $userpro_social; i need to set something? like $userpro_social = social; ?
i copy this code from another post in forum. the echo $userpro_social->follow_text(‘following_who_user_id’, get_current_user_id() ); This is not correct?
i’m editing the view.php template.
What i need?
No that’s not correct. following who user id just example, you need to replace it dynamically.. u want a button (Who is following who??? 🙂 two user ids need to be given 🙂
I put this! echo $userpro_social->follow_text($user_id, get_current_user_id() );
and now is ok 😀 i think so hehehe!
thanks!
You must be logged in to reply to this topic.