vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - Facebook Connect - Allow your users to login with their Facebook account (https://vborg.vbsupport.ru/showthread.php?t=198499)

sllik 12-09-2008 10:00 PM

Facebook Connect - Allow your users to login with their Facebook account
 
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 https://vborg.vbsupport.ru/ 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.

TNCclubman 12-10-2008 04:07 AM

sweet!

Rene Kriest 12-10-2008 04:31 AM

Wow, this is awesome! Thanks.

6piston 12-10-2008 04:36 AM

awesome. i'm trying it out now!

sllik 12-10-2008 04:40 AM

Quote:

Originally Posted by 6piston (Post 1682108)
awesome. i'm trying it out now!

please make sure to let me know if you have any problems.
thanks!

yinyang 12-10-2008 04:59 AM

OMG, I just saved some $$$. I'd like to donate to help you make this even better.

6piston 12-10-2008 05:06 AM

Quote:

Originally Posted by sllik (Post 1682109)
please make sure to let me know if you have any problems.
thanks!

Thanks!

Can you help? i'm still trying to figure out these:
  1. Facebook callback url settings?
  2. First Login Feed Template ID
    The ID of the news-feed template bundle that will be posted to the user's news-feed after the user has logged in with Facebook Connect for the first time. Click here to manage news-feed template bundles.
  3. New Reply Feed Template ID
    The ID of the news-feed template bundle that will be posted to the user's news-feed when the user replied to a thread. Click here to manage news-feed template bundles.
  4. New Thread Feed Template ID
    The ID of the news-feed template bundle that will be posted to the user's news-feed when the user create a thread. Click here to manage news-feed template bundles.

sllik 12-10-2008 05:17 AM

Quote:

Originally Posted by 6piston (Post 1682119)
Thanks!

Can you help? i'm still trying to figure out these:
  1. Facebook callback url settings?
  2. First Login Feed Template ID
    The ID of the news-feed template bundle that will be posted to the user's news-feed after the user has logged in with Facebook Connect for the first time. Click here to manage news-feed template bundles.
  3. New Reply Feed Template ID
    The ID of the news-feed template bundle that will be posted to the user's news-feed when the user replied to a thread. Click here to manage news-feed template bundles.
  4. New Thread Feed Template ID
    The ID of the news-feed template bundle that will be posted to the user's news-feed when the user create a thread. Click here to manage news-feed template bundles.

1. Have you set up your facebook application? If so in the facebook application settings there is a setting called Callback URL. Set it to your forum's url. And thats it!

2. The Feed Template IDs will be automatically set once you go to FB Connect Options > News-Feed Templates and click on [ Register Default Templates ]

Hope this helps

sllik 12-10-2008 05:20 AM

Quote:

Originally Posted by yinyang (Post 1682115)
OMG, I just saved some $$$. I'd like to donate to help you make this even better.

Wow that's very generous of you! I sent you a PM.

yinyang 12-10-2008 05:38 AM

I don't see a "Register Default Templates"... I see a "manage", but I get this error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/xxxxxx/public_html/xxxxxx/includes/facebook/facebook.php on line 38


All times are GMT. The time now is 10:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02690 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete