Coder Social home page Coder Social logo

myfacebook-connect's People

Contributors

shade- avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

myfacebook-connect's Issues

error_log

I can register and login but i found this in my error_log
[23-Jun-2014 08:50:32 America/Chicago] PHP Fatal error: Call to a member function sprintf() on a non-object in
../.. /.../inc/plugins/MyFacebookConnect/class_facebook.php on line 189

Gender not translated

I think you wanted to use the lang class here :P (Haven't read the release thread for a while now, so not sure whether it has been reported before)

Error #200 permissions not granted to be solved

Facebook updated their APIs changing publish_stream with publish_actions, causing the permissions to publish on user's behalf not to be prompted correctly and thus an error is returned instead, while still registering the user correctly but not logging him in.

Couldn't connect to host

An unknown error occurred. The output of the error is:
couldn't connect to host
Please report this error to an administrator and try again.

I don´t know why, but google login works but facebook login doesn´t,

What is the problem? :/

Version of PHP 5.4 version of plugin: 2.0.2 mybb version: 1.6.14

Host www.dlix.us

Like fb page

Is possible to liek a fb page during registration?

MyBB default Options when registered via MyFacebook Connect

Hi,

I have made it such that my board's "Notify me by email when I receive a new Private Message." option is turned on by default in user registration.

However, using this plugin, new users do not inherit the default options set.

I was wondering if it were possible to modify the plugin to customize user registration more in terms of forum options, or at least provide me with a solution to this issue.

Thanks!

One Click Registration issue

Hi,
Your plugin is magnificent. But i have a very little issue with one click registration. I can't ask users what to sync although i tried with both yes and no option.
I'll be happy if you find a way to fix this.
Best wishes.

Warnings at top of my website

Several warnings started to occur on my forum from last 4-5 days. My users who signed up using facebook are never getting logged in using your mod buddy. Instead its showing huge list of warnings at the top of the webpage. Just have a look at the screen shot.
error

SSL not able to log in

Hello,
Not using ssl in my site works,
but using ssl shows error on base_facebook.php 1294
do you have any idea?
thanks

If *Post to Timeline* set to "on" and user doesn't allow, returns error #200 and doesn't log user in

If Post to Timeline set to "on" and user doesn't allow the permission, forum returns error #200 and doesn't log user in.

This continues in a "loop" whenever the user clicks the Facebook register button on the forum. Eg, asking for permission again for the timeline post from the forum, if user denies, returns error again and doesn't log them on. User can never logon until allowing the post to Timeline permission.

Headers already sent

Hi
I am randomly getting:

Type: 2
File: myfbconnect/src/facebook.php (Line no. 49)
Message
session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /forum/inc/functions.php:98)

ty!

Facebook needs the CURL PHP extension.

When accessing myfbconnect.php directly on MyBB 1.8.4 I get the following error message:

An unknown error occurred. The output of the error is:
Facebook needs the CURL PHP extension.
Please report this error to an administrator and try again.

My website is www.slaveryreport.com

Third party plugins incompatibility

Default Avatar doesn't check for $user_info['uid'] before updating the database, leading to MySQL errors.

The way MyConnect plugins were developed tries to consider third party plugins but the $user_info array is void. I must replace the current $user array with $user_info and globalize it, so other plugins can use it thinking it comes from a regular registration.

member_do_register_end plugin cannot access $user_info

In class_facebook.php, line 277 you have

$user_info = $userhandler->insert_user();

$plugins->run_hooks("member_do_register_end");

But inside plugins run from that hook, they cannot access the info in $user_info. For the normal registration process, the $user_info variable is populated with the new user info for the plugins.

Facebook and Twitter Connect Not working after database n files restore

hi, i screw up myBB forum of mine, so i need to fully restore, either files and database.

and, after restoration Facebook and Twitter Connect stop working.

the error:

