The title of my Facebook Connect Block is always "Welcome admin." (see attach), no matter which user I log on with.

When I go to the profile page or look at the left-hand side the user name corresponds with the logged-in user.

Comments

bobdalob’s picture

Hi, I noticed this too in v5. Not sure how to fix the bug however clearing your database cache should correct/update user display

patrizz’s picture

Status: Active » Closed (fixed)

Actually: the update did not solve the problem... So I'm resetting the status to active.

patrizz’s picture

Status: Closed (fixed) » Active
Anonymous’s picture

I'm seeing the same issue as well on my site. Subscribe.

jaydub’s picture

Status: Active » Needs review
StatusFileSize
new688 bytes

The cache_set/get functions would seem to need to add the user uid to the cache key to make sure that the proper cache entry is being set/get.

Try the attached patch and let me know if that does the trick. Works for me in (limited) testing.

budda’s picture

Version: 6.x-1.0-beta6 »

Should the $fbuid not be unique and related to the user logged in anyway?

Maybe fbconnect_get_fbuid() is not returning a user id, which is possible if facebook_client() call fails for any reason.

LaNets’s picture

Assigned: Unassigned » LaNets
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.