Facebook Connect - Update for Facebook PHP SDK (v.3.0.0)
Attached ThumbnailsvB Version: 3.8.7
Facebook Connect
This add-on allows your guests and existing users to login with their Facebook account through the updated Facebook v3.0.0 PHP API.
I rewrote this plugin from the bottom up for Facebook's v3.0.0 PHP API using template code and ideas from sllik's mod.
An example of this plugin running on a live site: CarREVIEW.com.
Features
Customizable notification messages
Tightly integrated permissions checking (skips FB login popup flashes during wall posts)*
Automatically befriend user's friends
Enhanced error reporting for debugging FB Connecting issues
Option to show user's FB avatar next to member info
Option to specify a feed icon for wall posts
Option to show first attachment picture on a wall post
Option to disable news feed posts and only use OAuth 2.0
If enabled, feed posts will be published on to the user's wall when the user ...
Connects to FB for the first time
Replies to a thread
Creates a new thread
Compatibility
Fully tested on 3.8.7 PL2, but will most likely work on all 3.8.x versions.
Installation
This code is totally redone, so if you have the old Facebook Connect, uninstall that plugin, then run through the setup instructions included in the zip.
How to Upgrade From 3.0.4 to 3.0.5
Extract zipped files to their appropriate directories.
Upgrade the product. (Import the product XML again and set overwrite to yes).
Optional: delete records from fbuser and session tables to start from scratch.
How to Upgrade From 3.0.2 to 3.0.4
(3.0.3 pulled before full release)
Extract zipped files to their appropriate directories.
Upgrade the product. (Import the product XML again and set overwrite to yes).
remove clientscript/fbconnect.js (no longer needed)
Change Log
3.0.5
Fixed issue with new sessions from guest users not showing fbconnect button.
Fixed issue with global session variable vB bug.
Refactored logout code.
Removed some unneeded fbconnect_button template code.
3.0.4
Fixed account linking phrase bug.
Added fbconnect_quick_reply_title phrase.
Added fbconnect_showfbavatar navbar variable. (option to not show a user's FB avatar in the navbar)
Added IE fbxdfrabment fix - see http://blog.colnect.com/2010/10/fbxd...orkaround.html
Removed javascript FB scope checking to fix "The message you have entered is too short. Please lengthen your message to at least 3 characters." errors
Added FB UserID session variable to stabilize multi-login environments
Added javascript session checking to stabilize multi-login environments
Added Avatar and username to FB connect registration form
3.0.3
Fixed friend count bug.
3.0.2
Added option to either auto generate a password or let the user enter one.
Added forum rules agreement to reg form.
Added standard username validation.
Fixed post count reset bug.
3.0.1
Correct image paths for alternate forum install directory.
Link to cleargifurl variable if no picture attached (FB bug picks a random image if no picture attached to post).
Remove anonymous function call for earlier php comparability.
Attached Files
- fbconnect-3.0.4.zip (35.4 KB, 41 views)
- fbconnect-3.0.5.zip (35.6 KB, 207 views)