FacebookApiException Object ( [result:protected] => Array ( [error_code] => 6 [error] => Array ( [message] => name lookup timed out [type] => CurlException ) ) [message:protected] => name lookup timed out [string:Exception:private] => [code:protected] => 6 [file:protected] => /home/k5601503/public_html/myfbconnect/src/base_facebook.php [line:protected] => 977 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/k5601503/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] => 557651720949408|0a38bbd6eaa5eb3e7da17df5644d7fc6 ) ) ) [1] => Array ( [file] => /home/k5601503/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/k5601503/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] => 557651720949408 [appSecret:protected] => 0a38bbd6eaa5eb3e7da17df5644d7fc6 [user:protected] => [signedRequest:protected] => [state:protected] => [accessToken:protected] => 557651720949408|0a38bbd6eaa5eb3e7da17df5644d7fc6 [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/k5601503/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] => )

Redirect Loop

First of all thanks for your plugin man. It was working awesome till yesterday. Today when i tried to connect through my FBconnect, after loading for few minutes it has shown me "The webpage has redirect loop" & Error code: ERR_TOO_MANY_REDIRECTS. Is this the problem with my website or plugin ? any help is much appreciated

Setting up

Hello were is the docs for setting up this also for the twitter and the google one ps I am getting

Given URL is not permitted by the Application configuration: One or more of the given URLs is not permitted by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

I am using url http://evo-nuts.co.uk

Plugin stopped working for no reason.

It was fine until couple of weeks ago when I noticed that it gives Error 500_Internal Server Error.

If I am not signed in on facebook already it brings the login page of facebook but when I try to login it gives the error. If I am already signed in on facebook and try to login in the forum it gives me the Error 500 directly.

I thought maybe you have any suggestions. I am using a shared server and I think maybe something changed on the server side. On the other hand I am also using facebook login (different from yours) on another website and it is still working fine even though they use the same hosting. So I have no idea what might be the problem. What do you think?

Thank you

Post on user's wall

Post on user's wall
Enable this option to post a message on the user's wall when he registers or links his account to your board. Posting permissions will be automatically asked when authorizing your application. When this is active, users might wait a bit more when registering for the first time due to data being transferred to Facebook.

It is not working

2.0 group after registration

A very strange issue it just happens randomly .

I created a user group for the facebook users and in the plugin settings changed the group after registration to that group. The first time it worked perfectly but then after 2-3 times while registering it automatically changed to the Administator group . Mybb showed a no permission page with warnings then I checked that user in the ACP where its Primary usergroup was Administrator.

Can you clarify me what happens with duplicate users?

I am wondering what would be the result of having an user in my board, and then having another, via facebook with the same name, registering in my board.

Is the 2nd user shown an error message? If so, is there any way to correct their username and to register?

Please excuse me if this is already documented, I haven't yet taken a good look at the documentation regarding this subject.

Regards,
NewEraCracker

Wrong redirect/message after successful Facebook login ("you are already logged in")

When the user is registering with myfacebook connect and after they accept the request for permissions by Facebook, they are redirected to an address of this type:

.../myfbconnect.php?action=do_login&code=AQD4JpWw09K3qBxgtQ7-1tKVjx_PZXeG9mPZcQqfPqSmvFdRI3mLs883wsqWH510pMEYbjn0_GUjL_nUXVM4ZGVJbBIKfBXECE8L-[...]&state=d84b6e18747a934d45ca79269a1bfaca#_=_

and a message saying "You are already logged into the board" is outputed.

How can I fix this? I took a look at the code, and in /src/base_facebook.php there is a line saying:

redirect_uri => $currentUrl, // possibily overwritten

has it do do with this? Thanks.

Registering with an username already registered returns an error

As discussed here, when you register with Facebook and the registration process fails because the username you've chosen is already registered, the plugin will output the following error:

An unknown error occured. The output of the error is: Array Please report this error to an administrator and try again.

