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
  #1152  
Old 02-12-2009, 04:35 PM
vAsia vAsia is offline
 
Join Date: Sep 2003
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to create a new independent file (e.g. facebook.php) with only "Connect with Facebook" button in it. That way, I could have the callback url to go to that facebook.php file with "Connect with Facebook" button.

How do I create a new file (facebook.php) with only Facebook" button in it? Currently, "Connect with Facebook" button is in the navbar.
Reply With Quote
  #1153  
Old 02-12-2009, 05:46 PM
jlew24asu jlew24asu is offline
 
Join Date: Nov 2006
Location: Chicago, IL USA
Posts: 702
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lone Gunman View Post
i know. i even tried on my test board where only this is installed on a fresh vb3.8.1 and i had the exaxt same problems as on my main board and that several others also had. i dont know if its mysql or php related or how the server is set up...... or what.

i like this mod and am willing to pay the dev the $25 or whatever he charges to install. i think thats real reasonable. im just not convinced its stable enough yet. he might guarantee this will work but can he guarantee everything else on your board will still work?

plus like several others mentioned.... im waiting to where you can choose which forums get published to FB so private forum posts arent getting published. i think the dev is one of the most talented guys on this site and is onto something huge here and hope upcomming VB realeases have this standard. im just still a bit skeptical.
I was pretty much forced to pay for an install. since that was done, there was an upgrade which I'm not all that excited about installing.

I still have problems with my board because of this hack.


very disappointing.
Reply With Quote
  #1154  
Old 02-12-2009, 06:34 PM
Potlocator Potlocator is offline
 
Join Date: Feb 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this same error in 3.8.1, anyone ever fix this I hope?

Invalid SQL:

SELECT fbuid
FROM fbuser
WHERE userid =
LIMIT 1;

Quote:
Originally Posted by maroceve View Post
Guys, i have a database error when i enter any discussion on my board.

Everything else works perfectly...any ideas ?

i have VBSEO ..can that be it ?


Database error in vBulletin 3.7.1:

Invalid SQL:

SELECT fbuid
FROM fbuser
WHERE userid =
LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 4
Error Number : 1064
Request Date : Tuesday, January 27th 2009 @ 08:14:40 AM
Error Date : Tuesday, January 27th 2009 @ 08:14:40 AM
Script : http://www.maroceve.com/forums/artis...abat-sale.html
Referrer : http://www.maroceve.com/forums/forum39/
IP Address : 81.192.184.75
Username : EzFacebook
Classname : vB_Database
MySQL Version :
Reply With Quote
  #1155  
Old 02-12-2009, 06:38 PM
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vAsia View Post
I want to create a new independent file (e.g. facebook.php) with only "Connect with Facebook" button in it. That way, I could have the callback url to go to that facebook.php file with "Connect with Facebook" button.

How do I create a new file (facebook.php) with only Facebook" button in it? Currently, "Connect with Facebook" button is in the navbar.
You want a whole page with just a button

And what would you like to name that page??
Reply With Quote
  #1156  
Old 02-12-2009, 10:37 PM
Wunderlust Wunderlust is offline
 
Join Date: Jan 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ekantnl View Post
thank you.. table repair did not solve it. I will try to reinstall...

Did you ever get this to work - I am having th same problems

Tim
Reply With Quote
  #1157  
Old 02-14-2009, 09:52 PM
swellinfo swellinfo is offline
 
Join Date: May 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, very excited about this mod, but I am having an issue, and I believe it is because I have custom code in my header that allows users to login at the very top of my page.

Users are able to sign up through the fb connect, but then it will not log the user in. Here is my code that I use in my header:
PHP Code:
// get vbulletin login info
chdir('forum/');
require_once(
'./global.php');
chdir('../');

$vbuserid $vbulletin->userinfo['userid'];
$vbusername $vbulletin->userinfo['username'];
$vbpmtotal $vbulletin->userinfo['pmtotal'];
$vbpmunread $vbulletin->userinfo['pmunread'];
if (
$vbuserid 0) {
    
$vblogouthash $vbulletin->userinfo['logouthash'];
    if (
$vbpmunread 0) {
        
$vbwelcome "Welcome ".$vbusername.". <a href=\"/forum/private.php\" class=\"toplinkpm\">Private Messages:</a> Unread ".$vbpmunread.", Total ".$vbpmtotal.".";
    } else {
        
$vbwelcome "Welcome ".$vbusername.". <a href=\"/forum/private.php\" class=\"toplink\">Private Messages:</a> Unread ".$vbpmunread.", Total ".$vbpmtotal.".";
    }    

Do I need to edit this code to recognize the FB connect users?

Thanks for any help.
Reply With Quote
  #1158  
Old 02-14-2009, 10:57 PM
swellinfo swellinfo is offline
 
Join Date: May 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by swellinfo View Post
Hi, very excited about this mod, but I am having an issue, and I believe it is because I have custom code in my header that allows users to login at the very top of my page.

Users are able to sign up through the fb connect, but then it will not log the user in. Here is my code that I use in my header:

Do I need to edit this code to recognize the FB connect users?

Thanks for any help.
it looks like maybe this isn't the source of the problem. It is working when current registered users link to their facebook, but it is not working when new users register.

What happens is the new user is registered in the system, but then the forum doesn't recognize them. I am getting DB errors when a new user logs in, and then tries to create a new thread.
Reply With Quote
  #1159  
Old 02-14-2009, 11:58 PM
muratyamac muratyamac is offline
 
Join Date: Nov 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by muratyamac View Post
i double checked it but there is no problem in there
but it's still not working
when i click the facebook connect button it forwards me to www.bilgiclubs.com/forum/#
thanks for the help
anyone can help me too please i'm depressed with this issue
Reply With Quote
  #1160  
Old 02-15-2009, 02:47 AM
Capper5016 Capper5016 is offline
 
Join Date: Sep 2006
Location: Las Vegas, NV
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've checked, doublechecked, and triplechecked everything......and I cant seem to get this to work. I'm not seeing anything in my forums or on my VBAdvanced page that relates to FB.
Reply With Quote
  #1161  
Old 02-15-2009, 03:11 AM
Capper5016 Capper5016 is offline
 
Join Date: Sep 2006
Location: Las Vegas, NV
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, There is a log-in box that shows up on my VBAdvanced homepage with a "Link To Facebook" button below it......when I click on it, it tells me I'm logged in, the it takes me back to the VBAdvanced page, where it askes me to log-in again......and keeps doing this.

http://masdebaters.com/
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 11:12 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.11714 seconds
  • Memory Usage 2,339KB
  • 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
  • (1)bbcode_php
  • (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