Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

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

Category: Integration with vBulletin - Version: 3.7.x Rating:
Released: 12-09-2008 Last Update: 03-23-2009 Installs: 499
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

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:

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
  #1002  
Old 01-21-2009, 04:25 AM
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 Quantnet.org View Post
I notice that if a member has both account on FB and the forum, when they log in with their FB id, it will create a new forum member. Is this the intended purpose?
When they sign up with FBConnect, they are given the option to use their existing vB account. If they don't do that, they'll end up just creating a new account.


Quote:
Originally Posted by paintballer.ie View Post
Merging Users:

I didn't read all the topics, so maybe this has been mentioned, but here is a possible work around for letting current members set up their face book accounts.

1: read: http://www.vbulletin.com/docs/html/users_merge

2: Get current members with facebook to log in with their facebook accounts and us a nick name as 'username2' or something.

3. Then merge this user with their current forum username.

I havent tried it yet, but I assume that it will work.




* Edit, I found Jedi's post where he said that current nick name can be used. I have to try this out.
Yes, merging accounts any other way will not work the way you want it to.


Quote:
Originally Posted by nMIK-3 View Post
I have a major problem.

When New Users register by using the facebook connect their facebook email IS NOT ported over the vBulletin database. How do I solve this?
Emails are sent through the application to the email registered in their FaceBook account.
Reply With Quote
  #1003  
Old 01-21-2009, 04:40 AM
nMIK-3 nMIK-3 is offline
 
Join Date: Dec 2004
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Emails are sent through the application to the email registered in their FaceBook account.
What do you mean? Emails must be ported from the facebook to the vbdatabase.
Reply With Quote
  #1004  
Old 01-21-2009, 06:27 AM
cooltechie cooltechie is offline
 
Join Date: Apr 2004
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting the following error message after the login through facebook connect:

Database error in vBulletin 3.8.0:

Invalid SQL:
INSERT INTO userfield
(userid)
VALUES
(6616);

MySQL Error : Duplicate entry '6616' for key 1
Error Number : 1062
Script : http://www.example.com/vbulletin/fblogin.php
Referrer : http://www.example.com/vbulletin/fblogin.php
Username : example
Classname : vB_Database
Reply With Quote
  #1005  
Old 01-21-2009, 07:12 AM
Mum Mum is offline
 
Join Date: Jun 2006
Location: New Zealand
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sllik View Post
Are you using PHP4 or PHP5
Quote:
Originally Posted by Mum View Post
I get
Code:
 Parse error:  syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/mummybra/public_html/imperfectlyrealparents.com/includes/facebook/facebook.php on line 38
when i try and go to the templates. How can i fix this?
Just wondering if there is any update on this
Reply With Quote
  #1006  
Old 01-21-2009, 11:26 AM
Spooony Spooony is offline
 
Join Date: Sep 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mum View Post
Just wondering if there is any update on this
Are you absolutely certain you're using PHP 5? Because I had the same error and it was sorted as soon as I upgraded from 4 to 5. You've double checked by checking in your admin CP under maintenance > view PHP info?
Reply With Quote
  #1007  
Old 01-21-2009, 03:14 PM
GigaSb GigaSb is offline
 
Join Date: Aug 2006
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
I notice a number of HTML errors in your code which are no doubt causing the spacing issue: http://validator.w3.org/check?uri=ht...e&group=0&ss=1

I would try fixing those one at a time first and then see if you still have a problem. Do them in order, as these types of problems tend to cascade. One fix can correct dozens more.
i fixed all errors.. GOD knows how i did it.. i even dont understand html much
but SCROLLING is still there.
Reply With Quote
  #1008  
Old 01-21-2009, 03:21 PM
Wakey Wakey is offline
 
Join Date: Dec 2008
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nMIK-3 View Post
What do you mean? Emails must be ported from the facebook to the vbdatabase.
The address in the database is a valid email address thats unique to that user. When the application sends an email to that address it goes to Facebooks mail server and is forwarded to whatever address the user has on file at facebook
Reply With Quote
  #1009  
Old 01-21-2009, 08:43 PM
sllik sllik is offline
 
Join Date: Apr 2004
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cooltechie View Post
Getting the following error message after the login through facebook connect:

Database error in vBulletin 3.8.0:

Invalid SQL:
INSERT INTO userfield
(userid)
VALUES
(6616);

MySQL Error : Duplicate entry '6616' for key 1
Error Number : 1062
Script : http://www.example.com/vbulletin/fblogin.php
Referrer : http://www.example.com/vbulletin/fblogin.php
Username : example
Classname : vB_Database
Did you install, then uninstall the mod?
Reply With Quote
  #1010  
Old 01-22-2009, 12:18 AM
monkeywarplane monkeywarplane is offline
 
Join Date: Sep 2005
Location: Bay Area
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Had the pro install down by Silik and so far so good... (marked as installed)

http://forums.interbasket.net

Only a couple issues, those Facebook users that sign up for a new VB account do not show up in the memberlist, nor in the admin control panel when I search for them...

Stuart
Reply With Quote
  #1011  
Old 01-22-2009, 05:14 AM
Tigur Tigur is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is awesome. However will this auto-register a user to your forums as well and populate information for easy registration? That way if the user decides to leave facebook they can still login normally?
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 01:39 PM.


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.07322 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
  • (10)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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