vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=198499

Facebook Connect - Allow your users to login with their Facebook account
by sllik
10 Dec 2008 05:06

11 Attachment(s)
Facebook Connect
This add-on allows your guests and existing users to login with their Facebook account through Facebook Connect.

WORKS WITH 3.8!

Benefits of Facebook Connect
  • Users can simply login with their Facebook account without going through the registration process.
  • Increase user interaction and your traffic through Facebook notifications and news-feeds!
Features
Facebook users will be able to receive Facebook notifications when:
  • There is a reply to their thread or a thread that they're subscribing to
  • They receive a new PM
News-Feed will be published on to the user's wall when the user:
  • Logs in for the first time
  • Replies to a thread
  • Creates a new thread
Fetch user data from Facebook
Fetch data like name, location, profile picture and use it on your forums! (NOTE: Some data may not be available for some users)

Automatically befriend user's friends
If any of the user's friends are also registered on the forum, they will automatically be friends!

How to Upgrade From 2.0.0 to 2.0.1
  • Upgrade the product. (Import the product XML again and set overwrite to yes).
  • Update Feed Template IDs in the settings (make sure they are the same as at: FB Connect Options -> News-Feed Templates)
How to Upgrade From 2.0.1 to 2.0.2
See UPGRADE.html
  • Fixed the notification problem (notifications were sent to wrong people)
  • Login button will now be displayed on vbAdvanced pages
How to Upgrade From 2.0.2 to 2.0.3
See UPGRADE.html
  • Fixed the Facebook avatar displayed for the wrong people problem.
  • Added Facebook UID & Profile URL field to data map.
Professional Install/Upgrade/Support Services
Want this mod professionally installed? It's guaranteed to work on your forum! Download the archive and see INSTALL.html/UPGRADE.html for more details!

Troubleshooting
Server Requirements:
PHP 5

If you get an error:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Means that there is something wrong with your callback URL. Your callback URL must be where xd_receiver.htm is; so when you enter [callbackurl]/xd_receiver.htm into your browser you should see a blank page (not a 404 page not found error or anything else).

If you get a continues https://www.vbulletin.org/forum/ this means there is a javascript error. Make sure you've done all the template edits correctly (especially footer & navbar). Clear your cache and reload the page.

If nothing happens when you click the Facebook Connect button make sure your callback url domain is the same as you forum domain (the one set in your forum settings) - more specifically make sure that there is a www (or isn't) in both domains.


Many more features may be implemented in the future so keep checking for updates.

TNCclubman 10 Dec 2008 05:07

sweet!

Rene Kriest 10 Dec 2008 05:31

Wow, this is awesome! Thanks.

6piston 10 Dec 2008 05:36

awesome. i'm trying it out now!

sllik 10 Dec 2008 05:40

Quote:

Originally Posted by 6piston (Post 1682108)
awesome. i'm trying it out now!

please make sure to let me know if you have any problems.
thanks!

yinyang 10 Dec 2008 05:59

OMG, I just saved some $$$. I'd like to donate to help you make this even better.

6piston 10 Dec 2008 06:06

Quote:

Originally Posted by sllik (Post 1682109)
please make sure to let me know if you have any problems.
thanks!

Thanks!

Can you help? i'm still trying to figure out these:
  1. Facebook callback url settings?
  2. First Login Feed Template ID
    The ID of the news-feed template bundle that will be posted to the user's news-feed after the user has logged in with Facebook Connect for the first time. Click here to manage news-feed template bundles.
  3. New Reply Feed Template ID
    The ID of the news-feed template bundle that will be posted to the user's news-feed when the user replied to a thread. Click here to manage news-feed template bundles.
  4. New Thread Feed Template ID
    The ID of the news-feed template bundle that will be posted to the user's news-feed when the user create a thread. Click here to manage news-feed template bundles.

sllik 10 Dec 2008 06:17

Quote:

Originally Posted by 6piston (Post 1682119)
Thanks!

Can you help? i'm still trying to figure out these:
  1. Facebook callback url settings?
  2. First Login Feed Template ID
    The ID of the news-feed template bundle that will be posted to the user's news-feed after the user has logged in with Facebook Connect for the first time. Click here to manage news-feed template bundles.
  3. New Reply Feed Template ID
    The ID of the news-feed template bundle that will be posted to the user's news-feed when the user replied to a thread. Click here to manage news-feed template bundles.
  4. New Thread Feed Template ID
    The ID of the news-feed template bundle that will be posted to the user's news-feed when the user create a thread. Click here to manage news-feed template bundles.

1. Have you set up your facebook application? If so in the facebook application settings there is a setting called Callback URL. Set it to your forum's url. And thats it!

2. The Feed Template IDs will be automatically set once you go to FB Connect Options > News-Feed Templates and click on [ Register Default Templates ]

Hope this helps

sllik 10 Dec 2008 06:20

Quote:

Originally Posted by yinyang (Post 1682115)
OMG, I just saved some $$$. I'd like to donate to help you make this even better.

Wow that's very generous of you! I sent you a PM.

yinyang 10 Dec 2008 06:38

I don't see a "Register Default Templates"... I see a "manage", but I get this error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/xxxxxx/public_html/xxxxxx/includes/facebook/facebook.php on line 38

sllik 10 Dec 2008 06:51

Quote:

Originally Posted by yinyang (Post 1682129)
I don't see a "Register Default Templates"... I see a "manage", but I get this error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/xxxxxx/public_html/xxxxxx/includes/facebook/facebook.php on line 38

Are you using PHP4 or PHP5

yinyang 10 Dec 2008 06:54

Quote:

Originally Posted by sllik (Post 1682138)
Are you using PHP4 or PHP5

4.4.9

sllik 10 Dec 2008 06:59

Quote:

Originally Posted by yinyang (Post 1682140)
4.4.9

Sorry, this add-on only supports PHP5 for now...

yinyang 10 Dec 2008 07:00

Quote:

Originally Posted by sllik (Post 1682141)
Sorry, this add-on only supports PHP5.

Nooooooooooooo .......

sllik 10 Dec 2008 07:05

Quote:

Originally Posted by yinyang (Post 1682142)
Nooooooooooooo .......

Sorry, the Facebook Connect library doesn't support PHP4


All times are GMT. The time now is 09:00.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.