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
  #1572  
Old 01-11-2012, 01:37 AM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Fatal error: Uncaught exception 'FacebookRestClientException' with message 'action_links-href URL is not properly formatted' in /home/lucy99/public_html/buildanarmy/onandoff/includes/facebook/facebookapi_php5_restlib.php:2403 Stack trace: #0 /home/lucy99/public_html/buildanarmy/onandoff/includes/facebook/facebookapi_php5_restlib.php(661): FacebookRestClient->call_method('facebook.feed.r...', Array) #1 /home/lucy99/public_html/buildanarmy/onandoff/admincp/fbconnect_registertemplates.php(34): FacebookRestClient->feed_registerTemplateBundle(Array, Array, NULL, Array) #2 {main} thrown in /home/lucy99/public_html/buildanarmy/onandoff/includes/facebook/facebookapi_php5_restlib.php on line 2403
remove whole code for this condition "whole if for example" containing FacebookRestClient in line 2403 in file mentioned
Reply With Quote
  #1573  
Old 02-01-2012, 08:17 PM
BarryoBrien BarryoBrien is offline
 
Join Date: Jan 2007
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to be a problem with the redirects when registering, if you try and skip any part allowing facebook to set the username it goes to a script error page that includes the email too which is optional using this but it should be mandatory since its giving errors.
Reply With Quote
  #1574  
Old 02-10-2012, 09:12 AM
samergains samergains is offline
 
Join Date: Jul 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please help me i got several problems with my form after we changed the domain from (forum.rtarabic.com) to (arabic.rt.com/forum), and it looks like it's all related to FBconnect.
1. the fbconnect button is still linking to the old domain (see the attachment fbconnect.jpg)
2. we had a banner on the top of the forum which is gone now.
3. there is a scroll(horizon) bar at the bottom of the page which is not needed at all.

my questions are:
1. how can i change the url linked to FBconnect
2. how can i change the FBconnect style coordinates (in the source code there is #fb_hiddencontainer) if i change the "left=-10000" that removes the scroll bar.
PHP Code:
<div id="FB_HiddenContainer" style="position:absolute; top:-10000px; left:10000px; width:0px; height:0px;"
thanks in advance and i hope my english was good enough to explain the problem.
Reply With Quote
  #1575  
Old 03-22-2012, 10:54 AM
enjoyonline enjoyonline is offline
 
Join Date: Jan 2012
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work for version 4.1? I installed it but when I went to the site I got a blank page so I disabled it.
Reply With Quote
  #1576  
Old 08-19-2012, 06:58 PM
webmasterokulu webmasterokulu is offline
 
Join Date: May 2012
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello
I'm using version 3.8.x vBulletin
I installed Facebook Connect, but I'm getting the following warning

FB Connect Options>> News-Feed Templates >> Register Default Templates
I wonder how can I solve this problem, click the get the following error


Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Unknown method' in /home/cPanelKullanıcıAdı/public_html/includes/facebook/facebookapi_php5_restlib.php:2403 Stack trace: #0 /home/cPanelKullanıcıAdı/public_html/includes/facebook/facebookapi_php5_restlib.php(661): FacebookRestClient->call_method('facebook.feed.r...', Array) #1 /home/cPanelKullanıcıAdı/public_html/admincp/fbconnect_registertemplates.php(34): FacebookRestClient->feed_registerTemplateBundle(Array, Array, NULL, Array) #2 {main} thrown in /home/cPanelKullanıcıAdı/public_html/includes/facebook/facebookapi_php5_restlib.php on line 2403




home/cpanelkullanıcıadı/public_html/includes/facebook/facebookapi_php5_restlib.php on line 2403 satır


facebookapi_php5_restlib.php 2403 When I look out a line like the following line


print '<pre id="params'.$this->cur_id.'" style="display: none; overflow: auto;">'.print_r($params, true).'</pre>';
Reply With Quote
  #1577  
Old 08-29-2012, 09:35 PM
wideawake wideawake is offline
 
Join Date: Aug 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My version shows 2.0.6 for some reason in the product info and php fails "PHP Fatal error: Call to undefined function set_fb_data() in /home/website/public_html/forums/includes/class_postbit.php(294)", anyone seen this before?
Reply With Quote
  #1578  
Old 09-05-2012, 12:17 PM
saini1987 saini1987 is offline
 
Join Date: Jul 2010
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working for me in 3.8.7.
Site: http://whangout.com
there is no callback url option in facebook app.
While visiting /fblogin.php, gives error:
Code:
You have entered an invalid username or password. Please press the back button, enter the correct details and try again. Don't forget that the password is case sensitive. Forgotten your password? Click here!
Reply With Quote
  #1579  
Old 10-01-2012, 06:58 AM
lokerid lokerid is offline
 
Join Date: Sep 2012
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its working for VB 4.2.0?
Reply With Quote
  #1580  
Old 12-03-2012, 12:29 AM
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by saini1987 View Post
Not working for me in 3.8.7.
Site: http://whangout.com
there is no callback url option in facebook app.
While visiting /fblogin.php, gives error:
Code:
You have entered an invalid username or password. Please press the back button, enter the correct details and try again. Don't forget that the password is case sensitive. Forgotten your password? Click here!
This stopped working for all vB Versions.... After Facebook had made changes! The addon for vB3.8 is in graveyard now.. I dont know why this is still here.. And about the FACEBOOK SDK, read my comment and do not download or install it! for the 3rd time I had users login into other users account. A Horrible BUG and its still not fixed...
Reply With Quote
  #1581  
Old 01-12-2013, 12:42 AM
achouza achouza is offline
 
Join Date: Jan 2010
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has this been solved by Facebook or has anybody found a solution?
Thanks
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 08:06 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.07627 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
  • (1)bbcode_php
  • (2)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
  • (3)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