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
  #932  
Old 01-17-2009, 03:17 AM
nMIK-3 nMIK-3 is offline
 
Join Date: Dec 2004
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by solboy View Post
Works fine now. Thanks guys. Great Mod.
OK I edit the htaccess and everything works great now!! :up::up:

One last question.

When you post something on forum the notification on faceboook wall includes the sententes visit MySite. And redirects to mysite.com/forum

How can I made this redirect to mysite.com
Reply With Quote
  #933  
Old 01-17-2009, 08:30 AM
turbosatan turbosatan is offline
 
Join Date: Jul 2007
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nMIK-3 View Post
You mean to manyally edit the .htaccess file?
basically add this

Code:
Options +FollowSymLinks
AllowOverride FileInfo
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
if you already have rewriting on then you may already have the

Code:
Options +FollowSymLinks
RewriteEngine on
in which case just add
Code:
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
on the end of whatever is in there
Reply With Quote
  #934  
Old 01-17-2009, 04:11 PM
sllik sllik is offline
 
Join Date: Apr 2004
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nMIK-3 View Post
sllik

I have a small problem.

I setup the whole thing successfully but I have the following issue.

My forum path in vbulletin settings is http://mysite.com/forum without the www.
I setup the facebook application with the callback URL to be the same as the vbulletin http://mysite.com/forum

Now if somebody access my site by typing http://mysite.com or just mysite.com (without the www.) the facebook connect plugin works flawlessly!

But if you access the website using the www prefix like http://www.mysite.com or just www.mysite.com then the facebook connect is not working. So most of the people that enter my site and using the www. prefix cannot use facebook connect.

I tried change the forum path in vbulletin settings by adding the www. prefix and updated the facebook application callback URL with the www. prefix and I am getting the exact opposite results.

Now when you enter the site with the www prefix like http://www.mysite.com you can use the facebook connect. But if you enter it without the www like http://mysite.com then facebook connect once again is not working.

Any idea how I can make it work with both the www. prefix and without?

Is this a known issue?
I think there is actually a better way than editing the .htaccess file. In the facebook app settings under the Connect tab set the Base Domain setting.
Reply With Quote
  #935  
Old 01-17-2009, 07:52 PM
fmckinnon fmckinnon is offline
 
Join Date: Jun 2008
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm very excited to have found this mod, and hope to install it. A couple of questions first:

1 - is there any known conflict with the vbulletin/wordpress bridge mod? We use this so that our forum members can also comment on the wordpress-driven portion of the site, etc. The mod basically shares VB users as WP users.

2 - just to make sure I'm understanding ... we require registration (which includes email activation) to create new threads or respond to threads. If someone comes along and logs in w/ their FaceBook account - will they be able to post immediately, or will the email activation go to them (or I assume, their FaceBook email account?)

Thanks in advance - will likely pay to have this installed if the answers are favorable.
http://www.theworshipcommunity.com/forums/
Reply With Quote
  #936  
Old 01-17-2009, 09:15 PM
BellyBelly's Avatar
BellyBelly BellyBelly is offline
 
Join Date: Jun 2006
Location: Melbourne, Australia
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this working on 3.8?
Reply With Quote
  #937  
Old 01-18-2009, 01:10 AM
fmckinnon fmckinnon is offline
 
Join Date: Jun 2008
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BellyBelly -
I've seen reports that it *IS* working.

OK - I've installed it now on http://www.theworshipcommunity.com/forums/

However,
When I attempt to view the application on FaceBook, it gives me this on this link:
http://apps.facebook.com/theworshipcommunity/

Errors while loading page from application
Parse errors:

CSS Error (line 32 char 30): Error in parsing value for property.: 'background-repeat' Declaration dropped.

FBML Error (line 348): illegal tag "body" under "fb:canvas"

CSS Error (line 355 char 140): Error in parsing value for property.: 'background-repeat' Declaration dropped.

FBML Error (line 397): illegal tag "noscript" under "fb:canvas"

FBML Error (line 580): illegal tag "noscript" under "fb:canvas"

FBML Error (line 625): illegal tag "noscript" under "fb:canvas"

There are still a few kinks Facebook and the makers of TheWorshipCommunity.Com are trying to iron out. We appreciate your patience as we try to fix these issues. Your problem has been logged - if it persists, please come back in a few days. Thanks!
Reply With Quote
  #938  
Old 01-18-2009, 01:36 PM
Big-K Big-K is offline
 
Join Date: Feb 2005
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Slikk,

This is working great on my site. Thanks for helping with the install. Three questions

1. I have a vb login on the homepage of my site (non-vb page). Is there any way I can have Facebook Connect on this login page?

2. I don't have the vbconnect link like you have in the fourth screenshot. Is that an omission?

3. How can I re-associate a user an existing user with a different facebook account if its already associated with another.
Reply With Quote
  #939  
Old 01-18-2009, 03:12 PM
usearchme usearchme is offline
 
Join Date: Jul 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with 3.8 ?

Woc
Reply With Quote
  #940  
Old 01-18-2009, 03:27 PM
music legend music legend is offline
 
Join Date: Mar 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by usearchme View Post
Does this work with 3.8 ?

Woc
yes it is working just fine with 3.8
Reply With Quote
  #941  
Old 01-18-2009, 08:46 PM
Phaedrus Phaedrus is offline
 
Join Date: Jul 2006
Location: Colorado
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it stop them from using a nick that is already in use as a registered name?
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:24 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.06034 seconds
  • Memory Usage 2,321KB
  • 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
  • (4)bbcode_code
  • (4)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