This plugin throws a "connect with Facebook" button underneath the login button in the sidebar. You can still login the normal way, but if you choose to login via facebook, it will automatically:
1) Register the user (if he hasn't logged in before) using his firstname.lastname.DOB as his username, Facebook Id as his password, and email as his email (if the user has opted out of making his email public, facebook will use a proxy email in stead).
2) Log that user in (guaranteed working email addy from FB means no need for verification)
3)put your FBpicture up beneath the logout button.
Here's a good tutorial on setting up a FB application which you will need to do to use this plugin. Its meant for a wordpress plugin, so instead of throwing the keys in a WP page, just you'll want to put that in the plugin in the appropriate fields. (I just made an array in codebase.php, maybe theres a better coppermine way to do things, but I'm a coppernewb;) )
http://www.youtube.com/watch?v=nFCIlfnwZQgHere's some Facebook Documentation:
http://developers.facebook.com/docs/authentication/Here's what helped me wrap my head around the FB login process:
http://github.com/facebook/php-sdkThings I'd like to do:
1) Change login to fancy-pants javacript login.
2) Once you FBlogin, all the checking the FBsession stuff happens after Coppermine Authentication, so I had to make it refresh. later on, there was a change to the site that made this endlessly loop. That needs to be done cleaner.
3) I couldn't figure out how to find the 'logout button' in the $menu array, o I just used $menu[11]. If you rearranged your menu, be sure and change this or better yet make it so its automatic.
A note about the quality: This is my first coppermine plugin. If its a little hacked, its because I'd never heard about coppermine until a few days before I created this, and my boss gave me a very short deadline. I ended up getting it to "just work" for what we needed with not too much thought of scalability for other users.