Thank you so much for this amazing application!
I just am concerned if some non-savvy users who already created accounts start trying to connect and then create secondary accounts.
Hopefully it'll be all under control.
Sad that now a days most people are not savvy enough to even register, aah the facebook generation lol.
The only thing I wish to report is that if someone says CANCEL on the facebook login they get this error and the page looks mangled up afterwards:
FacebookApiException Object ( [result:protected] => Array ( [error] => Array ( [message] => An active access token must be used to query information about the current user. [type] => OAuthException [code] => 2500 ) ) [message:protected] => An active access token must be used to query information about the current user. [string:Exception:private] => [code:protected] => 0 [file:protected] => /home/content/78/10401478/html/Forum/myfbconnect/src/base_facebook.php [line:protected] => 1254 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/content/78/10401478/html/Forum/myfbconnect/src/base_facebook.php [line] => 880 [function] => throwAPIException [class] => BaseFacebook [type] => -> [args] => Array ( [0] => Array ( [error] => Array ( [message] => An active access token must be used to query information about the current user. [type] => OAuthException [code] => 2500 ) ) ) ) [1] => Array ( [function] => _graph [class] => BaseFacebook [type] => -> [args] => Array ( [0] => /me?fields=id,name,email,cover,birthday,website,gender,bio,location,verified ) ) [2] => Array ( [file] => /home/content/78/10401478/html/Forum/myfbconnect/src/base_facebook.php [line] => 654 [function] => call_user_func_array [args] => Array ( [0] => Array ( [0] => Facebook Object ( [sharedSessionID:protected] => [appId:protected] => 171720353002546 [appSecret:protected] => c906e15f1331885de9057bb8c0be1892 [user:protected] => [signedRequest:protected] => [state:protected] => f9d8db6e7736b880953094dde236ae37 [accessToken:protected] => [fileUploadSupport:protected] => [trustForwarded:protected] => ) [1] => _graph ) [1] => Array ( [0] => /me?fields=id,name,email,cover,birthday,website,gender,bio,location,verified ) ) ) [3] => Array ( [file] => /home/content/78/10401478/html/Forum/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] => )
Also I wish to report that only the github has the 1.1 version, the other 'mod' whatever has the 1.0.3 version.
(2013-04-18, 01:06 AM)brad-t Wrote: [ -> ]A grainy pixely image or an untrustworthy looking link aren't really ideal solutions for me, so ...
I made this CSS button which you can use as you see fit. It requires Font-Awesome to generate the FB icon.
First, append the class fb-login to the MyFacebook Connect link.
<a href="{$mybb->settings['bburl']}/myfbconnect.php?action=fblogin" class="fb-login"><i class="icon-facebook"></i><span>{$lang->myfbconnect_login}</span></a>
Then, add the following to your global.css:
a.fb-login {
color: #fff !important;
padding: 5px 0;
border: 1px solid;
border-color: #29447E #29447E #1A356E;
background-color: #5B74A8;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 #8a9cc2;
-webkit-font-smoothing: antialiased;
font: bold 11px/normal 'lucida grande', tahoma, verdana, arial, sans-serif;
display: inline-block;
height: 25px;
box-sizing: border-box;
}
a.fb-login:active {
border-color: #29447E;
background: #4F6AA3;
filter: none;
box-shadow: none;
}
a.fb-login span {
display: inline-block;
position: relative;
top: -6px;
padding: 0 8px;
}
a.fb-login i {
padding: 3px 3px 0px 15px;
display: inline;
margin-left: -5px;
border-right: 1px solid #29447E;
margin-top: 0px;
font-size: 20px;
position: relative;
top: -2px;
}
Where do I place that bit? Because I see in the plugin files it does pregreplace in welcomeblock.
It doesn't add this in welcomeblack. Please advise as soon as possible so i can implement it
And where do you place the fontawesome stuff?