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
  #312  
Old 02-27-2009, 08:29 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please do not use this thread to discuss any paid feature or paid service.
Reply With Quote
  #313  
Old 02-28-2009, 11:02 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay while i had this product disabled, Noone could post on the forum not ewen me as admin.

It said please lengthen your message to atleast 10 characters, which also is odd in itself.

So just notice when you disable this, i couldnt use the forum at all, only for viewing.
well it was the 2.0.3 version.

Upgraded to 2.0.4.
Reply With Quote
  #314  
Old 02-28-2009, 11:11 AM
RedDevil's Avatar
RedDevil RedDevil is offline
 
Join Date: Mar 2008
Location: Cumbria, UK
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vaupell View Post
okay while i had this product disabled, Noone could post on the forum not ewen me as admin.

It said please lengthen your message to atleast 10 characters, which also is odd in itself.

So just notice when you disable this, i couldnt use the forum at all, only for viewing.
well it was the 2.0.3 version.

Upgraded to 2.0.4.
funny you mention that, i disabled it and i kept getting post too short error but when i went back and resubmitted it was ok.

There is no on off button for this I had to disable the plug ins too, ive upgraded to new one now hopefully this bug will be fixed in case it needs turning off in the future
Reply With Quote
  #315  
Old 02-28-2009, 11:13 AM
Derekclarke's Avatar
Derekclarke Derekclarke is offline
 
Join Date: Dec 2005
Location: N.Devon
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Even with this Update i still get the same error as before.

I run 2 forums and I am getting this error on Both.

Parse error: syntax error, unexpected '{' in /home/***/public_html/includes/functions.php(5584) : eval()'d code on line 13

Parse error: syntax error, unexpected '{' in /home/*****/public_html/includes/functions.php(5584) : eval()'d code on line 13
Reply With Quote
  #316  
Old 02-28-2009, 11:15 AM
RedDevil's Avatar
RedDevil RedDevil is offline
 
Join Date: Mar 2008
Location: Cumbria, UK
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Derekclarke View Post
Even with this Update i still get the same error as before.

I run 2 forums and I am getting this error on Both.


Parse error: syntax error, unexpected '{' in /home/derek/public_html/includes/functions.php(5584) : eval()'d code on line 13


Parse error: syntax error, unexpected '{' in /home/scoobies/public_html/includes/functions.php(5584) : eval()'d code on line 13
Its the settings in the facebook side took me ages to get it working
Reply With Quote
  #317  
Old 02-28-2009, 11:18 AM
bposner bposner is offline
 
Join Date: Feb 2009
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got emails telling us to shut down this app now I have one saying I can restore it.
We use Facebook Connect 2.0.3 Do we need to update?
Reply With Quote
  #318  
Old 02-28-2009, 11:24 AM
testbot testbot is offline
 
Join Date: Feb 2009
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vaupell View Post
okay while i had this product disabled, Noone could post on the forum not ewen me as admin.

It said please lengthen your message to atleast 10 characters, which also is odd in itself.

So just notice when you disable this, i couldnt use the forum at all, only for viewing.
well it was the 2.0.3 version.

Upgraded to 2.0.4.

i believe you have to remove the changes that were made to the templates as well. they still make calls to facebook so disabling the product is not enough.


Quote:
Originally Posted by Red-Devil View Post
funny you mention that, i disabled it and i kept getting post too short error but when i went back and resubmitted it was ok.

There is no on off button for this I had to disable the plug ins too, ive upgraded to new one now hopefully this bug will be fixed in case it needs turning off in the future
i made a style that had no FB Connect changes and made all other templates child styles. then when everything is fixed i move the child styles back to the parent that had all the changes.

Quote:
Originally Posted by Derekclarke View Post
Even with this Update i still get the same error as before.

I run 2 forums and I am getting this error on Both.


Parse error: syntax error, unexpected '{' in /home/***/public_html/includes/functions.php(5584) : eval()'d code on line 13


Parse error: syntax error, unexpected '{' in /home/***/public_html/includes/functions.php(5584) : eval()'d code on line 13
just a guess but it sounds like one of your templates wasn't edited properly.

btw, it's a good practice to remove your user name from the full path to your directories when posting on public boards and stuff.
Reply With Quote
  #319  
Old 02-28-2009, 12:30 PM
Ross L Ross L is offline
 
Join Date: Apr 2008
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgraded to 2.0.4 but when I click "News-Feed Templates" now in the admin CP, I get this error:

Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Session key invalid or no longer valid' in /home/XXXXX/public_html/forums/includes/facebook/facebookapi_php5_restlib.php:2403 Stack trace: #0 /home/XXXXX/public_html/forums/includes/facebook/facebookapi_php5_restlib.php(672): FacebookRestClient->call_method('facebook.feed.g...', Array) #1 /home/XXXXX/public_html/forums/admincontrolp/fbconnect_registertemplates.php(87): FacebookRestClient->feed_getRegisteredTemplateBundles() #2 /home/XXXXX/public_html/forums/vbseo.php(1471): require('/home/XXXXX/p...') #3 {main} thrown in /home/XXXXX/public_html/forums/includes/facebook/facebookapi_php5_restlib.php on line 2403

Any ideas?

Cheers,

Ross
Reply With Quote
  #320  
Old 02-28-2009, 01:27 PM
Derekclarke's Avatar
Derekclarke Derekclarke is offline
 
Join Date: Dec 2005
Location: N.Devon
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I think i have found the Problem.

On the facebook end i am getting an error when i set the callback URL

Validation failed.

Base Domain is not a valid domain.


So what am i doing wrong? I have entered my forum address in the box.. Including http://www. and a trailing /
Reply With Quote
  #321  
Old 02-28-2009, 01:54 PM
smnet smnet is offline
 
Join Date: Feb 2009
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Given that people have to choose a nickname they can still choose to hide their identity on the forum regardless of facebook settings. Only their facebook friends will know who is who on the forum - I like this.

I would like to see an option to participate, or opt out of using the facebook avatar. Using the facebook profile image should be optional, not forced. They choose to mask their identity by picking an obscure username and along with it might want to opt out of using their facebook profile image as an avatar.

Anyway - this is an absolutely fantastic hack and i love it. For now (until such option is available) can anybody share with me a way to stop my site using the facebook profile picture as an avatar? I wish to stop this for all users and just let it fall back to the forum default.

Thanks very much!
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:20 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.05313 seconds
  • Memory Usage 2,330KB
  • 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
  • (5)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