Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Facebook Connect - Allow your users to login with their Facebook account (for 3.8) Details »»
Facebook Connect - Allow your users to login with their Facebook account (for 3.8)
Version: 2.0.6, by sllik sllik is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.x Rating:
Released: 01-24-2009 Last Update: 09-05-2009 Installs: 803
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

Staff Note: Moved to Graveyard - this will never work now that the old style facebook authentication is no longer available.


Facebook Connect
This add-on allows your guests and existing users to login with their Facebook account through Facebook Connect.

There is NO NEED to upgrade or reinstall if you already installed this mod for 3.7

Upgrade to 2.0.6 so that users with the new super long IDs will be able to login.


This mod conflicts with PhotoPost vBGallery!

Quick fix:
Disable the following PhotoPost vBGallery plugins:
  • Userinfo Merge
  • Integrate Postbit Showthread

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!

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:

Code:
The Facebook Connect cross-domain receiver URL http://www.SITEURL.com/xd_receiver.h...%220.699%22%7D must have the application's callback URL http://www.SITEURL.com/forums/ as a prefix. You can configure the callback URL in the application's settings.
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 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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #722  
Old 06-04-2009, 03:46 PM
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Location: Atlanta, GA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fulviods View Post
Hi, I installed this mod and opened an application on facebook following all the instructions: i can see the connect button on my forum but when i click on it nothing happens !!

I'm reading all the pages of this thread (im actually at the 26th page, but yet not find a solution...). I'll continue reading, but if someone can already help me it would be coooool !
What version of PHP are you using?
Reply With Quote
  #723  
Old 06-04-2009, 04:58 PM
slo_chewie slo_chewie is offline
 
Join Date: Mar 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I linked facebook to my vbulletin account in my forum.

To unlink facebook from that account is it safe to assume all you need to do is open your vbulletin db and go to the fbuser table and delete the row with that shows your vbulletin user id?
Reply With Quote
  #724  
Old 06-05-2009, 12:23 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm assuming this is because I'm running a MySQL 4 database but I have not seen anywhere in here anything about MySQL 4 giving any issues (Only saw a post about running PHP 5 which I am indeed running.)

Here's my issue, clicking on the "Connect with Facebook" button does nothing.

In Data Mapping, if I try to associate any vBulletin Field with any facebook Field I receive a database error. Here is one of the errors for example:

Code:
Database error in vBulletin 3.8.2:

Invalid SQL:

				INSERT INTO fbdatamap
				(vbfield, fbfield) VALUES ('field1', 'uid')
				ON DUPLICATE KEY UPDATE fbfield = 'uid';

MySQL Error   : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON DUPLICATE KEY UPDATE fbfield = 'uid'' at line 3
Error Number  : 1064
Request Date  : Thursday, June 4th 2009 @ 06:03:41 PM
Error Date    : Thursday, June 4th 2009 @ 06:03:41 PM
Script        : http://www.brain-spew.com/forums/admincp/fbconnect_datamap.php?do=save
Referrer      : http://www.brain-spew.com/forums/admincp/fbconnect_datamap.php
IP Address    : xxx.xxx.xxx.xxx
Username      : 350Chevy
Classname     : vB_Database
MySQL Version : 4.0.27-max-log
Sorry, I've been out of the loop for a while and used to code a bit but now I'm old and forgetful.

Does this mean I need to convert my DB to MySQL 5? Or is this something simple. TIA
Reply With Quote
  #725  
Old 06-05-2009, 10:15 AM
l3it3r l3it3r is offline
 
Join Date: May 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any chance of being able to rewrite this for google friend connect?
Reply With Quote
  #726  
Old 06-05-2009, 05:23 PM
fulviods fulviods is offline
 
Join Date: Jan 2005
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wolfstream View Post
@fulviods :
Go through all the application settings again, something isn't setup properly.
Make sure that you've got the right id/secret in the vBulletin settings, and make sure that you've got the right urls/domain in the facebook app settings. Those are the two important things that are missed when this happens.
.


