Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Facebook Connect - Update for Facebook PHP SDK (v.3.0.0) Details »»
Facebook Connect - Update for Facebook PHP SDK (v.3.0.0)
Version: 3.0.5, by mtbikemike mtbikemike is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.7 Rating:
Released: 09-12-2011 Last Update: 09-29-2011 Installs: 56
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

I rewrote this plugin using ideas from sllik's mod.

Not Supported!!
This code is not supported. The Facebook API has since changed. Only provided for open source purposes ... feel free to modify at your own risk.

Download Now

File Type: zip fbconnect-3.0.4.zip (35.4 KB, 212 views)
File Type: zip fbconnect-3.0.5.zip (35.6 KB, 954 views)

Screenshots

File Type: jpg indexpage-logged-in.JPG (30.4 KB, 0 views)
File Type: jpg newpost.JPG (36.0 KB, 0 views)
File Type: jpg indexpage.JPG (50.8 KB, 0 views)
File Type: jpg connectpage.JPG (99.9 KB, 0 views)
File Type: jpg FBConnectClickFlow.jpg (46.7 KB, 0 views)
File Type: jpg FBConnectSession.jpg (44.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
JohorBahru, Taringa! CS, Vibhor

Comments
  #112  
Old 09-26-2011, 05:03 PM
mtbikemike mtbikemike is offline
 
Join Date: Nov 2010
Location: Park City, Utah, United S
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Taringa! CS View Post
After upgrading to 3.0.4 i've got some problems like
*) I'm logged in and i can login using facebook
If you close the browser after logging in with FB connect, when you reopen it, it won't be connected anymore. I'm saving the connect status in the vb session object, but it looks like the vb session object needs to know about plugin variables. I'll work on a fix for this.


Quote:
Originally Posted by Taringa! CS View Post
After upgrading to 3.0.4 i've got some problems like

*) I'm logged out and after trying to login using fb button wrong username/password error it's shown
The only way you can get this error is if you go to fblogin.php and the code can't get your FB User ID (either because the FB cookie wasn't set or you typed that url in directly).
Reply With Quote
  #113  
Old 09-26-2011, 05:24 PM
Taringa! CS's Avatar
Taringa! CS Taringa! CS is offline
 
Join Date: May 2009
Location: Argentina
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtbikemike View Post
If you close the browser after logging in with FB connect, when you reopen it, it won't be connected anymore. I'm saving the connect status in the vb session object, but it looks like the vb session object needs to know about plugin variables. I'll work on a fix for this.
Ok, waiting for the fix because i've already connected my facebook to my vb account and on forums i can't see that conection

Quote:
Originally Posted by mtbikemike View Post
The only way you can get this error is if you go to fblogin.php and the code can't get your FB User ID (either because the FB cookie wasn't set or you typed that url in directly).
Even i'm logged in or out, i'm getting this error when clicking on facebook button!
Reply With Quote
  #114  
Old 09-26-2011, 06:08 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, just installed the latest version.

I haven't had chance to test it fully yet, but there's some odd stuff going on with tables or something in the navbar which didn't happen in the 3.02 version. The button seems to be contained to the top half of a table cell or something. Screenshot attached.

Pressing the button simply takes me to the "Thank you for logging in, Morrus" interrupt screen, and then takes me back to the forum index with no effect. No Facebook window popup or anything.

[Edit - OK, it must simply remember that I connected my FB account when 3.02 was running, because now my FB avatar is there].

It no worky yet. Sorry. Though maybe the second issue is a non-issue.
Attached Images
File Type: jpg screen.jpg (39.8 KB, 0 views)
Reply With Quote
  #115  
Old 09-26-2011, 09:21 PM
mtbikemike mtbikemike is offline
 
Join Date: Nov 2010
Location: Park City, Utah, United S
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Morrus View Post
OK, just installed the latest version.

I haven't had chance to test it fully yet, but there's some odd stuff going on with tables or something in the navbar which didn't happen in the 3.02 version. The button seems to be contained to the top half of a table cell or something. Screenshot attached.

Pressing the button simply takes me to the "Thank you for logging in, Morrus" interrupt screen, and then takes me back to the forum index with no effect. No Facebook window popup or anything.

[Edit - OK, it must simply remember that I connected my FB account when 3.02 was running, because now my FB avatar is there].

It no worky yet. Sorry. Though maybe the second issue is a non-issue.

RE navbar: I had to switch over to checking user's online status with javascript. Because FB doesn't destroy their cookie on logout, a race condition occurs where if the user logged out from facebook, they would still appear logged in on FB within vb and would get a FB error if they tried to post a thread. So there's a bunch of new logic in the fbconnect_button and fbconnect_init templates. You probably customized fbconnect_button, right?

RE second item: That's how it should work, you probably already linked your account to FB.
Reply With Quote
  #116  
Old 09-26-2011, 09:57 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtbikemike View Post
RE navbar: I had to switch over to checking user's online status with javascript. Because FB doesn't destroy their cookie on logout, a race condition occurs where if the user logged out from facebook, they would still appear logged in on FB within vb and would get a FB error if they tried to post a thread. So there's a bunch of new logic in the fbconnect_button and fbconnect_init templates. You probably customized fbconnect_button, right?
Haven't touched it.

The issue isn't anything to do with the functionality, it's simply the display - the button's positioning looks wonky, different to how it looked in the 3.02 version. I haven't dared to touch anything for fear of breaking it.
Reply With Quote
  #117  
Old 09-26-2011, 11:37 PM
Taringa! CS's Avatar
Taringa! CS Taringa! CS is offline
 
Join Date: May 2009
Location: Argentina
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mtbikemike any hints on my case? thanks!
Reply With Quote
  #118  
Old 09-27-2011, 11:40 AM
jlew24asu jlew24asu is offline
 
Join Date: Nov 2006
Location: Chicago, IL USA
Posts: 702
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running 3.8.4, is this safe to install yet?

silk's mod was a disaster and really messed up countless boards. I'd realyl love to install this but would love confirmation that it's working.

thank you to the coder for giving it another try.
Reply With Quote
  #119  
Old 09-27-2011, 12:00 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried uninstalling at reinstalling, but when attempting to reinstall I get the following error:

XML Error: Processing Instruction not finished at Line 151
Reply With Quote
  #120  
Old 09-27-2011, 04:20 PM
mtbikemike mtbikemike is offline
 
Join Date: Nov 2010
Location: Park City, Utah, United S
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jlew24asu View Post
I'm running 3.8.4, is this safe to install yet?

silk's mod was a disaster and really messed up countless boards. I'd realyl love to install this but would love confirmation that it's working.

thank you to the coder for giving it another try.
Yeah, this is turning into a head ache. Thought I tested it pretty thoroughly, but there are some non-normal use cases and unexpected browser dependencies. Add to that two sets of sessions/cookies that make debugging difficult.

I'm going to mark this as in beta and continue working on it until it gets rock solid.

For those of you who installed, thank you for helping out. I recommend uninstalling and waiting a bit until I get this all straightened out. I'm not giving up yet!!
Reply With Quote
2 благодарности(ей) от:
Artes_Marciales, Ipuck
  #121  
Old 09-27-2011, 05:06 PM
Taringa! CS's Avatar
Taringa! CS Taringa! CS is offline
 
Join Date: May 2009
Location: Argentina
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great news mike!
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 09:04 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.04795 seconds
  • Memory Usage 2,368KB
  • Queries Executed 28 (?)
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
  • (7)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
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete