• Resolved taadike

    (@taadike)


    Why does the button still say disconnect even though the user has already disconnected? The button should then turn into Connect instead. Either that or just be invisible.
    So is there a function that determines if user is connected or not? I would like to hide the Disconnect button for already disconnected people.

    The problem is that once a user is connected to FB, he cannot change his avatar. It would be best if he can remain connected to FB but still be able to change the avatar.
    I am using an avatar uploader plugin but it does not work as long as user is connected to FB. So is it possible to display the FB avatar ONLY IF the user has no other avatar / has just a default mymstery man?

    https://www.ads-software.com/plugins/wp-facebook-login/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Damian

    (@timersys)

    Hi taadike , it all depends really on how the avatar plugin you use works. For example on buddypress if a user uploads an avatar overrides the fb one.

    The button you saying that is not changing in the one on user profile? It should change to connect if user disconnected, so maybe it’s a bug. I have to check

    Thread Starter taadike

    (@taadike)

    Hello,
    Yeah, this is the button I’m referring to:
    <?php do_action(‘facebook_disconnect_button’);?>
    Doesn’t matter if I’m already disconnected or still connected it always says Disconnect.
    But no worries, I was able to reverse engineer it a little bit so it’s working for me now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disconnect’ is closed to new replies.