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
  #542  
Old 04-08-2009, 12:57 PM
skylab's Avatar
skylab skylab is offline
 
Join Date: Feb 2009
Location: Everywhere
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have users installing the app on facebook without going to the website and clicking on Connect To Facebook button. Anyway I can resolve this? There also seems to be an iframe of the website on facebook when they install the app on facebook?
Reply With Quote
  #543  
Old 04-08-2009, 02:05 PM
RidinHighSpeeds RidinHighSpeeds is offline
 
Join Date: Mar 2006
Location: Taxachusetts
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there an easier way for already registered forum members to create a tie with their facebook account and forum account? Currently I had to log out of the web site, select facebook connect to enter in my details which would then create the tie..

It would be very user-friendly if the "Facebook Connect" icon was always available IF there currently is no tie with the users account and facebook.. Then the user would select the icon and enter in his/her login credentials to create the tie..

Not sure how the tie is made.. Do they have to add the application in facebook and then the tie is made??
Reply With Quote
  #544  
Old 04-08-2009, 02:06 PM
RidinHighSpeeds RidinHighSpeeds is offline
 
Join Date: Mar 2006
Location: Taxachusetts
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skylab View Post
I have users installing the app on facebook without going to the website and clicking on Connect To Facebook button. Anyway I can resolve this? There also seems to be an iframe of the website on facebook when they install the app on facebook?
I get the same iframe which doesn't look to great in the application..I think this is necessary though?
Reply With Quote
  #545  
Old 04-08-2009, 03:50 PM
madotds madotds is offline
 
Join Date: Oct 2007
Location: UK
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Thanks for this Mod it looks great But..... ( there is always a "but")

I have installed this on a test forum and I have noticed that when you register by using the FB mod it does not transfere or ask for a password for the forum. This is fine if a user always uses the FB app to log in BUT
I the user had to log in by traditional methoods they would get the "username password" incorrect because there is no password in the forum database.

Should you build a large number of users with this and then remove the FB mod you would have alot of users needing to request passwords.

Maybe there is away to force a redirect a new FB regristration to a page where they have to fill in there real email and password before using the forum?

Cheers

Madotds
Reply With Quote
  #546  
Old 04-08-2009, 05:46 PM
frogster frogster is offline
 
Join Date: Feb 2009
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by madotds View Post
Hi Thanks for this Mod it looks great But..... ( there is always a "but")

I have installed this on a test forum and I have noticed that when you register by using the FB mod it does not transfere or ask for a password for the forum. This is fine if a user always uses the FB app to log in BUT
I the user had to log in by traditional methoods they would get the "username password" incorrect because there is no password in the forum database.

Should you build a large number of users with this and then remove the FB mod you would have alot of users needing to request passwords.

Maybe there is away to force a redirect a new FB regristration to a page where they have to fill in there real email and password before using the forum?

Cheers

Madotds
That would be a great option...I am looking for the same.
Reply With Quote
  #547  
Old 04-08-2009, 06:54 PM
emailapphost emailapphost is offline
 
Join Date: Oct 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed the Facebook connect on two different vBulletin instalations.

I am getting this annoying one liner error at the top of both forums now, can figure out what is is. Any ideas appreciated. Thanks.
When I disable the Facebook connect product the error disappears.

Parse error: syntax error, unexpected '{' in /home/tvallyc/public_html/includes/functions.php(5586) : eval()'d code on line 9

I did these changes to function.php (a developer did this for me):

// parse PHP include ##################
if (!is_demo_mode())
{
//echo "hook = ".$hook."<br>";
//($hook = vBulletinHook::fetch_hook('global_complete')) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('global_complete');
print_r($hook);
if($hook) eval($hook);
}

And got this:

require_once(DIR . '/includes/facebook/facebook.php'); if ($_GET['fblogout']) { if ($vbulletin->facebook == null) $vbulletin->facebook = new Facebook($vbulletin->options['fbconnect_apikey'], $vbulletin->options['fbconnect_secret']); try { $vbulletin->facebook->kill_cookies(); } catch(FacebookRestClientException $ex) { } }
Parse error: syntax error, unexpected '{' in /home/tvallyc/public_html/includes/functions.php(5590) : eval()'d code on line 9

UPDATE:
This was actually a PHP 4 error, I had PHP 4 installed and it worked smooth as soon as I went to PHP 5.
Reply With Quote
  #548  
Old 04-09-2009, 12:32 AM
fattony69 fattony69 is offline
 
Join Date: Jun 2007
Location: Philly
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My connect button doesn't work what so ever. I had this running on another forum and it worked fine.
Reply With Quote
  #549  
Old 04-10-2009, 04:32 AM
sdsvtdriver sdsvtdriver is offline
 
Join Date: Mar 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mum View Post
I get an odd problem - when i post a new thread - it posts on my facebook account with a new thread discussion - however it links to the forum, not the thread - isn't this a bit silly? How can i fix this?
i am suddenly experiencing the same issue.
Reply With Quote
  #550  
Old 04-10-2009, 11:14 AM
emailapphost emailapphost is offline
 
Join Date: Oct 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using Facebook connect with a forum using the official vBulletin blog mod.

New forum posts are posted to Facebook.
But, new blog posts are not posted to Facebook.

Please add the "Post to Facebook" feature also to blog posts.

Thank you.
Reply With Quote
  #551  
Old 04-10-2009, 05:27 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my button dont work in ie or firefox i followed the instructions ??

my forum and home page url is

http://www.dieselbombers.com

in vbulletin options , thats what i put in the CALLBACK

fixed IT !!!

in the directions it says
#
# Click on the Connect tab and set the Base Domain to your domain (siteurl.com) without the http or www.

Thats wrong
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 12:29 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.05371 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
  • (1)bbcode_code
  • (3)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