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
  #962  
Old 07-26-2009, 12:27 AM
cad2go cad2go is offline
 
Join Date: Feb 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wolfstream View Post
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
yeah rletc

It worked for you!

I'm on chrome latest (2.0.172.37), ff3.0.12 and ie8.0.6001.18763 - all up to date.

Very weird.

I wonder could it just be a cookie issue or something with being logged in and out of fb on all 3 browsers and with a couple of accounts?

I looked through the logs and I didn't see any 500 errors tbh. Let me reboot, clear cache etc and report back
Reply With Quote
  #963  
Old 07-26-2009, 12:49 AM
cad2go cad2go is offline
 
Join Date: Feb 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No joy. Got the same error
Quote:
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
However I was able to join http://www.necrotania.com/ (a site on this thread) using fb.
Reply With Quote
  #964  
Old 07-26-2009, 12:58 AM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cad2go View Post
It worked for you!
Ayep
No problems at all here.
One thought might be the flash ad you've got running, as it does interfere with the fbconnect interaction. This might be part of the issue here, however I've never seen a 500 error on any install.
Reply With Quote
  #965  
Old 07-26-2009, 01:05 AM
cad2go cad2go is offline
 
Join Date: Feb 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers wolf! Great to get that working. Appreciate the help.

Think you might be right about flash. I've had some odd issues with it and vista.

Anyway I'll see what I hear back from fb-ers.

Thanks
Reply With Quote
  #966  
Old 07-26-2009, 02:35 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loco.M View Post
installed and working great
I'm going to setup facebook connect on the wordpress blog as well
how did you do that mate?
Reply With Quote
  #967  
Old 07-26-2009, 03:30 PM
ZiG ZiG is offline
 
Join Date: Oct 2002
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wolfstream View Post
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.
well, there should be more of an indication that a user has either connected with facebook (made an account with facebook), or that a user has linked his/her current membership up with their facebook acount in the user profile or in the postbit. i realize you can bring over data from facebook, but this isn't really a clear indication that the user has connected with their facebook account.

to me it seems like this mod is really only for people who are very lazy to sign up for vbulletin on their own, which is good because most people are very lazy to sign up for vbulletin so it would probably bring in more memberships. however, as it is it's just a simpler way to register.

digg.com shows how this mod can work better, for example digg.com automatically figured out that the e-mail address you provide for your facebook login details could be similar to the e-mail address you used when signing up, so it immediately asks you to login with your current account rather than even giving you the option to create a new username which makes you end up with 2 accounts. it then also presents you with the option to friend other users on digg.com who are using facebook automatically, as well as asking you if you would like your avatar/profile photo transferred over to digg rather than automatically doing it. then when you have your user account linked together with your facebook account there is a clear indication of this reflected in the avatar, that hovers the facebook icon a little above and to the left of your actual digg.com avatar. a clear indication that you are logged in via connect with facebook, and that your facebook/digg membership have been linked together. when you go to settings, your facebook connect settings allows you to invite other friends via facebook to join digg, as well as a full buddy list of who is your friend on digg.com that also uses facebook. you can then also choose via checkboxes what you want automatically fed to your facebook wall...

this mod should take the usage of facebook connect on digg.com as an example, this mod already has some of these features but definitely not as well implemented as they should be. i also never figured out what that security hole was about...

template edits should also be reduced, there is a template modification engine available and most good plugins use it. there should be no need for all of these template edits...
Reply With Quote
  #968  
Old 07-26-2009, 03:39 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone know if its possible to change the image colour of the "connect with facebook" image, can the image be changed to my own custom one?

edit: found it, changed the url of the image in clientscript/fbconnect.js
Reply With Quote
  #969  
Old 07-27-2009, 09:54 AM
bahrainonline bahrainonline is offline
 
Join Date: Jul 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i manage to install this product, but i am still getting this , i edited the all template twice but still getting this

any idea
Reply With Quote
  #970  
Old 07-27-2009, 07:00 PM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZiG View Post
well, there should be more of an indication that a user has either connected with facebook
There is, right here:
Quote:
Originally Posted by ZiG View Post
you can bring over data from facebook
Quote:
Originally Posted by ZiG View Post
this isn't really a clear indication that the user has connected with their facebook account.
Uhh, yeah, it is.

Quote:
Originally Posted by ZiG View Post
to me it seems like this mod is really only for people who are very lazy to sign up for vbulletin on their own, which is good because most people are very lazy to sign up for vbulletin so it would probably bring in more memberships. however, as it is it's just a simpler way to register.
It's not a matter of being 'too lazy', it's a matter of being 'more secure'. Think of it. One password, one login, multiple forums. no spam!!! Facebook handles everything, including password and email changes. Now THAT is unique. It's not about being 'too lazy', but keeping everything under one roof. Now, if that one roof caves in, you're screwed, but you still have that one roof

Quote:
Originally Posted by ZiG View Post
... automatically figured out that the e-mail address you provide for your facebook login details could be similar to the e-mail address you used when signing up
That's good for dig, but the way the facebook API works , the email address is hashed, and the end user (developer) doesn't actually SEE that email address

Quote:
Originally Posted by ZiG View Post
template edits should also be reduced
Nonsense. It takes all of 5 minutes to edit the templates. Why use an "auto template parser" which forces a linkback on every page to a pathetic author? Take 5 minutes, edit the templates, and you're done. This way you KNOW what you're doing, and can actually LEARN from it.


Quote:
Originally Posted by hIBEES View Post
edit: found it, changed the url of the image in clientscript/fbconnect.js
Be careful when playing with that, because you can very easily screw up the setup. The button and link and all that come directly from facebook

Quote:
Originally Posted by bahrainonline View Post
i manage to install this product, but i am still getting this , i edited the all template twice but still getting this
See my screenshots a few posts back, make sure your app configuration follows that EXACTLY. That is the #1 reason people get that error
Reply With Quote
  #971  
Old 07-28-2009, 01:32 AM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What happens to the user if they decide to disable or delete their facebook account? Will they still show on the memberlist, and will their forum account be disabled too?

... and similarily, what happens to facebook connect member if you get rid of the addon at a later date?

Oh, and what happens if two members are on each others facebook ignore/block list?
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:09 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.06583 seconds
  • Memory Usage 2,338KB
  • 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
  • (13)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