Dolphin FB Connect Not Loging Out

I have activated and setup Dolphin Facebook connect - the only problem is that, if anyone click my FB connect, he will be logged in - but to the first account that was connected when I setup the FB connect.

How do I resolve this? Help please.

Quote · 20 Mar 2011

 

I have activated and setup Dolphin Facebook connect - the only problem is that, if anyone click my FB connect, he will be logged in - but to the first account that was connected when I setup the FB connect.

How do I resolve this? Help please.

Did you apply this path? http://www.boonex.com/trac/dolphin/changeset/15013

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 20 Mar 2011

I don't think so. But please can you post here exactly what am suppose to change. I really did not deduce it. Thanks.

Quote · 20 Mar 2011

 

I don't think so. But please can you post here exactly what am suppose to change. I really did not deduce it. Thanks.

 

I didn't download the new file but compared the original and the new file and made only 2 simple changes in original /modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php file. Maybe it will help you?

1. change the line:
$aFacebookProfileInfo = $this -> oFacebook -> api('/me?fields=picture&type=large');
to:
$aFacebookProfileInfo = $this -> oFacebook -> api('/me');

2. Under the code:


//-- profile nickname already used by other person --//
if( getID($aFacebookProfileInfo['nick_name']) ) {
$sAlternativeNickName = $this
-> getAlternativeName($aFacebookProfileInfo['nick_name']);
}
//--

and directly above "//create new profile" add the following code:


//try to get profile's image
if( NULL != $aFacebookProfileImage = $this
-> oFacebook -> api('/me?fields=picture&type=large') ) {

$aFacebookProfileInfo['picture'] = isset($aFacebookProfileImage['picture'])
? $aFacebookProfileImage['picture']
: '';
}

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 21 Mar 2011

Thanks SashaE. Fixed it. Keep up the good work you are doing.

Quote · 22 Mar 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.