Click anywhere to close this dialog

Farewell

Great is the art of beginning, but greater is the art of ending
Henry Wadsworth Longfellow

I announce that I cease all development and activity in the programming universe indefinitely. My career has reached the turning point I was not expecting for at least another year, leaving me highly off guard and without laid-out plans for this hobby's continuity. I have begun a 5-year residency program in Neurosurgery which is clearly not compatible, time-wise, with programming.

I gave in all my passion for developing, and you gave me back your loyalty and trust, even when I did not deserve that much. Now it is the time for payback. I release all my present and past work as Open Source software, in the hope some talented developer will continue maintaining and expanding my vision of a modern, sleek forum software. The intrinsic flexibility of MyBB is the true hidden gem of an otherwise outdated codebase; I do hope the project can continue and be updated complying to the latest coding standards.

I hereby thank Euan, kawaii, andrewjs18, Ben, Matt, Omar G., effone, Eric J., Devilshakerz, Wildcard, JordanMussi and all the other team members I have had the opportunity to work with when I was a MyBB team member. I thank Tomm M, my mentor, who inspired me to pick up coding with his piece-of-art plugins. And finally, I thank all of you MyBBoost subscribers who have helped me getting through my toughest university years economically.

Yours sincerely, Filippo

MyFacebook Connect 3.6

17 Feb 2016 Edited
#1
MyFacebook Connect is a plugin which lets you login and register through Facebook on any MyBB installation. If you like MyFacebook Connect, consider offering me a coffee!


Do you feel Facebook login is not enough for your board? Flyover lets you login and register with 25+ social networks, including Facebook, Twitter, Discord, Steam, Google, Tumblr, TwitchTV, WordPress and more! For more informations, read Flyover 2.4.


MyFacebook Connect can easily let your users register and login using their Facebook accounts: it differs from existing (both free and paid) plugins thanks to the provided PHP SDK and a lightweight, transparent integration. A must-have for almost every community and compatible with the latest MyBB releases!

As an admin, you can decide to use two different types of registration: Fast Registration lets you register through Facebook with only one click and one front-end redirect. This means that every user who would like to login into your board and doesn't have a registered account will be registered and logged in with a single click of a button. If he has already an account registered, he'll be just logged in and his account will be linked to his Facebook one. If he has already an account and its already linked as well, he'll be just logged in.

With Fast Registration option disabled, every user who hasn't got a registered account and logs in with Facebook will be asked to choose a new username and eventually an email address different from his Facebook one. By default, inputs will be filled with his existing Facebook data but they'll be able to choose whatever username and email they'll want. In addition to this they'll be asked to select what data to import from Facebook, respecting their privacy slightly better than the simple one-click registration process.

Thanks to all the guys who tested my plugin and thanks to all of them who will test my future versions.

Please note that MyBBoost runs on Flyover 2.4. Facebook login and registration is slightly different in MyFacebook Connect.

Now accepting donations


I am now accepting donations from anyone that wants to thank me for my plugins (and particularly for my My* Connect plugins) with a little amount of money. I have released many plugins for free but I am a student and I need to maintain my studies, hence why I am asking for an economical support.

You are free to decide if and how much donating. If you'd like to do it, offer me a coffee.

Who's using it?


MyFacebook Connect has been downloaded over 100.000 times and counting. Many users have appreciated it for its ease of use and its high performances: here are some randomly picked up feedbacks.

Have tested it this and installed it on my forum and works like a charm.
vegaforums
This is the best solution for Facebook integration for MyBB. It's very simple yet powerful.
Sms2luv
I love this plugin, it's very simple to use. Good job!
Lowseling
Such a shame this didn't come out sooner. No point us installing it now since we are moving to Xenforo, but this is another excellent plugin.
Xanth
That's a great plugin! Thank you man!
Johny90

Feature listing


At the moment, MyFacebook Connect comes with the following features:
  • Provides transparent login with Facebook to your MyBB installation
  • One-click login/registration: if Fast Registration setting is set to off, it will ask the user to choose an username from scratch and to decide what informations to import from Facebook
  • Automatically synchronizes Facebook account data with MyBB account, including avatar, birthday and cover (if Profile Pictures plugin is installed)
  • 5 dedicated settings that users can manage and change to whatever they like, controlling what data to sync with their Facebook accounts
  • Existing users can link their Facebook accounts to their accounts on your board within their User Control Panel and with the click of a button, without necessarily create a new account from scratch (or ask admins to merge their accounts)
  • Facebook-linked accounts can be unlinked with ease in the User Control Panel
  • Choose to disable registrations globally but let MyFacebook Connect run on its own, restricting access to Facebook users only
  • 2 registration modes you can choose to use within your Admin Control Panel: One Click Registration (Fast) and Two Step Registration
  • Send a welcome PM containing a randomly generated password to every Facebook-registered user
  • Redirects logged in/registered users to the same page they came from
  • Choose to restrict registrations to verified-only Facebook users
  • Choose the usergroup to add Facebook-registered users
  • Who's Online List support

