Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
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
  #112  
Old 12-10-2008, 09:04 PM
sllik sllik is offline
 
Join Date: Apr 2004
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FOR THOSE PEOPLE WHO HAVE TROUBLE LOGGING IN.

Some people have problems logging into their board after they logged in with fbconnect and logged out.

The nickname you choose when you login with fbconnect for the first time is NOT associated with your current vbulletin account! So when you try to login to vbulletin through the vbulletin login form enter your vbulletin username (not the nickname you chose when you logged in with fbconnect) and your vbulletin password (not your facebook password).

Basically you never enter the nickname you chose with fbconnect into a vbulletin login form!
Reply With Quote
  #113  
Old 12-10-2008, 09:22 PM
janslu janslu is offline
 
Join Date: May 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sllik View Post
what do you mean connection reset errors? can you provide any more details on that?
IE6 stops displaying the page with "Operation aborted" error. It works fine for forum start page though... It happens every time I try to open the page. Clearing cache doesn't help.

Other browsers work fine but one of Firefox browsers displays "Connection reset" error but displays the page fine. I have no visible errors in logs... Any way I can help you? I may try to setup testing environment...
Reply With Quote
  #114  
Old 12-10-2008, 09:29 PM
sllik sllik is offline
 
Join Date: Apr 2004
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by janslu View Post
IE6 stops displaying the page with "Operation aborted" error. It works fine for forum start page though... It happens every time I try to open the page. Clearing cache doesn't help.

Other browsers work fine but one of Firefox browsers displays "Connection reset" error but displays the page fine. I have no visible errors in logs... Any way I can help you? I may try to setup testing environment...
if you would be able to setup a test environment that would be amazing!
Reply With Quote
  #115  
Old 12-10-2008, 09:40 PM
Wakey Wakey is offline
 
Join Date: Dec 2008
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sllik View Post
it happens every time your reload the page?
Yep
Reply With Quote
  #116  
Old 12-10-2008, 09:46 PM
janslu janslu is offline
 
Join Date: May 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sllik View Post
if you would be able to setup a test environment that would be amazing!
OK.
the test site uses a slightly older vbulletin (beta2) but the problems is still present.

Open the following urls in IE6 to see the problem:

http://test.babyboom.pl/forum/

and for example:

http://test.babyboom.pl/forum/staram...0/#post2886350

You can switch to http://www.babyboom.pl/forum/ to see the working site...

Hope this helps.
Reply With Quote
  #117  
Old 12-10-2008, 10:15 PM
sllik sllik is offline
 
Join Date: Apr 2004
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by janslu View Post
OK.
the test site uses a slightly older vbulletin (beta2) but the problems is still present.

Open the following urls in IE6 to see the problem:

http://test.babyboom.pl/forum/

and for example:

http://test.babyboom.pl/forum/staram...0/#post2886350

You can switch to http://www.babyboom.pl/forum/ to see the working site...

Hope this helps.
cool, im installing a VM to run the site on IE6, works great on FF & IE7.
Reply With Quote
  #118  
Old 12-10-2008, 10:34 PM
janslu janslu is offline
 
Join Date: May 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sllik View Post
cool, im installing a VM to run the site on IE6, works great on FF & IE7.
I've been playing with various things and it's getting really funny. So far I've been using Windows xp sp3 and IE6 to test. This one throws "operation aboerted" error and shows "Opening page: C:\Windows\System32\xpsp3res.dll/dnserror.htm" in the status bar.

I've tried another build of IE - an ancient IE6 running on Win98 Crossover bottle for mac and this one gave another error - 80004004. Google suggests that this means nesting errors. And I've pinpointed the culprit - it's the location of this line:

<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"></script>

from headerinclude. If I move it below, inside <body> tags, the error disappears and everything seems to work fine. I have to get some rest now (it's 1 am here) and I will return to my tests tomorrow.

Cheers
Reply With Quote
  #119  
Old 12-11-2008, 01:09 AM
TomJames TomJames is offline
 
Join Date: Apr 2006
Location: UK
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great application! Is it possible to use the connect API to pull users favourite movies / any other data or can you only get validation that the user account exists?

~~

The only thing I dislike about the applications is that you're handing over a lot of power to a as of yet unproven site (still struggling to finance their ever increasing costs). If Facebook goes down for a few hours, a few days or forever your members wouldn't be able to login, those perhaps more likely is Facebook simply changing / removing the connect feature at one point or another.

Since this app doesn't get the users email or password (as far as I can see) I can't even see away to solve that in the worst case scenario.

~~

Anyway, brilliant app, just finished playing with it on my test server and I'll be adding it to my main forum later. Great work and I look forward to future updates!
Reply With Quote
  #120  
Old 12-11-2008, 02:10 AM
xxalexkimxx xxalexkimxx is offline
 
Join Date: Nov 2006
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow this is so cool dude...Thanks million times.
Reply With Quote
  #121  
Old 12-11-2008, 03:04 AM
CyprusTM CyprusTM is offline
 
Join Date: Aug 2008
Location: Canada
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would this be usable with other software. i have a website which allows people to sign up and post news on site etc, would i be able to use this script to integrate that instead of facebook?
Reply With Quote
Reply

Thread Tools

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 07:51 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.06405 seconds
  • Memory Usage 2,317KB
  • 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
  • (6)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