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
  #1072  
Old 08-11-2009, 04:48 PM
werewe12 werewe12 is offline
 
Join Date: Jan 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wolfstream, do you think my problems have to do with the custom usergroup i set for facebook connect?

My Facebook fans are starting to complain about the fb connect only sometimes working. It seems like a FB issue, but no one else is complaining. I started a thread in the fb developer forum so well see if they have any answers.

Any ideas why else it would only work half the time?
Reply With Quote
  #1073  
Old 08-11-2009, 09:38 PM
dkobia's Avatar
dkobia dkobia is offline
 
Join Date: Mar 2006
Location: Atlanta
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those of you getting this error:

Quote:
* 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
Here's a possible Fix. In your /forums/fblogin.php:

Change:
Code:
$fbuid = intval($vbulletin->facebook->get_loggedin_user());
To:
Code:
$fbuid = $vbulletin->facebook->get_loggedin_user();
if (!is_numeric($fbuid))
{
	$fbuid = 0;
}

REASONS:
Depending on your system, intval(XXX) can return a maximum value of 2147483647. I tried floatval(XXXX), but that has a precision of something like 14 numbers on some systems. Facebook User ID's are up to 15 digits now!! Too many people joining up!

So because of this reason, the UID is rounded off to an invalid ID and fails to return an email address on request.

Hopefully this solves the issue for some of you . It might not be the only issue, but it definitely solved mine.
Reply With Quote
  #1074  
Old 08-12-2009, 03:52 AM
bmckinley's Avatar
bmckinley bmckinley is offline
 
Join Date: Jun 2009
Location: Texas
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks dkobia for the solutions...lots of us need the people like you around that understand a little better.

Upped to 3.8.4 and mod seems perfectly fine so far.
Reply With Quote
  #1075  
Old 08-12-2009, 02:24 PM
GoodOmens GoodOmens is offline
 
Join Date: Sep 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use navbits on non-vbulletin pages (my wordpress blog)

Is there a way to get this working on other pages? I get the loading image on pages that are not my forum.

My blog is at xxx.com and my forum is xxx.com/forum

I think it's a javascript error but can't figure it out. I've got the footer loaded properly. I'm getting the following errors:

Yahoo is undefined, vbulletin is null or not an object.

Edit: Fixed .. needed to include the yahoo js file.
Reply With Quote
  #1076  
Old 08-13-2009, 01:10 AM
RedDevil's Avatar
RedDevil RedDevil is offline
 
Join Date: Mar 2008
Location: Cumbria, UK
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just reinstalled this again after a server move, however all i get now is HTTP 500 Internal server error.

This was working perfectly prior to the move, any ideas what could be the cause of this error.

running linux VPS

cheers in advance.

Ps i did look though posts but far too many and couldnt find any answers.
Reply With Quote
  #1077  
Old 08-13-2009, 01:33 AM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a 500 error is a server error. Contact your systems admin, have them look over the logs.
Reply With Quote
  #1078  
Old 08-13-2009, 01:56 AM
GoodOmens GoodOmens is offline
 
Join Date: Sep 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm I liked this mod so much I installed it on my second board.

However I'm getting the "click and nothing happens" problem. I've triple checked my settings and everything is like it should be.

Can this mod be installed on two different forums (different domains) on the same server IP? I have set up a second facebook app.

In otherwords its working on xxx.com but not on yyy.com even though xxx and yyy have their own separate facebook apps.

The only thing different I see is my seccond application has an optional "Get Verified" link (where as my first site does not)

Do I need submit my second application for verification? Anyone using more then one install?
Reply With Quote
  #1079  
Old 08-13-2009, 02:48 AM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GoodOmens View Post
However I'm getting the "click and nothing happens" problem. I've triple checked my settings and everything is like it should be.
Then you're doing something wrong. Check all your settings, because one of them is off.

Quote:
Originally Posted by GoodOmens View Post
Can this mod be installed on two different forums (different domains) on the same server IP? I have set up a second facebook app.
Absolutely, I had it running on 3 at one point. Facebook doesn't care about your ip address @ all, just the domain

Quote:
Originally Posted by GoodOmens View Post
Do I need submit my second application for verification? Anyone using more then one install?
This app doesn't care about verification, it cares about proper code and procedures. Follow the instructions and the app works.

I have in the past had it running on 3 domains on the same ip, since I've moved them to separate ip addresses, and added a second to the main install for testing purposes, so yes, this does work with multiple installs on the same ip. Check your configuration on both ends, and make sure that everything is uploaded as it should be.
Reply With Quote
  #1080  
Old 08-13-2009, 03:34 AM
GoodOmens GoodOmens is offline
 
Join Date: Sep 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep ... found one tiny error in the footer... so frustrating.

Thanks for letting me know it works with multiple installs.
Reply With Quote
  #1081  
Old 08-13-2009, 09:12 AM
maclean_cherry maclean_cherry is offline
 
Join Date: Nov 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just installed this and now users can't post.

They keep getting a 'your post is too short, please legthen it to 5 characters' etc (not exact message)

It seems to be happening more in IE, if I use google chrome it doesn't do it.

Is there a fix? Paying members are not so happy at the moment..
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:38 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.05049 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
  • (3)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
  • (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