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
  #72  
Old 09-23-2011, 01:41 PM
unp unp is offline
 
Join Date: Oct 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also getting blank pages in Internet Explorer

this issue: http://www.google.com/#sclient=psy-a...ent+blank+page
Reply With Quote
  #73  
Old 09-23-2011, 01:50 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Connecting an existing account to FB and posting to the wall seems to be working just fine.

However, when I log out and view my site as a guest would, I'm not seeing any Facebook connect button. From what I've gathered from this thread, I should see a button when not logged in which allows me to register using my FB credentials, right?

Edit - oh, and the Friends tab on my profile is suddenly empty.
Reply With Quote
  #74  
Old 09-23-2011, 02:15 PM
Taringa! CS's Avatar
Taringa! CS Taringa! CS is offline
 
Join Date: May 2009
Location: Argentina
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to change what it's posted on facebook users wall?

Like for ie: "A quick reply ..."
Reply With Quote
  #75  
Old 09-23-2011, 02:53 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
Is it possible to change what it's posted on facebook users wall?

Like for ie: "A quick reply ..."
See the Phrases section at the very end of the INSTALL.html doc.
Reply With Quote
  #76  
Old 09-23-2011, 03:06 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 unp View Post
After updating to ver. 3.0.2, Some users have complained about getting this error:
Code:
The message you have entered is too short. Please lengthen your message to at least 5 characters.
Try changing the "Check Authorization Scope in PHP" setting to no. I wrote some YUI javascript that attaches to the submit button ... I'm guessing these users have older browsers that can't understand the YUI.
Reply With Quote
  #77  
Old 09-23-2011, 03:11 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
However, when I log out and view my site as a guest would, I'm not seeing any Facebook connect button. From what I've gathered from this thread, I should see a button when not logged in which allows me to register using my FB credentials, right?

Edit - oh, and the Friends tab on my profile is suddenly empty.
Yes, the connect button should show to any guest or logged out user. Did you modify the fbconnect_button template? Could it be a browser cache problem? If you view the source HTML is there a images/facebook/fbconnect.png reference? Did you place fbconnect.png in the right directory?

See the fbconnect-button-logic.txt for more info.

Friend count was a bug ... fixed in 3.0.3.
Reply With Quote
  #78  
Old 09-23-2011, 03:14 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 unp View Post
Also getting blank pages in Internet Explorer

this issue: http://www.google.com/#sclient=psy-a...ent+blank+page
I'll add the fix described here in the next release (3.0.4) ...
http://blog.colnect.com/2010/10/fbxd...orkaround.html
Reply With Quote
  #79  
Old 09-23-2011, 03:35 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtbikemike View Post
Yes, the connect button should show to any guest or logged out user. Did you modify the fbconnect_button template? Could it be a browser cache problem? If you view the source HTML is there a images/facebook/fbconnect.png reference? Did you place fbconnect.png in the right directory?
I didn't modify any of your templates - just followed the instructions exactly.

Viewing the source, there's no reference to fbconnect.png at all.

It shows up perfectly when I'm logged in; everything else seems to be working OK. Just nothing when visiting as a guest. Nothing on register.php, either.

Quote:
See the fbconnect-button-logic.txt for more info.
I understand what's supposed to happen. Only.... it's not.

The instructions say to put the button after <if condition="$show['member']">

I'm not an expert, but if that's a conditional of some kind, is it perhaps telling it not to display?
Reply With Quote
  #80  
Old 09-23-2011, 03:38 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 a couple of hours first time you load a forum's page i'm getting the facebook connect image, after reloading page everything it's fine as it should be.

--

Yesterday i cleaned up cookies, and today after loging in i (using vbulletin login) the facebook connect image never shows up as a connected user
Does this possibly happen just on the newthread, newreply or showthread pages?
Reply With Quote
  #81  
Old 09-23-2011, 03:49 PM
unp unp is offline
 
Join Date: Oct 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Morrus View Post

I understand what's supposed to happen. Only.... it's not.

The instructions say to put the button after <if condition="$show['member']">

I'm not an expert, but if that's a conditional of some kind, is it perhaps telling it not to display?
Put '$fbconnect_button' above <if condition="$show['member']", else it won't show to guests.
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:45 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.07194 seconds
  • Memory Usage 2,358KB
  • Queries Executed 26 (?)
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
  • (8)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)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_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