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
  #712  
Old 01-03-2009, 02:50 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jlew24asu View Post
really? I dont see it anywhere. is there install instructions?
There are no special instructions, he just modified the core code to account for it.
Reply With Quote
  #713  
Old 01-03-2009, 05:08 AM
StonePilot StonePilot is offline
 
Join Date: Jan 2007
Location: Texas
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by McCarroll21 View Post
I figure it's something simple, but would you have any idea of what I need to pay more attention to? It's odd to have it mess up twice and it be the exact same thing both times.
I got the same thing, had to uninstall and roll back the templates, it's taken me an hour so far and members can't post because every reply is too short no matter what the length is.

I thought I was careful when changing the templates, but there were quite a few ... I'm not a big fan of template changes like that, don't think I'll be trying it again.


Update: I found this thread. http://www.vbulletin.com/forum/showthread.php?t=259421

I am using a very heavily customized template, maybe a conflict???
Reply With Quote
  #714  
Old 01-03-2009, 08:39 AM
SpArKs85 SpArKs85 is offline
 
Join Date: Dec 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any resolve on the looping ?

I have upgraded from 1.1.3 to 2.0.1

I have cleared the browser cache. Several times in sheer desperation...

Tried it in IE; loads with page errors. (yellow ! in left hand bottom corner).

Next day, sober. Problem still exists.

Reinstalled the xml file and re-did the template edits just to be sure....

Problem still exists.

Now this could be the butt of the problem, but I hope it isn't. I'm running vb 3.6.8.

fbconnect-1.1.3 worked fine with it as far as I could see.

Now it doesn't want to load that connect button...

EDIT: Error codes from IE:
Code:
Webpage Script Errors

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727)
Timestamp: Sat, 3 Jan 2009 10:51:53 UTC
Message: 'YAHOO' is undefined
Line: 29
Char: 1
Code: 0
URI: http://uttertalk.com/clientscript/fbconnect.js
URL: http://uttertalk.com
Reply With Quote
  #715  
Old 01-03-2009, 08:49 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StonePilot View Post
I got the same thing, had to uninstall and roll back the templates, it's taken me an hour so far and members can't post because every reply is too short no matter what the length is.

I thought I was careful when changing the templates, but there were quite a few ... I'm not a big fan of template changes like that, don't think I'll be trying it again.


Update: I found this thread. http://www.vbulletin.com/forum/showthread.php?t=259421

I am using a very heavily customized template, maybe a conflict???
No, I doubt it very much. I am using a stock newthread and newreply template and I still had the issue. Something in the JS has changed
Reply With Quote
  #716  
Old 01-03-2009, 11:53 AM
verino verino is offline
 
Join Date: May 2008
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi sllik,

I followed your installation instructions, but on step 5 :

Step 5:

Go to FB Connect Options > News-Feed Templates and register default templates.

I got this error :

Quote:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in [path]/includes/facebook/facebookapi_php5_restlib.php on line 2487

Warning: fopen(http://api.facebook.com/restserver.php) [function.fopen]: failed to open stream: no suitable wrapper could be found in [path]/includes/facebook/facebookapi_php5_restlib.php on line 2487
I decide to stop and not to go to template edit before this problem fixed.

Any idea ?

Thank's.
Reply With Quote
  #717  
Old 01-03-2009, 12:13 PM
SpArKs85 SpArKs85 is offline
 
Join Date: Dec 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SpArKs85 View Post
Any resolve on the looping ?

I have upgraded from 1.1.3 to 2.0.1

I have cleared the browser cache. Several times in sheer desperation...

Tried it in IE; loads with page errors. (yellow ! in left hand bottom corner).

Next day, sober. Problem still exists.

Reinstalled the xml file and re-did the template edits just to be sure....

Problem still exists.

Now this could be the butt of the problem, but I hope it isn't. I'm running vb 3.6.8.

fbconnect-1.1.3 worked fine with it as far as I could see.

Now it doesn't want to load that connect button...

EDIT: Error codes from IE:
Code:
Webpage Script Errors

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727)
Timestamp: Sat, 3 Jan 2009 10:51:53 UTC
Message: 'YAHOO' is undefined
Line: 29
Char: 1
Code: 0
URI: http://uttertalk.com/clientscript/fbconnect.js
URL: http://uttertalk.com
It appears that 2.0.1 is not compatible with 3.6.8. It uses 3.7 code to function....I guess it's time to upgrade...
Reply With Quote
  #718  
Old 01-03-2009, 02:03 PM
StonePilot StonePilot is offline
 
Join Date: Jan 2007
Location: Texas
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dean C View Post
No, I doubt it very much. I am using a stock newthread and newreply template and I still had the issue. Something in the JS has changed
Hmm, totally stock and it still came up, what's the cause of a few of us seeing this issue then I wonder?
Reply With Quote
  #719  
Old 01-03-2009, 02:40 PM
fattony69 fattony69 is offline
 
Join Date: Jun 2007
Location: Philly
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I got this to work. Do people who are already members get to use this?
Reply With Quote
  #720  
Old 01-03-2009, 04:49 PM
sllik sllik is offline
 
Join Date: Apr 2004
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v2.0.2 is out!
Fixed the notification problem
Login button will be displayed on all vb pages (including vbAdvanced)
Reply With Quote
  #721  
Old 01-03-2009, 04:59 PM
jammiedodger546 jammiedodger546 is offline
 
Join Date: May 2008
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the update
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 10:56 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.12946 seconds
  • Memory Usage 2,329KB
  • 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
  • (3)bbcode_code
  • (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