Whereas it should load myfbconnect.php?action=fbregister (both for One-click registration and for 2Step registration) with an inline error prompted.

Erro report on my facebook connect

Pls my facebook connect return an erro when users are trying to register with facebook in my forum here is the erro type [size=30][color=red]An unknown error occurred. The
output of the error is: c o u l d n ' t c o n n e c t t o h o s t Please report this error to an
administrator and try again.[/color][/size]

hope to hear from you

best regard {Adamzy}

Facebook connect problem

I have follow the istruction but when i try to get link to FB:

  • the system open FB for acceptation of link with app

screenshot 2014-12-02 15 36 40

  • when come back to MyBB the system screen this error:
    "An unknown error occurred. The output of the error is:
    An active access token must be used to query information about the current user.
    Please report this error to an administrator and try again."

screenshot 2014-12-02 15 36 57

But after more test, I haven't found the problem.

Password Login Error

Trying to understand the difference between login and register. There is no link for register. When trying to register with choose password settings in the admin area of "One-click registration" I get the error code: The password you entered is not complex enough. Please enter a password that is at least 6 characters long, and contains an upper case letter, lower case letter and a number., but there is no field to choose password.

Provide Facebook access token

Hey there, currently trying to provide custom open graph stories for my users (like, {user} posted a new thread on {site}) and was wondering if I can get a valid access token from MyFBConnect somehow?

ACP manager

We really should add something like a module in the ACP to check for structure integrity and similar.

2.0 Issues

I was testing the 2.0 version, not sure if you are aware of these issues or not.

Publishing feature is working.

Errors

<script>inc/db_mysqli.php</script>
<line>891</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given</message>

This error with Inlinesuccess message deactivated

<script>inc/functions.php</script>
<line>855</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/xxxx/inc/class_error.php:215)</message>

This error with Inlinesuccess message activated

<script>inc/plugins/inlinesuccess.php</script>
<line>187</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/xxxxx/inc/class_error.php:215)</message>

Better template handling

After the plugin is installed and enabled, it adds &mdash; <a href="{$mybb->settings['bburl']}/myfbconnect.php?action=login">{$lang->myfbconnect_login}</a> to the header_welcomeblock_guest template.

However, when the plugin is disabled with the master switch, these template edits still exists. The button is still there, but since {$lang->myfbconnect_login} is empty, it does not show.

Instead, can you a separate template bit containing the button so that when the plugin is disabled, the button is removed completely?

Better update management

The current update manager is quite inefficient, as it must be edited in every copy of the plugin, every time. People might not upload the updated manager, and an update might fail. The solution would be connecting to an external server, downloading the code required to update the plugin and run it.

The redirect_uri URL must be absolute

Hi!
I'm following all steps, but the facebook page for create apps is some different than your documentation, even so I think that I do all steps well.

The error is "The redirect_uri URL must be absolute",

If you need more information, please ask me

Pictures missing

Hi, the section about creating the facebook app has all its pictures broken

User doesn't fully log off facebook

These are the steps to the problem

  1. User logs in via facebook connect
  2. User prompted to enter facebook login info
  3. User logs into forum using facebook connect
  4. User logs off of forum and facebook
  5. User clicks facebook connect
  6. Problem - Despite beings logged off of Facebook, user is automatically logged into forum as facebook user. User cannot get to facebook login screen again if they want to change accounts.

I am using the one click login. The only way I could find to fix this is by clearing the cache of the web browser.

hidemail is not enabled properly

File: inc/plugins/myfbconnect.php

Line:

"hideemail" => 1,

Unfortunately that doesn't work as MyBB (at least 1.6.10) doesn't fetch that data from $user["hideemail"] but fetches it from $user["options"]["hideemail"],

Fix is to change that line to:

"options" => array("hideemail" => 1),

Regards,
NewEraCracker

Object Oriented code

A class with OO code is much easier to handle. MyFacebook Connect should have one, definitely.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.