Forums

[resolved] [Plugin: WP-FacebookConnect] Name & avatar of logged user not diplaying - solution (1 post)

  1. anojszewski
    Member
    Posted 3 weeks ago #

    I had a problem with my name and av when I was logged in throught FC - the were not displaying (just "Welcome, Logout of Facebook" and default av displayed).

    It is caused by very high IDs introduced by FB (my is 100000326900458) which were truncated to much lower decimal number by sprintf command.

    My solution: in fbconnect.php line 470 starts the function fbc_render_login_state()

    in function body, after sprintf(' change:
    uid="%d"
    to:
    uid="%s"
    it appears twice.

    That's all. Remember to backup this file first.

    http://wordpress.org/extend/plugins/wp-facebookconnect/

Reply

You must log in to post.

About this Topic