The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Facebook Connect - Update for Facebook PHP SDK (v.3.0.0) Details »» | |||||||||||||||||||||||||||||||||||||||||||
Facebook Connect - Update for Facebook PHP SDK (v.3.0.0)
Developer Last Online: Apr 2014
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
Screenshots
Show Your Support
|
3 благодарности(ей) от: | ||
JohorBahru, Taringa! CS, Vibhor |
Comments |
#202
|
|||
|
|||
Quote:
Thank you so much BOP5, I am a bit suprised about it! It really happend 2times, And we have removed it, but thats the only good FACEBOOK INTEGRATION right now.. Hopefully someone can fix it! Thank you all for following up on this.. |
#203
|
|||
|
|||
@ChiNa-Man - Have you look at the fbuser table in your database to see what user id's map to what facebook id's? If I'm reading the code right, this should be where it maps facebook accounts to vbulletin users and duplicate IDs should be obvious.
Also worth finding out is if users logged into VB, and then click facebook connect; or if the click facebook connect whilst logged out and then said add to an existing vb account; or if clicked facebook connect and then created a new vb account. If you can find a pattern, it's probably fixable. My interest in this is that I am trying to get twitter account integration working, which also users OAuth. The libraries I am using for this would make it easy to change to Facebook assuming I get it right for twitter. WHen I say integration - I only mean to log in and create an account if needed - I'm not looking any further than an authentication mechaism (no posting back to twitter or anything like that) |
Благодарность от: | ||
ChiNa |
#204
|
|||
|
|||
Any chance if fbconnect-3.0.4 or fbconnect-3.0.5 could work with vb3.7.4? Anyone here tried it yet?
Thank you! |
#205
|
||||
|
||||
use https://vborg.vbsupport.ru/showthread.php?t=223555 it works perfectly just be sure to set it up right
|
#206
|
|||
|
|||
Quote:
Here is my experience installing this mod with version fbconnect-3.0.5 on vbulletin v 3.7.4. Followed all the steps and it almost worked but for a blank page at the last step when testing fConnect. Looking at apache logs found following error: ------------------------------------------- PHP Fatal error: Uncaught exception 'Exception' with message 'Facebook needs the JSON PHP extension.' in /home/ivprod/www/forum/includes/facebook/base_facebook.php ------------------------------------------- Facebook needs the JSON PHP extension. Make sure that you enabled using of JSON extension in your PHP.ini file under PHP installation. Also make sure that php_json library is located in 'ext' sub folder of your PHP installation folder. I was getting the error because of PHP version 5.1.6 (i.e. less than PHP version 5.2). JSON (JavaScript Object Notation) package comes default with PHP version 5.2 or greater. To make this to work, I'd to install JSON on PHP version 5.1.6 To install JSON on PHP 5.1.6 I used the steps in the following links: 1.) http://netoflotus.wordpress.com/2012...-centosrhel-5/ 2.) http://maisonbisson.com/blog/post/12...entos-php-516/ But was stuck at the step of the actual JSON insll and I used these commands (all doing the same thing), but install kept on throwing error: sudo pear install json-1.2.1.tgz pear install json-1.2.1.tgz pecl install json pear install pecl/json The error I was getting was: ------------------------------------------- /usr/bin/phpize: /tmp/tmpR9mvV5/json-1.2.1/build/shtool: /bin/sh: bad interpreter: Permission denied Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable is set correctly and then rerun this script. ERROR: `phpize' failed ------------------------------------------- To resolve this, I used the note at: http://forums.cpanel.net/f5/php-json...tml#post273809 Then I went back and following following steps: pear install pecl/json mount -v -o remount,noexec /tmp mount -v -o remount,noexec /var/tmp cat 'extension=json.so' > /etc/php.d/json.ini sudo service httpd reload $php -r 'var_dump(function_exists("json_encode"));' bool(true) This should be it. Now Facebook Connect works without any issue on vBulletin 3.7.4. If you are already on php 5.2 or greater, this mod should work without having to install JSON. Hope this is useful for someone who wants to install this mod on 3.7.x or for an earlier version of PHP. Thanks for this Mod! |
#207
|
||||
|
||||
YAFB works perfectly on 387 and my server is 100% up to date thats all i know, this one dont work that one does =)
and i even made a nice little addition for YAFB =) |
#208
|
||||
|
||||
kapoor, i wanted to point out to you, you may have got this working but theres a major error with it atm, its causing users to log into other users account.
for example i just installed this on my test board. i logged into facebook on firefox linking my accounts so my admin would log in with my main fb. i then logged into another fb account on google chrome, went to my site hit the button and it should have taken me to the register page, instead it logged me into the admin account, and these were 2 seperate fb accounts. this has been reported by a few members if you read through the comments but also now YAFB is having troubles too, so looks like fb connect for vb3 just died =( |
#209
|
|||
|
|||
Quote:
Also, to be on the safe side, we deleted Admin record from vb_fbuser table. It seems in your test, after logging using FB connect, you did not logout from FB even when you logged out from the vBulletin. FB keeps the login info in cookie which is why it logged you the 2nd time as Admin. If you try a different browser on the same machine, or, if you try a different machine, you will not see this issue. We continue to use this plug-in in our production without any issue. Thank you again! |
#210
|
||||
|
||||
re read what i wrote. "i was logged into 2 separate fb accounts on 2 separate browsers so there was no cookie issue...
but you did mention your using an older version of vB3 so it may still work properly with older versions, but as far as 3.8.7 PL3 it causes users from all over the world, to log into other users account upon connecting with facebook. i am not the only person having this problem, you may have avoided it by using the older vb, but it deffently is not working with the latest vb, and is a major security concern. i will be posting a separate 3rd party add on that allows facebook connect, along with gtalk, twitter, live and tons more here shortly. |
Благодарность от: | ||
ChiNa |
#211
|
|||
|
|||
Quote:
The users who were logged into other accounts were people that never been registered on our forum befor. Totally new members as they tried to register through the FACEBOOK CONNECT by Clicking on the FACEBOOK NAVBAR BUTTON... And they were all being logged into our forum with another users facebook account! Now this has happend for the 3rd time, and I have also 3 times uninstalled it and re-installed it all over again.. I have checked all the TABLES over and over again! I deleted many tables called FBUID as well, still not much help. 3 times in a row is too much.... Thanks alot for the reply and So far this was the only working ADDON, hopefully someone could fix it, if not the developer! |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|