MyBB Community Forums
[For 1.8] MyFacebook Connect 3.6 - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: [For 1.8] MyFacebook Connect 3.6 (/thread-137797.html)



RE: MyFacebook Connect 1.0.3 - Syryus - 2013-06-08

Uhm, no, similar error. The application thingie was ages ago xD

Board url.


RE: MyFacebook Connect 1.0.3 - Shade - 2013-06-08

Your error is:

Protocol https not supported or disabled in libcurl

Enable HTTPS support in your cURL configuration and retry.


RE: MyFacebook Connect 1.0.3 - Syryus - 2013-06-08

Will do, thanks for taking a look!


RE: MyFacebook Connect 1.0.3 - Shade - 2013-06-08

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).


RE: MyFacebook Connect 1.0.3 - Johny90 - 2013-06-09

That's great plugin! Thank you man


RE: MyFacebook Connect 1.0.3 - COOL_KILLER - 2013-06-13

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


RE: MyFacebook Connect 1.0.3 - Shade - 2013-06-13

Sure: the plugin adds a settings group into the settings page, located at
http://yourboardurl.com/admin/index.php?module=config-settings
.


RE: MyFacebook Connect 1.0.3 - COOL_KILLER - 2013-06-13

(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,name,email,cover,birthday,website,gender,bio,location,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,name,email,cover,birthday,website,gender,bio,location,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,name,email,cover,birthday,website,gender,bio,location,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,name,email,cover,birthday,website,gender,bio,location,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]=> )


RE: MyFacebook Connect 1.0.3 - JordanMussi - 2013-06-15

I'm not sure if this has been suggested before. Users should have the option to unlink their account with their Facebook account.


RE: MyFacebook Connect 1.0.3 - Shade - 2013-06-16

(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.