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
  #992  
Old 07-31-2009, 03:07 AM
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i m having a trouble on step 1.
when i set base domain
Code:
Click on the Connect tab and set the Base Domain to your domain (siteurl.com) without the http or www.
i get this error
Quote:
Validation failed.

Base Domain is not valid. Connect URL must be derived from your Base Domain.
Please help me out.
Reply With Quote
  #993  
Old 07-31-2009, 03:20 AM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tafreeh View Post
Please help me out.
See the screens I posted here, make sure your setup is exactly like that (sans the url/domain of course).
Reply With Quote
  #994  
Old 07-31-2009, 03:20 AM
bposner bposner is offline
 
Join Date: Feb 2009
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wolfstream View Post
bposner:

This is the way the system should have always handled things. When a thread or reply is posted, the user should be given the popup to post it to facebook. It hasn't happened every time before?

Realistically, there's no other way to do this one except turn it off permamently (via their usercp).
I only used this a few times, I installed (or you did ) mainly because users were asking for some kind of interface... So what I remember and from what they tell me, the box that came up use to have a check box, that basically said don't ask this again. Sound familiar? btw I show nothing in the userCP for this mod -- this isn't high priority btw
Thanks
Reply With Quote
  #995  
Old 07-31-2009, 03:45 AM
webuser00 webuser00 is offline
 
Join Date: Jan 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wolfstream View Post
This isn't going to work at all, you need to pick one and stick with it. Facebook allows you to use one url for your app to "connect" to, and only one. This can either be www.domain or forums.domain.
I am almost positive that this used to work on my board. What's the point of the baseURL then? I just want people to be able to click the facebook connect button off of my vbadvanced page. The vbadvanced page is my homepage, and the actual forums are located on forums.domain.com

The whole site is just a vbulletin forum, nothing else.

Please let me know if it should work, or if I can use some kind of workaround.

Here's a link to my original problem post, just in case you dont remember what I'm talking about:
https://vborg.vbsupport.ru/showpost....&postcount=971
Reply With Quote
  #996  
Old 07-31-2009, 06:58 AM
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, i just install this hack followed all the step except for the option template editing.

and guess what. i dun see a bit change at my forum, not even a "connect with facebook" button at my page.

Any idea whats wrong?

Edited:

for navbar template changes, i didnt have that code in navbar it was in header
Quote:
Template: navbar

Find:
<!-- / login form -->
Reply With Quote
  #997  
Old 07-31-2009, 03:24 PM
tomsor tomsor is offline
 
Join Date: May 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also did not have a navbar template in my theme, the "<!-- / login form -->" was in my header template..

So I just installed the code ABOVE <!-- / login form --> in the header template.. And everthing works perfectly !

Thanx for this mod!
Reply With Quote
  #998  
Old 07-31-2009, 05:53 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled I get this error on my site
Fatal error: Cannot redeclare class Facebook in /home/chattabo/public_html/includes/facebook/facebook.php on line 37

Any Ideas?
Reply With Quote
  #999  
Old 07-31-2009, 06:42 PM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

matthew:
This happens when you have another app using the facebook class setup. Somehow, another one of your plugins is using the facebook class, and it can't be defined twice.

tafreeh:
Make sure you have BOTH the navbar (or header) AND the footer code edits installed, and any other required edits, as well as your settings match what I posted earlier.

webuser00:
This isn't an application problem, but a facebook problem. I'd suggest you post the issue to their forums, not here. As I said before, you can only run the app on one domain (including subdomains), so, you need to fix that. Maybe earlier they DIDN'T have this requirement, but as it is now, that's how the setup works. You need to get further clarification from the facebook application team.

bposner:
I've never seen this app have a "remember this choice" option. That would be very spam prone, honestly, and I don't see that as happening. Facebook DOES care about spam, as compared to the other guys. You don't want your app banned for spam, so, just turn off notifications then.
Reply With Quote
  #1000  
Old 07-31-2009, 06:46 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But ive only just uploaded the facebook files! so how can something else be using it
Reply With Quote
  #1001  
Old 07-31-2009, 08:31 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Figured out what it is, it's the open invitor mod Any chance of a workaround?
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 01:15 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.06157 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
  • (2)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
  • (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