Thanks for your answer. I dont speak perfectly english. Could you tell me if my infos are ok?
Here are infos in my forum admin:
General settings:
Url of my website : http://www.mywebsite.com
Url of my forums : http://www.mywebsite.com/forum
FB Connect options:
Same API and secret key that in the fb application.
Import user data: no
The system generated 3 different template ID.
Data mapping:
Actually i linked only one field : location ->location
Do I have to create fields in vbulletin to match the others fields? (facebook uid,name,first name...)

Here are the infos in the facebook application:
G?n?ral tab: I just put the name of the application & logo and email.
2nd tab authentification: http://www.mywebsite.com/forum in the 2 fields
3rd tab Profiles: Ony the first chapter (name of the tab and url) and http://www.mywebsite.com for the call back
I didnt fill the other fields
Canvas tab : http://apps.facebook.com/myname / Canvas callback url http://www.mywebsite.com/forum
Optional : i put nothing /Canvas settings : Iframe/intelligent/complete/deactivate other fields empty
Connexion tab: connect url : http://www.mywebsite.com / Base domain : http://www.mywebsite.com other fields empty
widgets: empty
advanced settings: empty

Thanks a lot...
Reply With Quote
  #727  
Old 06-06-2009, 05:50 PM
JohorBahru JohorBahru is offline
 
Join Date: Jan 2009
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just upgraded my forum from 3.7 to 3.8, and uninstalled all the mods and including facebook connect for 3.7

After reinstall facebook connect for 3.8, I'm wondering could my members who registered via facebook (previously with facebook connect for 3.7) connect log in to their account again with their facebook account?

need help urgently, thank you
Reply With Quote
  #728  
Old 06-07-2009, 10:52 AM
busybeeburns busybeeburns is offline
 
Join Date: Feb 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skylab View Post
These are major issues that I wish I knew earlier. I'm in a difficult position now since many users are using FB Connect.

Quote:
Originally Posted by busybeeburns View Post
This is a fantastic mod, however after brutally testing it over the last 24 hours, I have major issues with its neat compatibility with vBulletin. If anyone can help or discuss these I'd be grateful. These are:

1) Changes to Facebook or vBulletin in the future may render this mod incompatible, relying then on support from the developer to bring this mod back in line; if hundreds of administrators are relying on support from a sole developer who decides they are no longer bothered to upgrade for future facebook/vBulletin releases, this will have huge implications for incorrect login functions for potentially millions of registered members across the vBulletin communities.

2) Facebook partially holds registration details of members, eg. email addresses and passwords. If this mod was ever ditched, I could in theory have thousands of members unable to log in to my forum unless each account was manually altered in admincp. Registered members are unable to do this themselves as changes to email addys or passwords would not be possible as vBulletin would not recognise their original/old details. A logistical nightmare for administrators of large vB communities.

3) It appears that facebook Connect users cannot be contacted via mass email or mass PM add-ons as such users are not found within the database. This effectively renders the use of these important functions useless in the long-term. Especially important should the need arise above where they must take action to continue to log in to the messageboard.

4) I would like to see fblogin.php altered to accept Connect for exisiting vBulletin members only, or tweaked to go via a vB registration process where an vB email address and password can be added. The problems 1-3 above wouldn't exist if this was an alternative installation.

Apart from those important issues the mod is perfect!
These are major issues that I wish I knew earlier. I'm in a difficult position now since many users are using FB Connect.
What did you decide to do?
Reply With Quote
  #729  
Old 06-07-2009, 05:12 PM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Curious when you log in does the connect with facebook still suppose to stay or should it go away ? i have a custom template and was wondering myself .
Reply With Quote
  #730  
Old 06-07-2009, 05:40 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mmoore5553 View Post
Curious when you log in does the connect with facebook still suppose to stay or should it go away ? i have a custom template and was wondering myself .
It's supposed to go away along with the traditional login boxes.
Reply With Quote
  #731  
Old 06-08-2009, 08:01 AM
skylab's Avatar
skylab skylab is offline
 
Join Date: Feb 2009
Location: Everywhere
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by busybeeburns View Post
What did you decide to do?
Had to keep it. We'll see where this goes. Hopefully it goes well.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06167 seconds
  • Memory Usage 2,329KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete