MyBB Community Forums

Full Version: MyFacebook Connect 3.6
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Uhm, no, similar error. The application thingie was ages ago xD

Board url.
Your error is:

Protocol https not supported or disabled in libcurl

Enable HTTPS support in your cURL configuration and retry.
Will do, thanks for taking a look!
Not a problem at all. I'm here to help Smile

(2013-06-07, 09:07 PM)Patrick87 Wrote: [ -> ]I cant figure out where to enter the App ID or App Secret. Can't seem to find the facebook login and registration settings at all. help please.

Settings are normally added to the settings list. Remember that if you have a different language from English you must edit the /inc/languages/english folder in the package with your specific language, else it won't add the settings correctly (it will add them but without any text).
That's great plugin! Thank you man
Sir this plugin not work on my forum :'( i upload it then activate and intall. But after this i am not able to find where i put app id and secret id. Sad help me please
Sure: the plugin adds a settings group into the settings page, located at
http://yourboardurl.com/admin/index.php?module=config-settings
.
(2013-06-13, 11:17 AM)Shade Wrote: [ -> ]Sure: the plugin adds a settings group into the settings page, located at
http://yourboardurl.com/admin/index.php?module=config-settings
.

yeah sir i found that page but after add appid/secret id. When i click on login with facebook i got blank page. Sad i 10times intall-reinstall my forum. I am so sad.

Please solve it i got this error-
FacebookApiException Object ( [result:protected] => Array ( [error_code] => 7 [error] => Array ( [message] => couldn't connect to host [type] => CurlException ) ) [message:protected] => couldn't connect to host [string:Exception:private] => [code:protected] => 7 [file:protected] => /home/u549716213/public_html/myfbconnect/src/base_facebook.php [line:protected] => 977 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/u549716213/public_html/myfbconnect/src/base_facebook.php [line]=> 909 [function] => makeRequest [class] => BaseFacebook [type] => -> [args] => Array ( [0] => https://graph.facebook.com/me?fields=id,...n,verified [1] => Array ( [method] => GET [access_token] => 165518026959406|ffe15769377873a36e2954dd93cdc333 ) ) )[1] => Array ( [file] => /home/u549716213/public_html/myfbconnect/src/base_facebook.php [line]=> 876 [function] => _oauthRequest [class] => BaseFacebook [type] => -> [args] => Array ( [0] => https://graph.facebook.com/me?fields=id,...n,verified [1] => Array ( [method] => GET ) ) ) [2] => Array ( [function] => _graph [class] =>BaseFacebook [type] => -> [args] => Array ( [0] => /me?fields=id,name,email,cover,birthday,website,gender,bio,location,verified ) ) [3] => Array ( [file] => /home/u549716213/public_html/myfbconnect/src/base_facebook.php [line]=> 654 [function] => call_user_func_array [args] =>Array ( [0] => Array ( [0] => Facebook Object ( [sharedSessionID:protected]=> [appId:protected] => 165518026959406 [appSecret:protected] => ffe15769377873a36e2954dd93cdc333 [user:protected] => [signedRequest:protected] => [state:protected] => [accessToken:protected] => 165518026959406|ffe15769377873a36e2954dd93cdc333 [fileUploadSupport:protected]=> [trustForwarded:protected]=> ) [1] => _graph ) [1] => Array ( [0] => /me?fields=id,name,email,cover,birthday,website,gender,bio,location,verified ) ) ) [4] => Array ( [file] => /home/u549716213/public_html/myfbconnect.php [line] => 73 [function] => api [class] => BaseFacebook [type] => -> [args] => Array ( [0] => /me?fields=id,name,email,cover,birthday,website,gender,bio,location,verified ) ) ) [previous:Exception:private]=> )

Please solve it i got this error-
FacebookApiException Object ( [result:protected] => Array ( [error_code] => 7 [error] => Array ( [message] => couldn't connect to host [type] => CurlException ) ) [message:protected] => couldn't connect to host [string:Exception:private] => [code:protected] => 7 [file:protected] => /home/u549716213/public_html/myfbconnect/src/base_facebook.php [line:protected] => 977 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/u549716213/public_html/myfbconnect/src/base_facebook.php [line]=> 909 [function] => makeRequest [class] => BaseFacebook [type] => -> [args] => Array ( [0] => https://graph.facebook.com/me?fields=id,...n,verified [1] => Array ( [method] => GET [access_token] => 165518026959406|ffe15769377873a36e2954dd93cdc333 ) ) )[1] => Array ( [file] => /home/u549716213/public_html/myfbconnect/src/base_facebook.php [line]=> 876 [function] => _oauthRequest [class] => BaseFacebook [type] => -> [args] => Array ( [0] => https://graph.facebook.com/me?fields=id,...n,verified [1] => Array ( [method] => GET ) ) ) [2] => Array ( [function] => _graph [class] =>BaseFacebook [type] => -> [args] => Array ( [0] => /me?fields=id,name,email,cover,birthday,website,gender,bio,location,verified ) ) [3] => Array ( [file] => /home/u549716213/public_html/myfbconnect/src/base_facebook.php [line]=> 654 [function] => call_user_func_array [args] =>Array ( [0] => Array ( [0] => Facebook Object ( [sharedSessionID:protected]=> [appId:protected] => 165518026959406 [appSecret:protected] => ffe15769377873a36e2954dd93cdc333 [user:protected] => [signedRequest:protected] => [state:protected] => [accessToken:protected] => 165518026959406|ffe15769377873a36e2954dd93cdc333 [fileUploadSupport:protected]=> [trustForwarded:protected]=> ) [1] => _graph ) [1] => Array ( [0] => /me?fields=id,name,email,cover,birthday,website,gender,bio,location,verified ) ) ) [4] => Array ( [file] => /home/u549716213/public_html/myfbconnect.php [line] => 73 [function] => api [class] => BaseFacebook [type] => -> [args] => Array ( [0] => /me?fields=id,name,email,cover,birthday,website,gender,bio,location,verified ) ) ) [previous:Exception:private]=> )
I'm not sure if this has been suggested before. Users should have the option to unlink their account with their Facebook account.
(2013-06-13, 11:29 AM)COOL_KILLER Wrote: [ -> ]yeah sir i found that page but after add appid/secret id. When i click on login with facebook i got blank page. Sad i 10times intall-reinstall my forum. I am so sad.

You have a misconfigured/inactive cURL module. Contact your host to fully enable cURL extension for PHP with HTTPS support.

@JordanMussi: yeah I'm working on it.

/**
 * Unlink any Facebook account from the corresponding MyBB account.
 * 
 * @param int The UID of the user you want to unlink.
 * @return boolean True if successful, false if unsuccessful.
 **/

function myfbconnect_unlink($uid)
{

	global $db;

	$uid = (int) $uid;

	$reset = array(
		"myfb_uid" => 0
	);

	$db->update_query("users", $reset, "uid = {$uid}");

}

The function is already present in 1.0.3 Toungue

@MJ456: confirmed too.