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
  #442  
Old 12-17-2008, 06:27 PM
sllik sllik is offline
 
Join Date: Apr 2004
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by juanpablo View Post
Other... How can I traslated the "Feed Template"???
go to FB Connect Options -> News-Feed Templates and click on [ Create New Templates ]. After you create your new templates in your language, update the template ids in the FB Connect options.
Reply With Quote
  #443  
Old 12-17-2008, 06:36 PM
sllik sllik is offline
 
Join Date: Apr 2004
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some people are asking about the Facebook proxy email that the user is registered with on the forum. Users will be able to receive emails if they allow this through the email settings that they can change during their first login or in the user cp.
Reply With Quote
  #444  
Old 12-17-2008, 07:46 PM
soniceffect's Avatar
soniceffect soniceffect is offline
 
Join Date: Feb 2005
Location: UK
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I seem to be getting the following on the newfeed templates page .. is this gonna cause me any issues?

PHP5 btw

PHP Code:

Warning
: include_once(jsonwrapper/jsonwrapper.php) [function.include-once]: failed to open streamNo such file or directory in [path]/includes/facebook/facebookapi_php5_restlib.php on line 34

Warning
: include_once() [function.include]: Failed opening 'jsonwrapper/jsonwrapper.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in [path]/includes/facebook/facebookapi_php5_restlib.php on line 34 



EDIT: Reuploaded the files and working fine now m8 ..... cheers
Reply With Quote
  #445  
Old 12-17-2008, 08:00 PM
juanpablo's Avatar
juanpablo juanpablo is offline
 
Join Date: Oct 2006
Location: Argentina, Buenos Aires
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sllik View Post
go to FB Connect Options -> News-Feed Templates and click on [ Create New Templates ]. After you create your new templates in your language, update the template ids in the FB Connect options.

I tried, but Im not a "coder" person....

I put the code :

{*actor*} replied to <a href="{*threadurl*}">{*threadtitle*}</a>.

on Spanish but I get erros every time... I dont know how to do it... Im also serch some tutorial but nothig at all about this "vbulletin" mod...
Reply With Quote
  #446  
Old 12-17-2008, 08:23 PM
sllik sllik is offline
 
Join Date: Apr 2004
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by juanpablo View Post
I tried, but Im not a "coder" person....

I put the code :

{*actor*} replied to <a href="{*threadurl*}">{*threadtitle*}</a>.

on Spanish but I get erros every time... I dont know how to do it... Im also serch some tutorial but nothig at all about this "vbulletin" mod...
what did you put? what was the error?
Reply With Quote
  #447  
Old 12-17-2008, 08:40 PM
jlew24asu jlew24asu is offline
 
Join Date: Nov 2006
Location: Chicago, IL USA
Posts: 702
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does anyone with coding/admin experience want to help$ me? preferably with CMPS and this hack working? please pm me
Reply With Quote
  #448  
Old 12-18-2008, 12:06 PM
burlesque's Avatar
burlesque burlesque is offline
 
Join Date: May 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a strange problem which has been sort of covered already, however I've noticed something which I'm not too sure how to fix.

If I go to

http://www.mydomain.com

and log in using Facebook Connect, everything is fine.

However, if I go to

http://mydomain.com (ie, without the www) I get the following:

The Facebook Connect cross-domain receiver URL http://mydomain.com/xd_receiver.htm#...%220.168%22%7D must have the application's callback URL http://www.mydomain.com/xd_receiver.htm as a prefix. You can configure the callback URL in the application's settings.

ie - the mod works fine for 'www.mydomain.com' but if you access from 'mydomain.com' it doesn't work as the callback url is configured as 'www'mydomain.com'

I could only see one place in Facebook to enter the callback url, so how is this fixed?!
Reply With Quote
  #449  
Old 12-18-2008, 12:11 PM
TriMe's Avatar
TriMe TriMe is offline
 
Join Date: Apr 2008
Location: Ottawa
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by burlesque View Post
I'm having a strange problem which has been sort of covered already, however I've noticed something which I'm not too sure how to fix.

If I go to

http://www.mydomain.com

and log in using Facebook Connect, everything is fine.

However, if I go to

http://mydomain.com (ie, without the www) I get the following:

The Facebook Connect cross-domain receiver URL http://mydomain.com/xd_receiver.htm#...%220.168%22%7D must have the application's callback URL http://www.mydomain.com/xd_receiver.htm as a prefix. You can configure the callback URL in the application's settings.

ie - the mod works fine for 'www.mydomain.com' but if you access from 'mydomain.com' it doesn't work as the callback url is configured as 'www'mydomain.com'

I could only see one place in Facebook to enter the callback url, so how is this fixed?!
I mentioned this here - there is a link to a page in that post that will show you how to add rewrites to your htaccess file.
Reply With Quote
  #450  
Old 12-18-2008, 12:19 PM
jlew24asu jlew24asu is offline
 
Join Date: Nov 2006
Location: Chicago, IL USA
Posts: 702
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TriMe View Post
I mentioned this here - there is a link to a page in that post that will show you how to add rewrites to your htaccess file.
my host tells me I have no htaccess file in my directories. then what?
Reply With Quote
  #451  
Old 12-18-2008, 12:30 PM
TriMe's Avatar
TriMe TriMe is offline
 
Join Date: Apr 2008
Location: Ottawa
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jlew24asu View Post
my host tells me I have no htaccess file in my directories. then what?
You should have one in your admincp/modcp folder for security.

Regardless you can create one yourself or go to your domain CP and password protect a dir. That will create the file. Or you can download my attachment. Unzip, edit it and ftp it to your rootdir.
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:14 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.05080 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
  • (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