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
  #952  
Old 07-25-2009, 05:57 PM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZiG View Post
when users link their facebook account to their pre-existing account, what are the security features to ensure that they are the proper owner of that account?
You can't link to an account, or create a new account (via the facebook connect plugin) without being logged in to facebook. If you're not logged in, you'll be required to login.

I'm not sure what happened in your case, and I'm not going to say it didn't happen, but it seems a bit fishy.
Reply With Quote
  #953  
Old 07-25-2009, 07:01 PM
ZiG ZiG is offline
 
Join Date: Oct 2002
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, ill give some more details, as i can't figure this out either

when i connected my facebook acount, to my admin account...i was required to login to facebook via the facebook connect plugin. after logging in, it prompted me to choose a nickname, however i already had an existing account on the rdyup website (my admin account) so i chose the option to use a current existing account instead, and inserted my details into the prompt screen...

all seemed to work out fine, as i was now able to login to my account via the normal vbulletin login method, and when connecting with facebook it automatically logged me into the admin account i had linked it to.

however, it seems that this same account was then somehow linked with another user account. they are logging in with their facebook details, and being logged in directly to my admin account which i linked up with my facebook details. so it doesnt really make sense to me.

is there a database that i can check to see what the problem could be, to see if his account is somehow linked to my administrative account. i cant understand why his account would have linked up to it in the first place.
Reply With Quote
  #954  
Old 07-25-2009, 07:26 PM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZiG View Post
is there a database that i can check to see what the problem could be, to see if his account is somehow linked to my administrative account. i cant understand why his account would have linked up to it in the first place.
Yes, but it's a mess. I'll see if I can put a quick hack together to pull information out, but can't really guarantee much. In the meantime, fire up phpmyadmin, look in the fbuser table, look for duplicate userids.

Like I said, I'll see if I can put something together to better interpret this, we'll see if it can be done.
Reply With Quote
  #955  
Old 07-25-2009, 10:33 PM
cad2go cad2go is offline
 
Join Date: Feb 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting a 500 error after hitting Publish or Skip.

I've read this thread from start to finish btw.
Reply With Quote
  #956  
Old 07-25-2009, 11:02 PM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

500 errors mean there's something wrong with how the server is handling something. Most likely phpsuexec, or suphp, or some garbage. check the error logs.
Reply With Quote
  #957  
Old 07-25-2009, 11:05 PM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZiG View Post
is there a database that i can check to see what the problem could be, to see if his account is somehow linked to my administrative account. i cant understand why his account would have linked up to it in the first place.
I have put together a very simple mod to do this here. It's pretty straightforward, and I think the mod will benefit anyone here, not just those in your position.

If/When the author decides to put out an update to this, I more than welcome them to incorporate this into the mod, it really isn't that hard to do.

This, by no means uses this code. I simply made an adjustment to the xml navbits (to include the page), and put up a quick hack to do this.

This will allow users to see who is who (real user wise) through facebook connect, and in the event that something goes wrong, they can very, very easily be modified, even without using a separate usergroup now!

Enjoy
Reply With Quote
  #958  
Old 07-25-2009, 11:21 PM
ZiG ZiG is offline
 
Join Date: Oct 2002
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i appreciate the effort, this is a great mod however lacking some features...

i would like to see this mod continued once vb4 arrives
Reply With Quote
  #959  
Old 07-25-2009, 11:26 PM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right now, we don't know what vB4 is going to have in store, honestly, so let's just focus on vB3. Since alpha's not even out for vB4, theoretically it could be a year or better (we really don't know, and yeah, that's just speculation), the best focus is on what is here in front of us.

You say this mod is lacking features. Honestly, I don't see it as such, but what do you see it lacking? If it is possible to add them (without stepping on toes), I can add them as a new mod, or an addon, possibly. However, my hands are tied with license garbage here, so I can't redistribute the OP's code.
Reply With Quote
  #960  
Old 07-25-2009, 11:57 PM
cad2go cad2go is offline
 
Join Date: Feb 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wolfstream View Post
500 errors mean there's something wrong with how the server is handling something. Most likely phpsuexec, or suphp, or some garbage. check the error logs.
ie was showing a 500 error - it hides errors apparently - on chrome I get

"Fatal error:
Please complete the required field "Email".
Unable to proceed with save while $errors array is not empty in class vB_DataManager_User in [path]/includes/class_dm.php on line 810"

Same error GoTTi was getting and he also got the 500 from ie.
Reply With Quote
  #961  
Old 07-26-2009, 12:09 AM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cad2go:

Is this on the forums you have in your sig (rletc)? I was able to get to them and connect just fine using FF3, and IE8 didn't give me any issues either.

Most likely, this is a browser specific problem, and I'd lay 10:1 that browser isn't going to work with any facebook app outside of their page, not just the vB connection.

The code is pretty much facebook owned stuff, obviously fblogin.php is custom, but the rest of the user handling stuff is all facebook classes and whatnot. It's universal across god knows how many sites.

I'm not saying that your error didn't happen, but a bit mroe information would be good to help figure it out. If the latest version of the browsers work, then chances are it has something to do with the earlier, older version of the browsers
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:52 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.05785 seconds
  • Memory Usage 2,322KB
  • 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
  • (1)bbcode_code
  • (4)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
  • (3)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