Installation instructions


Read How to install to know how to install MyFacebook Connect.

Configuration instructions


Read How to configure to know how to configure MyFacebook Connect.

Use an image instead of a button


Read How to configure to know how to use an image instead of a button for Facebook login.

If you want to use a CSS button instead of an image you can read brad-t's instructions.

Update from any version to another


Read the specific page in the documentation on GitHub to know how to update from any MyFacebook Connect to another. This is as simple as clicking a button and you won't lose any data.

MyFacebook Connect is on GitHub! Contributes are always appreciated!


You can contribute, report issues and request a new feature publicly, I'll do my best to fix and add what you request there. You can reach the plugin at the following link: https://github.com/Shade-/MyFacebook-Connect


This project is licensed under

MIT


A simple license with little to no use restrictions, except for author's crediting. Read the provided LICENSE file for more informations.

Permissions

Commercial use
Modification
Distribution
Private use
Limitations

Warranty
Liability
Conditions

License notice
Copyright notice
Filename Size Downloads
165.72 KB 57
nokee, Eldenroot, Karthik26 And 1 others like this post
wonderweiss 8 Nov 2016
#11
Hi. I got error

'[' in /home/xxxxxxxx/public_html/inc/plugins/myfbconnect.php on line 45
Shade 9 Nov 2016
#12
You don't meet the minimum requirements. PHP 5.4 or above is mandatory.
wonderweiss 9 Nov 2016
#13
So how to safely remove the files ?? Because it still activated but cannot install
Shade 9 Nov 2016
#14
Just remove them.
schedar 24 Nov 2016 Edited
#15
Hi,
There indeed seems to be a bug as AlexanderPep reported. First registration to myBB via facebook works just fine. However if another user tries to register with different facebook account (and different email address) he ends up being logged in as the user already registered with different email address.
So for example John Doe ([email protected]) will register via fb as user1. Then Jane Doe ([email protected]) will try to register via fb and ends up being logged in as John Doe. I have clean installation of myBB so there should be no conflicts with other plugins. Can you offer any advice?

You can see it yourself: http://gamescorner.pl/mybb
It will always log you as pasza_fb

pasza_fb
Email: [email protected]


Schedar
Shade 24 Nov 2016 Edited
#16
Thank you for your report. I may know why this happens; just some servers might be affected. It's likely I will push an update as soon as possible given this is a potential security issue. In the meantime, uninstall or deactivate the plugin.

Can you screenshot the current database structure for the myfb_uid field in your _users table @schedar? It should be varchar(32).
schedar 24 Nov 2016
#17
Hi,
I'm attaching database structure screenshots.
Filename Size Downloads
103.08 KB 2
69.71 KB 3
Eldenroot 24 Nov 2016
#18
@Shade - there is an empty option in plugin setting in ACP (ON/OFF without any text) - latest version
Shade 25 Nov 2016 Edited
#19
@Shade - there is an empty option in plugin setting in ACP (ON/OFF without any text) - latest version
Eldenroot (24 Nov 2016)
Thank you for the report @Eldenroot. Will check it out ASAP and eventually add it to MyFacebook Connect development.

Hi,
I'm attaching database structure screenshots.
schedar (24 Nov 2016)
The structure seems ok as far as I am concerned. I've tried a test on your board and it successfully creates a new account instead of logging into another account, so I cannot reproduce the bug. You can delete it if you want (I've used the test account named "Philip Kohen").
schedar 25 Nov 2016 Edited
#20
I've noticed your account. And after you've registered I tried to login with my facebook and ended up logged in as you. See the screenshot.
[Image: ZpW7FEa.png]

Things to know for troubleshooting is that there is some version incompatibility warning. However MyGoogle+ Connect works okay.
[Image: jnUd8ih.png]

I have also skipped submitting items for approval in facebook developer page. Also I had few bug reports yesterday with code 0:
mybb/myfbconnect/src/Facebook/Helpers/FacebookRedirectLoginHelper.php line 244
But they are not recurring.