PDA

View Full Version : Integration with vBulletin - Facebook Connect - Update for Facebook PHP SDK (v.3.0.0)


mtbikemike
09-12-2011, 10:00 PM
I rewrote this plugin using ideas from sllik's mod (https://vborg.vbsupport.ru/showthread.php?t=198499).

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.

Max Taxable
09-13-2011, 10:09 PM
No files uploaded yet?

mtbikemike
09-13-2011, 10:16 PM
Was finishing up the documentation. Check now ...

Max Taxable
09-13-2011, 10:38 PM
I never can get past the app creation on FB part, FB continually says my domain isn't a valid domain.

mtbikemike
09-14-2011, 12:36 AM
hrmmm ... have you tried putting "http://" before your domain name? Or maybe removing it if you have "http://". Or maybe you have some sort of international domain? Or maybe it's being served by a questionable host?

So many variables. Best to take this up with FB.

Max Taxable
09-14-2011, 01:18 AM
hrmmm ... have you tried putting "http://" before your domain name? Or maybe removing it if you have "http://". Or maybe you have some sort of international domain? Or maybe it's being served by a questionable host?

So many variables. Best to take this up with FB.It's none of that.

It may have to do with cloud flare.

dartho
09-14-2011, 05:22 AM
Went through without a hitch for me.

There seems to be an anomaly in the display of the facebook icon though. It seems if I am logged onto facebook, and logged into VB with a standard user account, I get icons linking to my facebook account in VB?

I just commented out this bit in the fbconnect_button template

Edit: This also affects the "Publish to Facebook" options...

mtbikemike
09-14-2011, 06:22 AM
Went through without a hitch for me.

There seems to be an anomaly in the display of the facebook icon though. It seems if I am logged onto facebook, and logged into VB with a standard user account, I get icons linking to my facebook account in VB?

I just commented out this bit in the fbconnect_button template

Edit: This also affects the "Publish to Facebook" options...

Not sure I understand this. Yes, the icon/avatar at the top near your user name will link to your facebook account. Just gives the user a fair warning that they are connected to facebook.

Glad it installed okay for you. Cheers!

dartho
09-14-2011, 07:11 AM
I think visitors to my site might think I am spying on them if they see their facebook icon on mysite, and yet they have never given my site their facebook credentials. Would possibly result in less registrations and/or turn visitors away?

c0der
09-14-2011, 04:20 PM
thx for that

need same edit and same

but nice try

valdet
09-15-2011, 05:19 PM
Has anyone tested this on versions prior to vB 3.8 ?

unp
09-15-2011, 06:04 PM
Not working for me, after entering a 'desired user name' and clicking resister I get a blank page.

url: www.cartalk.in

Alecsmith
09-16-2011, 05:23 AM
Not working i am testing on VB 3.8.7 :(

I have forum install in domainname.com/forums/ :( even FB small logo not visible at navbar

mtbikemike
09-16-2011, 12:43 PM
Not working for me, after entering a 'desired user name' and clicking resister I get a blank page.

url: www.cartalk.in

Go to Admin CP -> Settings -> FB Connect -> Print FB Error Messages
turn this on and see if you're getting any FB errors.

A blank page normally means that a PHP error occured, but you have error reporting turned off in your php.ini. Can you check your php error logs?

mtbikemike
09-16-2011, 12:52 PM
Not working i am testing on VB 3.8.7 :(

I have forum install in domainname.com/forums/ :( even FB small logo not visible at navbar

Ah, it's just a image reference problem. The forums I'm working on need an absolute path to work correctly with vbSEO.

Go to the style manager and update the fbconnect_button template. Change any reference from "/images/" to "images/" ... there should be three of them.

I'll make a note to update this in future releases.

unp
09-16-2011, 03:19 PM
Go to Admin CP -> Settings -> FB Connect -> Print FB Error Messages
turn this on and see if you're getting any FB errors.

A blank page normally means that a PHP error occured, but you have error reporting turned off in your php.ini. Can you check your php error logs?

This is the error I am getting, I have tried re-uploading all files.


Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /home/ct/public_html/includes/functions_fbconnect.php on line 72

mtbikemike
09-17-2011, 01:35 PM
This is the error I am getting, I have tried re-uploading all files.

Ah, that line is using an anonymous function which is a feature added in 5.3. I thought array_map would be handled because it was added in php 4.0.6. Didn't realize about the anonymous functions though.

I'll add it to my fix list for the next release. To get it working in the meantime you could turn off "Import User Friends From Facebook" in the FB Connect Settings.

unp
09-17-2011, 01:47 PM
Still getting the error after turning off "Import User Friends From Facebook"

c0der
09-17-2011, 05:28 PM
thx
i will try it

Alecsmith
09-17-2011, 05:44 PM
Ah, it's just a image reference problem. The forums I'm working on need an absolute path to work correctly with vbSEO.

Go to the style manager and update the fbconnect_button template. Change any reference from "/images/" to "images/" ... there should be three of them.

I'll make a note to update this in future releases.

Still no luck by default code i want to add in newreply, newthread & showthreads don't have backslash before images folder name but i tried to add backslash but didn't work

<if condition="$vbulletin->userinfo['fbuid'] > 0 and $vboptions['fbconnect_enablefeeds']">
<br/>
<label id="lb_fb_posttofeed" for="cb_fb_posttofeed">
<img src="images/facebook/fblogo_sm.gif" alt="$vbphrase[fbconnect_post_thread_to_wall]" title="$vbphrase[fbconnect_post_thread_to_wall]" />
$vbphrase[fbconnect_post_thread_to_wall]
<input type="checkbox" tabindex="1" id="cb_fb_posttofeed" value="1" checked="checked" name="cb_fb_posttofeed" />
</label>
</if>

Btw i am using Vbseo on this forum with VB 3.8.7

Looking forward for new fixed release.

c0der
09-18-2011, 02:14 AM
not work after test

Taringa! CS
09-18-2011, 01:25 PM
Is this mod working?

Hellmaster
09-18-2011, 08:02 PM
Not working on 3.8.4 :-(

mtbikemike
09-18-2011, 09:27 PM
Still no luck by default code i want to add in newreply, newthread & showthreads don't have backslash before images folder name but i tried to add backslash but didn't work



Btw i am using Vbseo on this forum with VB 3.8.7

Looking forward for new fixed release.
You could ...
1) try using absolute paths to the images. E.g., domainname.com/forums/images/facebook/
2) try moving the images included in the zip into the images/buttons folder and update the paths in your templates. vbSEO seems to skip over URL rewrites for some paths.
3) wait a week or two. A couple sites I'm consulting for have vbSEO installed and want the FB connect installed too. I'll be able to debug the problem then.

mtbikemike
09-19-2011, 12:18 AM
Latest release should fix all the problems above except the image reference problem with vbSEO.

Let me know how it goes.

Thanks for all the feedback.

SocialNetworkBuzz
09-19-2011, 08:07 AM
Where do you change your wording for "just joined the Forums." that posts to a wall when joined? Searched phrases but not there.

SocialNetworkBuzz
09-19-2011, 09:25 AM
Would like to see a way to pull their FB account name too so it can be forced as username for seamless login like vB4 and XenForo does.

Very positive side... Works within canvas http://apps.facebook.com/fb-forums/ vB 4.1 the connect button errors if your within canvas iframe. So great job with that.

SocialNetworkBuzz
09-19-2011, 10:55 AM
Some members trying to create an account are receiving the error.. This is happening at random and only via apps canvas.

Error getting your Facebook user account: An active access token must be used to query information about the current user.. Click back and try again.

mtbikemike
09-19-2011, 01:12 PM
Where do you change your wording for "just joined the Forums." that posts to a wall when joined? Searched phrases but not there.

Languages and Phrases -> Phrase Type -> select FB Connect in the drop down

it's the join_message

mtbikemike
09-19-2011, 01:24 PM
Some members trying to create an account are receiving the error.. This is happening at random and only via apps canvas.

Error getting your Facebook user account: An active access token must be used to query information about the current user.. Click back and try again.

Could be caused by the double declaration of the all.js. Maybe try removing this from your HTML code ...

<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>FB.Canvas.setAutoResize();</script>


Then add the FB.Canvas.setAutoResize(); after the FB.init call in the FB Connect fbconnect_init template ...



window.fbAsyncInit = function() {
FB.init({
appId: '$vboptions[fbconnect_apikey]',
status: true,
cookie: true,
xfbml: true,
oauth : true
});
FB.Canvas.setAutoResize();
};

mtbikemike
09-19-2011, 01:30 PM
Would like to see a way to pull their FB account name too so it can be forced as username for seamless login like vB4 and XenForo does.


Would take quite a bit of reworking to skip the "Please enter your desired user name ... " step. If there are a bunch more requests for this, I'll consider it. Or back it with some $$ and I'll code it up :p.

SocialNetworkBuzz
09-19-2011, 01:35 PM
Ok thanks will do! Also will this still work as of Oct 1st with the new changes coming for auth 2.0 with requiring SSL for auth?

SocialNetworkBuzz
09-19-2011, 01:37 PM
Any chance to fix vB4.1 too? So the connect button functions within canvas iframe?

Artes_Marciales
09-19-2011, 03:59 PM
How can a user logging on facebook if want to change the password to enter the normal way? :confused:

mtbikemike
09-19-2011, 09:38 PM
Ok thanks will do! Also will this still work as of Oct 1st with the new changes coming for auth 2.0 with requiring SSL for auth?

Yep, it'll still work according to this page (http://developers.facebook.com/docs/oauth2-https-migration/)...

By October 1, 2011:


all Website and Canvas apps must exclusively support OAuth 2.0 (draft 20) (check)
all Canvas and Page Tab Apps must use the signed_request parameter (N/A)
an SSL Certificate is required for all Canvas and Page Tab apps (not in Sandbox mode and not FBML) (N/A)
old, previous versions of our SDKs will stop working, including the old JavaScript SDK (FeatureLoader.js), old iOS SDK (facebook-iphone-sdk) (check)

mtbikemike
09-19-2011, 09:39 PM
Any chance to fix vB4.1 too? So the connect button functions within canvas iframe?

That's vb.com's domain, isn't it? :rolleyes:

mtbikemike
09-19-2011, 09:42 PM
How can a user logging on facebook if want to change the password to enter the normal way? :confused:

change which password? VB or FB?

Taringa! CS
09-20-2011, 12:34 AM
I've got a problem with the register button.

The facebook popup only works on register.php or login.php... not on forumhome

Any ideas?

SocialNetworkBuzz
09-20-2011, 02:43 AM
That's vb.com's domain, isn't it? :rolleyes:

Support won't fix it due to it being considered "3rd party modding" since it is using facebook's iframe. vB 4.1.6 connect works fine if you go direct to your domain.. But usings apps.facebook so you get the canvas, it doesn't. Clicking the connect with facebook button, it does nothing.

Artes_Marciales
09-20-2011, 09:43 AM
change which password? VB or FB?
VB.
I fear that my users via facebook stay one day without access to the forum.
I think it should include more data as a normal recording not just a nick name.

mtbikemike
09-20-2011, 12:45 PM
I've got a problem with the register button.

The facebook popup only works on register.php or login.php... not on forumhome

Any ideas?

Do you have FB like buttons on the forumhome? Having the facebook javascript included twice on a page will break the connect button. Pull out any references to ...

<script src="//connect.facebook.net/en_US/all.js"></script>

and let the FB Connect plugin handle adding the javascript which, as an added bonus, will load asynchronously and parse any FBML you might have.

mtbikemike
09-20-2011, 12:51 PM
VB.
I fear that my users via facebook stay one day without access to the forum.
I think it should include more data as a normal recording not just a nick name.

Once a user is connected via facebook, they will have access to their User CP where they can change their password and other info. But they will be able to come back in a few days/weeks/months, click on FB connect and it will log them in without them having to remember a VB password.

Copying over a user's avatar, location, age, sex, etc. is definitely doable, just didn't have to time to do it. I wanted to release this first to see how widely accepted it was.

mtbikemike
09-20-2011, 12:56 PM
Not working on 3.8.4 :-(

What version of php are you running? 3.0.1 has a fix for php versions < 5.3.

klaush
09-20-2011, 02:44 PM
We get a XML-error when installing the product:

Processing Instruction not finished in Line 248

klaush
09-20-2011, 02:46 PM
Sorry, forget it; my fault!

Artes_Marciales
09-20-2011, 03:18 PM
Once a user is connected via facebook, they will have access to their User CP where they can change their password and other info. But they will be able to come back in a few days/weeks/months, click on FB connect and it will log them in without them having to remember a VB password.

Copying over a user's avatar, location, age, sex, etc. is definitely doable, just didn't have to time to do it. I wanted to release this first to see how widely accepted it was.
OK, thanks :)

Please... someone who has installed it can put your URL to see how it looks?
Thanks!

Taringa! CS
09-20-2011, 05:51 PM
Do you have FB like buttons on the forumhome? Having the facebook javascript included twice on a page will break the connect button. Pull out any references to ...

<script src="//connect.facebook.net/en_US/all.js"></script>

and let the FB Connect plugin handle adding the javascript which, as an added bonus, will load asynchronously and parse any FBML you might have.

I've got this

<script type="text/javascript" src="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_GB"></script><script type="text/javascript">FB.init("b429ea3362ecedaaacae88363d481500");</script><fb:fan profile_id="76722401590" stream="" connections="10" width="300"></fb:fan>

maybe better to use an iframe to add it, right?

Taringa! CS
09-20-2011, 06:27 PM
I've got it working fine!

Is it possible to eliminate the user avatar with the facebook icon on navbar?

mtbikemike
09-20-2011, 06:49 PM
I've got this

<script type="text/javascript" src="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_GB"></script><script type="text/javascript">FB.init("b429ea3362ecedaaacae88363d481500");</script><fb:fan profile_id="76722401590" stream="" connections="10" width="300"></fb:fan>

maybe better to use an iframe to add it, right?


No, not really. The FeatureLoader.js is depreciated and is going away in a month or two.

just change this ...
<script type="text/javascript" src="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_GB"></script>
<script type="text/javascript">FB.init("b429ea3362ecedaaacae88363d481500");</script>
<fb:fan profile_id="76722401590" stream="" connections="10" width="300"></fb:fan>

to this ...
<fb:fan profile_id="76722401590" stream="" connections="10" width="300"></fb:fan>


and if FB Connect is installed correctly it'll work golden.

mtbikemike
09-20-2011, 06:56 PM
I've got it working fine!

Is it possible to eliminate the user avatar with the facebook icon on navbar?

Yeah, just go into the fbconnect_button template and comment out/delete the image reference.


change this ...

<if condition="$vbulletin->userinfo['fbuid'] > 0">
<if condition="$show['member']">
<td class="alt2" nowrap="nowrap" align="center" style="width:51px;padding:0px">
<div style="position: relative; padding:0px;">
<a target="_new" href="http://www.facebook.com/profile.php?id={$vbulletin->userinfo['fbuid']}">
<img width="40" height="40" alt="Logged in with Facebook" src="https://graph.facebook.com/{$vbulletin->userinfo['fbuid']}/picture" title="Logged in with Facebook">
<img style="width: 15px; height: 15px; position: absolute; left: 2px; top: -3px; z-index: 2;" alt="Logged in with Facebook" src="images/facebook/fblogo.png" title="Logged in with Facebook" />
</a>
</div>
</td>
<else />
<td class="alt2" nowrap="nowrap" align="center" style="width:58px;padding:0px">
<a href="#" onclick="javascript:fblogin(); return false;">
<img src="images/facebook/fbconnect.png" border="0" />
</a>
</td>
</if>
<else />
<td class="alt2" nowrap="nowrap" align="center" style="width:58px;padding:0px">
<a href="#" onclick="javascript:fblogin(); return false;">
<img src="images/facebook/fbconnect.png" border="0" />
</a>
</td>
</if>



to this ...

<if condition="$vbulletin->userinfo['fbuid'] > 0">
<if condition="!$show['member']">
<td class="alt2" nowrap="nowrap" align="center" style="width:58px;padding:0px">
<a href="#" onclick="javascript:fblogin(); return false;">
<img src="images/facebook/fbconnect.png" border="0" />
</a>
</td>
</if>
<else />
<td class="alt2" nowrap="nowrap" align="center" style="width:58px;padding:0px">
<a href="#" onclick="javascript:fblogin(); return false;">
<img src="images/facebook/fbconnect.png" border="0" />
</a>
</td>
</if>

Artes_Marciales
09-20-2011, 07:44 PM
you can make the user enter a password to enter from facebook?
hat way the user can also enter without facebook. Otherwise, when the forum is updated or stop having mod support those users will be lost.
that's why I do not install this mod : S

PD: Taringa los usuarios que entran no tienen contraseña y no pueden cambiarla, cuando el mod no tenga soporte o si facebook cambia su api no podrán entrar. Lo ideal seria que la entrada por facebook fuese como la de vbhispano.com. Este mod tal y como está no sirve.

dartho
09-20-2011, 09:24 PM
you can make the user enter a password to enter from facebook?
hat way the user can also enter without facebook. Otherwise, when the forum is updated or stop having mod support those users will be lost.
that's why I do not install this mod : S


Not a big deal - users can simply choose to reset password, with or without this mod if they require it.

As an aside, I've trimmed back my fbconnect_button template to

<if condition="!$show['member']">
<a href="#" onclick="javascript:fblogin(); return false;">
<img src="/images/facebook/fbconnect.png" border="0" />
</a>
</if>

so that it only displays the connect button when someone is not logged in.

Artes_Marciales
09-21-2011, 04:49 AM
Not a big deal - users can simply choose to reset password, with or without this mod if they require it.

Most normal users on a board are not aware of the password reset link
Others may simply want to enter the traditional way and can not because 90% never bother to reset the password for access.
The option to add a password in the registry is needed to complete the mod. It is a mistake that is not :confused:

mtbikemike
09-21-2011, 01:55 PM
Most normal users on a board are not aware of the password reset link
Others may simply want to enter the traditional way and can not because 90% never bother to reset the password for access.
The option to add a password in the registry is needed to complete the mod. It is a mistake that is not :confused:

I can certainly add it in. It would require about a days worth of coding and testing. But at the moment I'm busy with a full time job as a consultant (money talks :p )

Get a couple other people to request this, some paypal encouragement and I can probably release and update with this feature in a week or two.

klaush
09-21-2011, 02:17 PM
Thanks for this modification.

We have some trouble because unregistered users don´t see the fbconnect-button. Registered user see the button and can connect with this button to facebook.

And how can a connected to facebook user delete this connection to get the old way to login?

Thanks for support. We will donate if all is running well.

Artes_Marciales
09-21-2011, 02:26 PM
And how can a connected to facebook user delete this connection to get the old way to login?

can not, for that reason this mod is useless : S
More sooner or later you will lose users who entered through facebook.

dartho
09-21-2011, 10:09 PM
And how can a connected to facebook user delete this connection to get the old way to login?

If the user was a registered member before using facebook connect, they can simply enter in user name and password as they previously did. If they are a new user who registered via facebook connect, they will need to reset password and then they can log in.

Taringa! CS
09-22-2011, 12:50 AM
I've got some problems

1) I've connect my vb account with facebook and user post count was reset
2) When first loading page the facebook "bridge" it is'nt recognized and i need to reload page to see that my account it's already bridged with facebook (at navbar)

dartho
09-22-2011, 09:27 AM
I've got some problems

1) I've connect my vb account with facebook and user post count was reset


Actually - I think I might have experienced this also - when I noticed a user post count out (a user I know connected with FBCOnnect) I just rebuilt post counts in AdmionCP Maintenance tools and it fixed it up.

mtbikemike
09-22-2011, 01:25 PM
I've got some problems
1) I've connect my vb account with facebook and user post count was reset

Looks like you found a bug. I'll have a fix up in a couple hours.


I've got some problems
2) When first loading page the facebook "bridge" it is'nt recognized and i need to reload page to see that my account it's already bridged with facebook (at navbar)

Not sure what might cause this. The code sets a cookie using a backend request with the authentication token returned by facebook's login popup. It then reads that cookie for any page that has the nav bar.

When is this happening? Right after logging in? Right after a new user connects?

SocialNetworkBuzz
09-22-2011, 07:46 PM
MtMike, please make the fb connect work with vB 4.1.6 in canvas iframe and I'll be happy to send you a thank you though paypal for it =)

Taringa! CS
09-22-2011, 08:43 PM
Looks like you found a bug. I'll have a fix up in a couple hours.


Great!


Not sure what might cause this. The code sets a cookie using a backend request with the authentication token returned by facebook's login popup. It then reads that cookie for any page that has the nav bar.

When is this happening? Right after logging in? Right after a new user connects?

Right after log in everything it's fine. Problem it's when loading site after a couple of hour for ie (using remember cookie)

mtbikemike
09-23-2011, 12:18 AM
MtMike, please make the fb connect work with vB 4.1.6 in canvas iframe and I'll be happy to send you a thank you though paypal for it =)

I'm worried about all the time it'll take to setup a development and testing environment for 4.1.6, a canvas app and anything else that might be needed.

Do you have a canvas app setup already? I'd be happy to take a look at it and see why it's not working.

mtbikemike
09-23-2011, 12:24 AM
Post count bug fixed in 3.0.2.


Great!
Right after log in everything it's fine. Problem it's when loading site after a couple of hour for ie (using remember cookie)

So after a couple hours what happens? The user's FB avatar disappears?

mtbikemike
09-23-2011, 12:28 AM
you can make the user enter a password to enter from facebook?
hat way the user can also enter without facebook. Otherwise, when the forum is updated or stop having mod support those users will be lost.
that's why I do not install this mod : S

PD: Taringa los usuarios que entran no tienen contrase?a y no pueden cambiarla, cuando el mod no tenga soporte o si facebook cambia su api no podr?n entrar. Lo ideal seria que la entrada por facebook fuese como la de vbhispano.com. Este mod tal y como est? no sirve.

Okay, you got your wish ... password option is in 3.0.2. I guess I like a good challenge.

SocialNetworkBuzz
09-23-2011, 03:06 AM
Do you have a canvas app setup already? I'd be happy to take a look at it and see why it's not working.

Yeap - https://apps.facebook.com/vbfourtest/

As you'll see, you get the pop up for app connection permission. But after agreeing, it doesn't log you in and anytime you click the fb connect button again, nothing happens. But if you go to https://socialnetwork.bz/vb4/ the button works fine. So it is only within canvas not working.

Artes_Marciales
09-23-2011, 04:47 AM
Okay, you got your wish ... password option is in 3.0.2. I guess I like a good challenge.
Thaks!!!!!

Taringa! CS
09-23-2011, 10:17 AM
Post count bug fixed in 3.0.2.

So after a couple hours what happens? The user's FB avatar disappears?

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

Taringa! CS
09-23-2011, 10:25 AM
Post count bug fixed in 3.0.2.


I think all user counters are getting buggy... check friends count, actually mine it's zero

unp
09-23-2011, 01:17 PM
After updating to ver. 3.0.2, Some users have complained about getting this error:

The message you have entered is too short. Please lengthen your message to at least 5 characters.

unp
09-23-2011, 01:41 PM
Also getting blank pages in Internet Explorer

this issue: www.google.com/#sclient=psy-ab&hl=en&source=hp&q=fb_xd_fragment+blank+page

Morrus
09-23-2011, 01:50 PM
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.

Taringa! CS
09-23-2011, 02:15 PM
Is it possible to change what it's posted on facebook users wall?

Like for ie: "A quick reply ..."

mtbikemike
09-23-2011, 02:53 PM
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.

mtbikemike
09-23-2011, 03:06 PM
After updating to ver. 3.0.2, Some users have complained about getting this error:

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.

mtbikemike
09-23-2011, 03:11 PM
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.

mtbikemike
09-23-2011, 03:14 PM
Also getting blank pages in Internet Explorer

this issue: www.google.com/#sclient=psy-ab&hl=en&source=hp&q=fb_xd_fragment+blank+page

I'll add the fix described here in the next release (3.0.4) ...
http://blog.colnect.com/2010/10/fbxdfragment-bug-workaround.html

Morrus
09-23-2011, 03:35 PM
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.

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?

mtbikemike
09-23-2011, 03:38 PM
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?

unp
09-23-2011, 03:49 PM
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.

Morrus
09-23-2011, 03:53 PM
Put '$fbconnect_button' above <if condition="$show['member']", else it won't show to guests.

Ah, that seems to have done the trick.

The instructions read:


Find the first:
<if condition="$show['member']">

Insert After:
<!-- fbconnect -->
$fbconnect_button
<!-- / fbconnect -->


So they may need to be altered slightly. :)

Morrus
09-23-2011, 04:07 PM
Quick question - are FB users counted in the registered member count?

mtbikemike
09-23-2011, 04:16 PM
Yeap - https://apps.facebook.com/vbfourtest/

As you'll see, you get the pop up for app connection permission. But after agreeing, it doesn't log you in and anytime you click the fb connect button again, nothing happens. But if you go to https://socialnetwork.bz/vb4/ the button works fine. So it is only within canvas not working.

In your clientscript/vbulletin_facebook.js file find the vB_Facebook.prototype.do_fbRedirect function block. Replace it with this ...


vB_Facebook.prototype.do_fbRedirect = function() {
var A = window.location.href.replace(/#.*/, "");
var B = (window.location.search.substring(1) ? "&" : "?");
window.location = A + B + "dofbredirect=1" + window.location.hash
};



The original function was calling window.top.location which will throw the error ...

Unsafe JavaScript attempt to access frame with URL http://apps.facebook.com/vbfourtest/ from frame with URL https://socialnetwork.bz/vb4/forum.php. Domains, protocols and ports must match.


I have no way to test, so I'm hoping it'll work. Let m know :)


Edit: I just realized the vbulletin_facebook.js file is obfuscated. Try running with the attached file (make sure to remove the ".txt" in the filename)

mtbikemike
09-23-2011, 04:18 PM
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.



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?


Ooops! My bad. The documentation should say BEFORE the <if condition="$show['member']">

Thanks UNP for pointing this out. :o

mtbikemike
09-23-2011, 04:23 PM
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

Could it be my poor documentation? :o

Check this post ...
https://vborg.vbsupport.ru/showpost.php?p=2249320&postcount=84

mtbikemike
09-23-2011, 04:37 PM
Thanks to everyone for putting up with these errors/bugs and helping test. I'm hoping to get this rock solid very shortly, then I'll be able to start adding more interesting features :)

PS - I saw Zuckerburg's presentation at F8 on FB timelines (http://www.facebook.com/about/timeline) and Open Graph's new action types, object types and aggregation features last night. Looks like it'll be acceptable to start posting when users log in/out of vb, what threads they're reading, etc. What other features would you like to see?

Morrus
09-23-2011, 04:40 PM
PS - I saw Zuckerburg's presentation at F8 on FB timelines (http://www.facebook.com/about/timeline) and Open Graph's new action types, object types and aggregation features last night. Looks like it'll be acceptable to start posting when users log in/out of vb, what threads they're reading, etc. What other features would you like to see?

The big one for me would be to take advantage of the new "Lists" functionality on FB so that you can choose who sees your auto-wall posts (so as not to spam, say, my mother with posts about a website she doesn't understand).

Of course, it's easy to log in to Facebook and edit the post in question, but being able to set that permanently would be awesome.

Morrus
09-23-2011, 08:29 PM
OK, we have a couple of major site-stopper bugs.

1) When you use a Quick Reply, the board substitutes the usual Quick Reply text "Please click one of the Quick Reply icons...". The only way to post now is a quick reply followed immediately by an Edit.

2) Frequent occurences of "The message you have entered is too short. Please lengthen your message to at least 3 characters."

Either of these are site-killers; both are pretty devastating. :)

Also, this from a user:

---- I clicked on the FB connect button, clicked yes on the FB "allow this page access" and then was logged out of EN World and logged in as a different user (nedjer specifically) without inputting a password.

Eeek.

Morrus
09-23-2011, 10:26 PM
Update - I asked for browsers and versions. The above is happening on IE6, iE8, and FF6 at minimum (probably more). New posts are down to under 10% normal, so it's clearly widespread.

I'm uninstalling for now, for obvious reason (can't afford it!)

Taringa! CS
09-23-2011, 10:49 PM
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

Any hint on this mtbikemike ?

Thanks

Taringa! CS
09-23-2011, 10:51 PM
3.0.3 attach it's missing :D

SocialNetworkBuzz
09-24-2011, 05:20 AM
The button is now clickable, but after it connects to FB, logging in now crashes safari browser. On Camino, it still doesn't click.

mtbikemike
09-24-2011, 12:43 PM
The button is now clickable, but after it connects to FB, logging in now crashes safari browser. On Camino, it still doesn't click.

This only happens on the canvas app? Or the straight vB?

Taringa! CS
09-24-2011, 01:51 PM
mike can u help me?

JohorBahru
09-24-2011, 02:47 PM
hi, does this work or any changes required after f8?

mtbikemike
09-24-2011, 03:00 PM
3.0.3 attach it's missing :D

Found a bug in 3.0.3... pulled it. I should have 3.0.4 ready in about an hour.

mtbikemike
09-24-2011, 03:07 PM
mike can u help me?

sure, what's up?

Taringa! CS
09-24-2011, 04:21 PM
This

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

Thanks!

mtbikemike
09-24-2011, 04:41 PM
This

Thanks!


Facebook cookies and vb cookies get all convoluted when testing. It makes it worse that sometimes FB doesn't clear out its cookies when logging out. Working on a fix now.

Hellmaster
09-24-2011, 10:56 PM
What version of php are you running? 3.0.1 has a fix for php versions < 5.3.

It's 5.2.17

Thanks for reply, hope you can help me!:)

Taringa! CS
09-24-2011, 11:18 PM
Facebook cookies and vb cookies get all convoluted when testing. It makes it worse that sometimes FB doesn't clear out its cookies when logging out. Working on a fix now.

Great! Waiting that fix

Thanks for your work

mtbikemike
09-25-2011, 01:32 AM
Tore apart the code and debugged all day long. There's a weird bug in the persistent cookie that Facebook sets which make logging out randomly break. This in turn shows the user's avatar when they are in fact logged out. I have a fix, but it's going to take a while to remove all the debugging hooks and piece the code and templates back together.

Aiming for sometime tomorrow.

mtbikemike
09-26-2011, 01:40 AM
Just released 3.0.4 and it's looking pretty solid on my machine. Had to flip the code to rely on javascript for FB logged in status. This should speed things up a bit. But then again, might cause problems on lower end browsers or sites with a ton of javascript and external references.

See the change log for details on what's new.

A working demo can be tested out here (http://forums.carreview.com).

Thanks in advance for any bug reports. :)

unp
09-26-2011, 07:35 AM
3.0.4 Not working for me, Firebug showing this error message:


FB.provide is not a function
all.js()all.js (line 4)
[Break On This Error] FB.provide('Array',{indexOf:function(a...ength;c<d;c++)a[c]=b[c];return a;}});

Morrus
09-26-2011, 01:18 PM
Just released 3.0.4 and it's looking pretty solid on my machine. Had to flip the code to rely on javascript for FB logged in status. This should speed things up a bit. But then again, might cause problems on lower end browsers or sites with a ton of javascript and external references.

See the change log for details on what's new.

A working demo can be tested out here (http://forums.carreview.com).

Thanks in advance for any bug reports. :)

The button doesn't work for me on your demo site.

Edit - scratch that. It does now.

mtbikemike
09-26-2011, 01:48 PM
ooops. forgot to move some code into the plugin. I re-uploaded 3.0.4 with the fix below.


Add to to top of parse_templates hook ...
// make sure the fbuid = 0 when there is a new session
$vbulletin->session->vars['fbuid'] == null ? 0 : $vbulletin->session->vars['fbuid'];

mtbikemike
09-26-2011, 01:54 PM
3.0.4 Not working for me, Firebug showing this error message:

Most likely caused by a null session var. Check my previous message on how to fix.

If the fix doesn't work, let me know what version of FF you're using.

mtbikemike
09-26-2011, 01:55 PM
hi, does this work or any changes required after f8?

Should work fine. No changes needed after F8, but a lot of interesting possibilities.

See forums.carreview.com for a live demo.

mtbikemike
09-26-2011, 01:58 PM
It's 5.2.17

Thanks for reply, hope you can help me!:)

I developed it using 5.3, but the latest release of the plugin should run okay on 5.2.

Taringa! CS
09-26-2011, 02:13 PM
After upgrading to 3.0.4 i've got some problems like

*) I'm logged in and i can login using facebook
*) I'm logged out and after trying to login using fb button wrong username/password error it's shown

mtbikemike
09-26-2011, 05:03 PM
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.


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).

Taringa! CS
09-26-2011, 05:24 PM
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


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!

Morrus
09-26-2011, 06:08 PM
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. :(

mtbikemike
09-26-2011, 09:21 PM
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.

Morrus
09-26-2011, 09:57 PM
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.

Taringa! CS
09-26-2011, 11:37 PM
mtbikemike any hints on my case? thanks!

jlew24asu
09-27-2011, 11:40 AM
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.

Morrus
09-27-2011, 12:00 PM
I tried uninstalling at reinstalling, but when attempting to reinstall I get the following error:

XML Error: Processing Instruction not finished at Line 151

mtbikemike
09-27-2011, 04:20 PM
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!! :p

Taringa! CS
09-27-2011, 05:06 PM
Great news mike!

Morrus
09-27-2011, 09:29 PM
If you're still interested in feature requests, here's a BIG one:

Make it include Google+ and Twitter, too. A universal social sharing mod. You'd need to let admins decide which social sites to include, of course.

Maybe a bit of a big jump - but you asked for feature requests, and it occurred to me. :)

Artes_Marciales
09-28-2011, 04:52 AM
If you're still interested in feature requests, here's a BIG one:

Make it include Google+ and Twitter, too. A universal social sharing mod. You'd need to let admins decide which social sites to include, of course.

Maybe a bit of a big jump - but you asked for feature requests, and it occurred to me. :)
This s a mod to connect Facebook, no other social networks. If mtbikemike manage to repair the bugs will be a great mod.

notrious
09-28-2011, 08:57 AM
1: Getting blank page after allowing permission for app @ /forum/fblogin.php
2: blank page @ FB Connect Options > News-Feed Templates

Using (vBulletin 3.8.7 Patch Level 2)

Morrus
09-28-2011, 11:39 AM
This s a mod to connect Facebook, no other social networks.

He asked, so I answered.

mtbikemike
09-28-2011, 12:45 PM
1: Getting blank page after allowing permission for app @ /forum/fblogin.php

What browser are you using? I found a bug yesterday in IE where FB would redirect to channel.html. Blank page sometimes means a php error, but the php.ini defines display_errors = off. Can you check your server's error logs?



2: blank page @ FB Connect Options > News-Feed Templates

News-Feed Templates?? This was an option in sllik's version of FB Connect -- probably 2.0.5. I removed it in 3.0.

mtbikemike
09-28-2011, 01:05 PM
He asked, so I answered.

I've dabbled a bit with posting to twitter. It can be done via their javascript API. I'm gonna focus on getting this solid first, then we'll start adding features.

One neat idea would be to offer OAuth 2.0 connect through any major site. Like how some sites can let you log in with your yahoo, google, facebook or twitter account.

But this is probably waaaay down the line from now.

mtbikemike
09-30-2011, 01:29 PM
Just released 3.0.5. Fixes some issues with guest sessions.

I'm seeing random errors caused by the $vbulletin->options['fbconnect_showfbavatar'] variable not being set correctly in the fbconnect_init template when it's called from the STANDARD_ERROR template and not the normal footer template. This seems to happen randomly. Still trying to track it down.

if you see weirdness with your FB avatar, remove this code in the fbconnect_init template:
<if condition="$vboptions['fbconnect_showfbavatar']">
document.getElementById('tdFBConnected').style.dis play = 'block';
</if>


And replace with:

document.getElementById('tdFBConnected').style.dis play = 'block';


Or if you don't want to show the FB avatar, just leave the above code out.

Also, added some flowcharts to help document how FB and vB sessions interact.

Please test it out and let me know if you see any issues. I'm thinking of setting up two instances of vbulletin on my hosting service for demo purposes. One instance on 3.8.7 PL2 and another on 3.5.0 (or maybe some other popular version).

Does anyone know of a vBulletin version distribution graph which shows how many installs each version of vBulletin has?

Artes_Marciales
09-30-2011, 02:13 PM
Just released 3.0.5.
Blank page after login from facebook : S

mtbikemike
09-30-2011, 10:36 PM
is it trying to go to channel.html? I noticed this happening in IE, but I wrote a fix for it.

Artes_Marciales
10-01-2011, 04:46 AM
when I accepted the permissions on the popup from facebook goes blank page, in my case tested with IE and Opera.

pgowder
10-02-2011, 12:34 AM
Does this capture or ask the user to enter their email address?

mtbikemike
10-02-2011, 01:50 PM
Does this capture or ask the user to enter their email address?

captures their email address via a backend facebook API call. In other words, the user logs into their FB account, FB sends an auth token back to the plugin code, the plugin makes a secure request to FB for the user's email address then saves it to the db.

Morrus
10-02-2011, 04:51 PM
Can I install 3.05 with a simple import of the xml? The manual template changes from 3.03 are all still in place.

pgowder
10-03-2011, 03:46 PM
captures their email address via a backend facebook API call. In other words, the user logs into their FB account, FB sends an auth token back to the plugin code, the plugin makes a secure request to FB for the user's email address then saves it to the db.

Thanks

Do you have a working demo? The car review integration didn't work for me.

mtbikemike
10-03-2011, 03:49 PM
The .php files should be the same. You might want to double check the showthread, newreply, newpost template HTML ... compare with what is in install.html.

Morrus
10-04-2011, 01:02 PM
The .php files should be the same. You might want to double check the showthread, newreply, newpost template HTML ... compare with what is in install.html.

Unfortunately, you've removed 3.03 and I didn't keep it, so I can't compare the two install.htmls.

I did just try an xml import of 3.05, but I'm still getting that top-half button/avatar display issue.

mtbikemike
10-05-2011, 01:46 PM
Unfortunately, you've removed 3.03 and I didn't keep it, so I can't compare the two install.htmls.

I did just try an xml import of 3.05, but I'm still getting that top-half button/avatar display issue.

That's most likely a javascript error. What browser are you using? Can you check to see if you're getting js errors?

Artes_Marciales
10-06-2011, 08:17 AM
Blank page after login:
mydomain.com/fblogin.php?url=index.php = blank page
Any idea? :confused:

Morrus
10-06-2011, 12:12 PM
That's most likely a javascript error. What browser are you using? Can you check to see if you're getting js errors?

Chrome and IE both have the same effect.

How would I check for js errors?

cache
10-09-2011, 03:35 AM
I am reading the install instruction, create a fb app and : " Generate an authorization token". When the app is created I can see the APP ID and secret, but I don't see any token. How can I generate the token?

I have heard that after oct 1, secure ssl is needed for fb app. If I use this app, does it mean the vbulletin forum has to be hosted with ssl?
Thanks.

mtbikemike
10-09-2011, 01:10 PM
I am reading the install instruction, create a fb app and : " Generate an authorization token". When the app is created I can see the APP ID and secret, but I don't see any token. How can I generate the token?

I have heard that after oct 1, secure ssl is needed for fb app. If I use this app, does it mean the vbulletin forum has to be hosted with ssl?
Thanks.

Auth token is old wording. You just need an app id and secret.

Yep, it'll still work according to this page (http://developers.facebook.com/docs/oauth2-https-migration/)...

By October 1, 2011:


all Website and Canvas apps must exclusively support OAuth 2.0 (draft 20) (check)
all Canvas and Page Tab Apps must use the signed_request parameter (N/A)
an SSL Certificate is required for all Canvas and Page Tab apps (not in Sandbox mode and not FBML) (N/A)
old, previous versions of our SDKs will stop working, including the old JavaScript SDK (FeatureLoader.js), old iOS SDK (facebook-iphone-sdk) (check)

Artes_Marciales
10-09-2011, 01:57 PM
blank page when trying to connect to facebook: myforum.com/fblogin.php?url=index.php
Why? :confused:

cache
10-09-2011, 09:51 PM
I checked your link, it looks like we have to buy the ssl? So with vbulletin and this mod, do we have to buy ssl?

Also from your install instruction, I was not sure how to provide the canvas and secure or non-secure URL, can you give an example?

Thanks.

Auth token is old wording. You just need an app id and secret.

Yep, it'll still work according to this page (http://developers.facebook.com/docs/oauth2-https-migration/)...

Alfa1
10-10-2011, 01:34 AM
Could you post a screen shot of the admincp settings?
Is it possible to turn off automatic friending?

The login does not work on your site. It doesn't seem to load the js

ShawneyJ
10-11-2011, 06:05 AM
An example of this plugin running on a live site: CarREVIEW.com.

that sites facebook login dont work for me in IE and FF. till then tagged for now thanks.

jdougher
10-11-2011, 09:21 PM
Doesn't even work on your demo site. Why should anyone install this?

mtbikemike
10-12-2011, 12:46 PM
forums.carreview.com is not my site. The site manager installed some twitter code which broke the FB plugin.

javascript code snippets often don't play nicely with each other. When you have twitter, FB, google analytics, adsense, crazyegg, quantcast, the YUI library and jquery all on one site, you're asking for trouble.

Site should be working now.

artherd
10-13-2011, 05:18 AM
The style I am using has the login form moved to the header Template. I moved the

<!-- fbconnect -->
$fbconnect_init
<!-- / fbconnect -->

to the header template, but no matter where I put it - nothing ever shows.

Works in the Default Template (but that's no fun.) Any ideas?

mtbikemike
10-13-2011, 01:01 PM
probably because the header template is compiled before the nav template. maybe change the "Init Templates and FB Session" plugin hook location from "parse_templates" to "global_start".

artherd
10-14-2011, 08:53 AM
Tried that, no change. Is it possible to use a more standard FB connect image?

artherd
10-14-2011, 07:12 PM
fixed it - plugin forgot the api keys :P Thanks for a great mod. Would like to use a more standard FB Connect image - what's a good way to do that and keep the avatar once signed-in?

mtbikemike
10-15-2011, 09:56 PM
fixed it - plugin forgot the api keys :P Thanks for a great mod. Would like to use a more standard FB Connect image - what's a good way to do that and keep the avatar once signed-in?

glad it's working for you. Not sure what you're looking for. Maybe post a screen shot of what you had in mind?

ShawneyJ
10-16-2011, 02:54 AM
fixed it - plugin forgot the api keys :P Thanks for a great mod. Would like to use a more standard FB Connect image - what's a good way to do that and keep the avatar once signed-in?

care to show a demo?

Ipuck
10-17-2011, 04:57 AM
Thanks for the mod! So far is working OK for me, but there is one minor issue. On newreply and viewthread the button and facebook avatar show at the same time. See attached image.

133889

Any ideas how can I fix this??

mtbikemike
10-17-2011, 03:31 PM
Thanks for the mod! So far is working OK for me, but there is one minor issue. On newreply and viewthread the button and facebook avatar show at the same time. See attached image.

133889

Any ideas how can I fix this??

most likely javascript gone bad on that page. chrome has a good javascript console that can point you in the direction where the error is occurring.

Taringa! CS
10-18-2011, 01:17 PM
Is it possible instead of showing tdFBNotConnected and tdFBNotConnected by default and then hide one of them, to make them hidden and then display the right one?

Vibhor
10-19-2011, 12:52 PM
Hello,

Great add-on! But we’re having a few troubles using it:

I created a “Test User” account and attempted to log in with a few different Facebook profiles. Surprisingly, regardless of whatever Facebook profile we attempt to log in with, it opens up the same “Test User” account on vBulletin. I have cleared the cache, cookies and tried with several different browsers but this issue still remains and this is happening with ALL the users whoever log in with Facebook connect. However, if I connect admin account with face book, it works perfectly well.

Apart of this problem, I would also like to bring into attention that welcome PM / E-Mail is not being received upon registering with this Facebook connect hack. And the time zone is showing as London where as ours is a different country. So how to change that?

Help on the above issues will be greatly appreciated. Thanks.


Thanks for the mod! So far is working OK for me, but there is one minor issue. On newreply and viewthread the button and facebook avatar show at the same time. See attached image.

133889

Any ideas how can I fix this??

We're having this issue as well.

MoMan
10-23-2011, 03:07 AM
Very nice plugin! I had to install the PECL json extension on my server before things worked, but after that, the installation process was very easy.

I would recommend considering using a different icon for the button area though - maybe the same one that vb4 has?

cache
10-23-2011, 07:11 PM
when a new user sign in, the new user can post using admin as a user to post, I kind of think this is a security problem, I have 3.8.5

xXxStitchxXx
10-23-2011, 10:14 PM
Any news about vbseo fix?

mtbikemike
10-24-2011, 01:37 PM
when a new user sign in, the new user can post using admin as a user to post, I kind of think this is a security problem, I have 3.8.5

Using admin? Are you sure you didn't accidentally link your admin account to FB? Or maybe you want new users to not be able to post without an email verification?

mtbikemike
10-24-2011, 01:38 PM
Any news about vbseo fix?

No news. Haven't had time to look at it.

Taringa! CS
10-25-2011, 01:18 PM
Is it possible instead of showing tdFBNotConnected and tdFBNotConnected by default and then hide one of them, to make them hidden and then display the right one?

???

cache
10-30-2011, 11:35 PM
the install instruction was not detailed enough on how this fb connect work. Maybe I accidentally linked admin account to FB, or maybe I set new users to not be able to post without an email verification, but how do I debug this?
Thanks in advance.

Using admin? Are you sure you didn't accidentally link your admin account to FB? Or maybe you want new users to not be able to post without an email verification?

MissKalunji
11-04-2011, 04:20 PM
I got a database error, would this mean it won't work with 3.8.1?

Database error in vBulletin 3.8.1:

Invalid SQL:

SELECT fbuid
FROM fbuser
WHERE userid =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number : 1064

MissKalunji
11-04-2011, 05:23 PM
and when I try to view the user's profile

Database error in vBulletin 3.8.1:

Invalid SQL:
SELECT location, badlocation FROM session WHERE userid = AND lastactivity > 1320426455 ORDER BY lastactivity DESC LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND lastactivity > 1320426455 ORDER BY lastactivity DESC LIMIT 1' at line 1
Error Number : 1064

RJ2
11-06-2011, 10:02 AM
Works fine for me but I have a concerned user who reported today being logged directly into another member's account after connecting using the Facebook button from this add-on and being able to read their PM's, etc. Members are unrelated and from different countries. I can't see any obvious connection or reason it would put them into another account.

Major security issue if true, any ideas what could cause it?

Vibhor
11-07-2011, 02:29 PM
Unfortunately, there seems to be some serious niggles with this add-on. So marked uninstalled.

A.Chakery
11-08-2011, 02:52 AM
Works great on vb 3.8.7,

But I have a problem here,

When the user signs up, he has to fill his profile fields again,

I don't know why but in the Auth. window from facebook there is only one option "Post to Facebook as me"
but I noticed that in your website there is 2 other options :
"Access my basic information" and "Send me email".

would you please tell me how to activate those too ?

MissKalunji
11-08-2011, 03:44 AM
Unfortunately, there seems to be some serious niggles with this add-on. So marked uninstalled.
looks like i have to do the same :(

MoMan
11-21-2011, 05:03 PM
Unfortunately, there seems to be some serious niggles with this add-on. So marked uninstalled.

I'm experiencing the same issue. I took a look at the functions file and fblogin.php, and while there were some minor issues (query treated the userid as a string instead of an integer, userid not checked for == 0 when linking an existing account to facebook), I don't think those are the culprits.

In any case, if the problem isn't identified soon then this plugin isn't going to be very useful...

mitor2006
11-26-2011, 09:26 AM
Hi, im have a problem, im it's already connect with facebook but ask to connect again,

http://img402.imageshack.us/img402/2990/immaginemds.png (http://imageshack.us/photo/my-images/402/immaginemds.png/)



Fix:
open:
fbconnect_init

find:

document.getElementById('divPostToFBConnect').styl e.display = 'block';


Replace:

<!-- document.getElementById('divPostToFBConnect').styl e.display = 'block'; -->


if you dont use the PostToFBConnect, just the style go to NULL.

Great Mod!
Thanks.

A.Chakery
12-03-2011, 03:12 PM
Works great on vb 3.8.7,

But I have a problem here,

When the user signs up, he has to fill his profile fields again,

I don't know why but in the Auth. window from facebook there is only one option "Post to Facebook as me"
but I noticed that in your website there is 2 other options :
"Access my basic information" and "Send me email".

would you please tell me how to activate those too ?

any support ?

MoMan
12-05-2011, 04:57 PM
Why is this mod still around if there's a security hole in it? Would like to hear some feedback on this asap.

britt
12-10-2011, 03:38 PM
I added this and managed to get it to connect to facebook but I'm having an issue with the connect button not working. :( All I see is 3 small boxes. When I place my cursor over the boxes it says connect to facebook but there is not anything to click.

Can someone help me out with this? pretty please :)

mtbikemike
12-11-2011, 02:20 PM
FYI - this mod is in beta. Lately I haven't had any time at all to donate to this mod. I'm expecting to free up some time in mid-January 2012. Until then, you're on your own.

canaryforum
12-16-2011, 02:48 PM
All installed and looks OK and "half works" but my main problem is clicking on the F connect button opens a dialog popup "XD Proxy" which I guess is the facebook verification or facebook log-in if not logged in their already.

Anyway, mine is blank when it popus up so I go to log on my forum with my forum Id and once in, I'm connected to facebook!

So this at least means people who register on my forum can afterwards connect their forum account to their facebook account but I guess the main idea of this mod is so they don't have to register on the forum.

Any ideas?

canaryforum
12-16-2011, 10:01 PM
Fixed it - I had my facebook app with /forums/ in the url when the forum was installed in the main html folder.

tommydamic68
08-25-2012, 02:49 PM
I get the Facebook login button when I am logged into my site normally - when logged out I also see the Facebook login button, when I click the Facebook login button a small screen flashes (appears to be fb permissions screen) then I get this error (atatched) and it will not let me login - any suggestions or help?

Thanks,

stryka
08-26-2012, 04:59 AM
just like the original SILK mod... this is now on the deadpool

wish these developers would stick around...

FYI - this mod is in beta. Lately I haven't had any time at all to donate to this mod. I'm expecting to free up some time in mid-January 2012. Until then, you're on your own.

pedrovazquez10
09-01-2012, 02:27 PM
Only give problems uninstalled

saini1987
09-05-2012, 12:33 PM
XML Error: Processing Instruction not finished at Line 303

Boylen33
09-14-2012, 06:28 PM
Does this work with V4?

A.Chakery
09-14-2012, 06:52 PM
Does this work with V4?

Why do you need this plugin for vB4 ? its already implanted in VB4.

zyiad
09-18-2012, 07:17 PM
thanks

ChiNa
09-19-2012, 06:46 PM
This MOD has really issues! Now 5 of my users after logged out, they clicked direct on the FACEBOOK CONNECT button, and guess what happend? They logged in in another users name!

YOU NEED TO FIX THIS MATE, OR YOU WILL HAVE TROUBLE with this mod!

Thank you

oBen28
09-22-2012, 11:53 AM
How can we subtract this feature on the registration form ? Example

stryka
09-28-2012, 01:38 AM
Just curious... did this MOD convert the old proxy emails in the user account from Silk's mod?

blind-eddie
10-31-2012, 03:48 AM
This MOD has really issues! Now 5 of my users after logged out, they clicked direct on the FACEBOOK CONNECT button, and guess what happend? They logged in in another users name!

YOU NEED TO FIX THIS MATE, OR YOU WILL HAVE TROUBLE with this mod!

Thank you


Anyone else having this issue?

tommydamic68
10-31-2012, 09:36 AM
Yes, but no support, see thread above. Old, out dated, no support.

ChiNa
10-31-2012, 12:33 PM
Anyone else having this issue?

Thanks to blind-eddie https://vborg.vbsupport.ru/images/cstyle/blue/buttons/viewpost.gif (https://vborg.vbsupport.ru/showthread.php?p=2377199#post2377199) for pointing this out and for PM me about this! Now I actually think this issue was the most shocking issues of all our online time! And I will try explain it exactly so you all know what you should be doing, and checking on this ADDON..

How could this happen??

My forum moderator called me and told me about this issue! I couldnt believe him, and even at one point I suspected him to be one of those people cursing in our forum, WHICH WAS A BIT NERV-Wracking..

Basicly our moderator logged into his account in the forum, and directly clicked on the "Facebook Connect" button for , , and he was now suddenly redirected and logged into another users account, which was assigned to the persons FACEBOOK account as well!

The button should not be be visible for Logged-in members.. and we did this 2-3 times again and again, still we were getting logged in as another USER! So hopefully this will be fixed! Else follow the steps I have provided below to hide the FACEBOOK CONNECT button from logged-in users..

This was all from me! Once again thanks to "blind-eddie https://vborg.vbsupport.ru/images/cstyle/blue/buttons/viewpost.gif (https://vborg.vbsupport.ru/showthread.php?p=2377199#post2377199)" for poiting this out!
_____________________________________________


HERE IS A SAFETY TRICK, for the button to not be visible for logged in users:

Follow my steps If you wanna use this addon, make sure to do the following thing, because this is not HIDDEN from the users as it should be! So after people login to the forum, the "FACEBOOK CONNECT" button is still visible in the forum, and this is what caused this issue!

So to hide it from Logged in members, there is a file called Install.html file inside the ZIP file..
Now on STEP 5, It tells you to add the following code in your footer:

It ask you to add this code in your navbar, below another code:
<!-- fbconnect -->
$fbconnect_init
<!-- / fbconnect -->Instead of that code, Add this code below the other in your footer template:

Add Code:

<if condition="$show['guest']">
<!-- fbconnect -->
$fbconnect_init
<!-- / fbconnect -->
</if>Thats it, This code makes the FACEBOOK CONNECT button only visible for GUESTS! Now no logged-in members can use it! Like what happend in our forum which caused that a member was logged into another persons facebook account and our forum!

So for your users safety and your forums safety use this instead. Untill this issue is fixed..

Regards ChiNa-Man

Mecho
11-06-2012, 08:21 AM
ChiNa-Man , in this post (https://vborg.vbsupport.ru/showpost.php?p=2366750&postcount=186) u said AFTER LOGGED OUT they clicked again and logged into another user ! but ur trick is not fixing that ! i dont get it ! u just hide the button for logged in users! whats the point if even after logged out they can login to another user???

i haven't installed this yet. my vb is 3.8.7 . i just wanted to make sure that with ur trick it is all safe to go for this FB Connect.

ChiNa
11-06-2012, 01:05 PM
ChiNa-Man , in this post (https://vborg.vbsupport.ru/showpost.php?p=2366750&postcount=186) u said AFTER LOGGED OUT they clicked again and logged into another user ! but ur trick is not fixing that ! i dont get it ! u just hide the button for logged in users! whats the point if even after logged out they can login to another user???

i haven't installed this yet. my vb is 3.8.7 . i just wanted to make sure that with ur trick it is all safe to go for this FB Connect.

Nope, They cannot login into another account by not being logged in! I dont know why that happens when people are logged int!

But its more safe that no one is logged in to use the button!

I just made it to make sure this doesnt happen to anyone else! You can visit our forum www.China-Cheats.com and I am using the same trick! Since we havnt had any problems again.

What I figured out was, that when people are logged in, then there will be some kinda bug that STILL is manipulating with the USERS TABLES assigned to other accounts, which is to let others login to others Facebook account.. So its more safe that they are not logged in!

Mecho
11-06-2012, 01:21 PM
Nope, They cannot login into another account by not being logged in! I dont know why that happens when people are logged int!

ok Great , i just wanted to make sure that there is no issue after that button fix for you.

no its kind of safe to go for this for me :) thanks for confirm and your reply.

Edit : i have installed this on vb 3.8.6 . there are 2 problems so far so i had to stop :

1 - in navbar 3 buttons will be shows up ! (check the Screenshot)
2 - other problem is that the 2 up buttons are redirecting to the FACEBOOK PROFILE page and the third one leads to nowhere !!!

any idea?

p.s. i have uploaded all files . added the API and Secrect and not sure what i missed.

ChiNa
11-07-2012, 12:08 AM
ok Great , i just wanted to make sure that there is no issue after that button fix for you.

no its kind of safe to go for this for me :) thanks for confirm and your reply.

Edit : i have installed this on vb 3.8.6 . there are 2 problems so far so i had to stop :

1 - in navbar 3 buttons will be shows up ! (check the Screenshot)
2 - other problem is that the 2 up buttons are redirecting to the FACEBOOK PROFILE page and the third one leads to nowhere !!!

any idea?

p.s. i have uploaded all files . added the API and Secrect and not sure what i missed.

Mecho I have bad news, IT HAPPEND AGAIN! Again our members was logged in to others account, and when I came to test it, It happend to me too! I am using a vB3.8.7.. But we used it also on 3.8.6 but had no problem!

I have simply REMOVED it this time, untill they fix it! We have to report this addon to get fixed, This is the only working FACEBOOK addon right now for vB3.8.! I did report it last week, and Ima have to do it again because we need this.. But this is to dangerouse to have it Installed on vB3.8.7! And we have done a clean install a few times now, Just done wanna take any chance again..


Now about your ISSUE: I think you are using a Custom theme, or a theme that the HEADER and NAVBAR is different to other vBulletin 3.8 Versions! If you have uploaded the images right, and I can see you have + if you have put the API and SECRET key in, then it should be it! Nothing else needed! So I do not understand why it looks like it does.. But please if you want further than this, you can always pm me with your board name, and I could maybe try fix it with an amdin LOGIN!

If you have put the NAVBAR code as I have told you, then its your theme the causing this.. Let me know if you still havnt fixed it! But I have removed it from our board, and I will try Install other versions of it!

Mecho
11-07-2012, 11:38 AM
sad to hear that ChiNa-Man , there is no need to fix my problem then as it is not really safe for users.

i'm gonna report this too. hope someone will fix the problems ASAP.

thanks for trying to help agian, please let us know if u find anything.

TheSupportForum
11-07-2012, 12:01 PM
tbh i've looked at this mod in all files

1 thing i can say about it, is thats its not using a vBulletin cookies control its using Facebook cookie, in 1 of the files it does reference to changing the cookie variable
for integration purposes which i don't think the developer even looked over

BirdOPrey5
11-10-2012, 04:05 PM
I see this thread reported but we (forum staff) do not fix broken mods. I see the mod author was online as recently as last month, I suggest PMing him (1 person do it, he doesn't need 10 PMs) and explain the issue.

Otherwise if everyone is having this problem you should disable or remove it until it is fixed.

Mecho
11-12-2012, 12:34 PM
I Have PMed the coder and explained the issue . no reply :)

blind-eddie
11-12-2012, 02:12 PM
I see this thread reported but we (forum staff) do not fix broken mods. I see the mod author was online as recently as last month, I suggest PMing him (1 person do it, he doesn't need 10 PMs) and explain the issue.

Otherwise if everyone is having this problem you should disable or remove it until it is fixed.

This mod should not be allowed to be downloaded until it is fixed, right?
With what others are saying about this addon, it poses a threat to member accounts either on their vbulletin site or their FB account.

ChiNa
11-12-2012, 05:28 PM
I see this thread reported but we (forum staff) do not fix broken mods. I see the mod author was online as recently as last month, I suggest PMing him (1 person do it, he doesn't need 10 PMs) and explain the issue.

Otherwise if everyone is having this problem you should disable or remove it until it is fixed.


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..

dartho
11-13-2012, 01:24 AM
@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)

kapoor22
11-25-2012, 05:37 AM
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!

RyanFabbro
11-25-2012, 05:52 AM
use https://vborg.vbsupport.ru/showthread.php?t=223555 it works perfectly just be sure to set it up right

kapoor22
11-25-2012, 09:00 PM
use https://vborg.vbsupport.ru/showthread.php?t=223555 it works perfectly just be sure to set it up right

Thanks Ryan, I tried using 'YAFB - Yay! Another Facebook Bridge' but this mod is using old Facebook policy and is unlikely to work.

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/03/12/installing-phps-json-extension-on-centosrhel-5/
2.) http://maisonbisson.com/blog/post/12137/json-rhel-centos-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-57993.html#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!

RyanFabbro
11-26-2012, 05:45 AM
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 =)

RyanFabbro
11-29-2012, 09:22 AM
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 =(

kapoor22
12-02-2012, 05:01 PM
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 =(

Thanks Ryan, for sharing this information. I must say that we have thoroughly this tested every possible used case with every browser, including chrome, and we did not experience any issue.

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!

RyanFabbro
12-03-2012, 10:08 PM
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
12-03-2012, 11:40 PM
@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)

Thanks a lot for the reply!

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!

ChiNa
05-24-2013, 07:21 PM
Still nothing heard from the Developer, even tho I tried to contact him once befor.

Developer Last Online: May 2013. I contacted him first time 2 months ago, I have sent him a message again today, and hopefully he would answer back!

At least ot let us know if he will be doing something, or not...Please Update this amazing Addon, So users on vBulletin 3.8 wont be able to login to other members Facebook Accout, and vBulletin Account! Thank you

karabaja3
06-19-2013, 12:46 AM
So, this is unsafe to use?

A.Chakery
06-19-2013, 06:08 AM
So, this is unsafe to use?
Well since its not supported by the developer I highly recommend you to not to use it...

karabaja3
06-19-2013, 09:49 PM
Well since its not supported by the developer I highly recommend you to not to use it...

Thx for reply. Is there a decent and proper alternative? Besides upgrading to vB 4.1.x

A.Chakery
06-20-2013, 12:34 AM
Thx for reply. Is there a decent and proper alternative? Besides upgrading to vB 4.1.x
There is no ready to use plugin for this issue ... you should get someone to code it for you,

I will never consider upgrading my vb to v4 or v5 as an option.

karabaja3
06-20-2013, 06:49 PM
There is no ready to use plugin for this issue

What about this?
https://vborg.vbsupport.ru/showthread.php?t=232457
It says it wokrs with vB4 but its lower verision than this? I'm a little bit confused. Some say it works fine.I will never consider upgrading my vb to v4 or v5 as an option.

Same here. :)

vithorius
08-06-2013, 01:31 PM
I will never consider upgrading my vb to v4 or v5 as an option.
Please add me too to the list!

Upgrade to v4 or v5 IS NOT AN OPTION! :erm:

gabrielt
08-12-2013, 09:25 PM
Installation of this mod requires that your cURL installation to have support for SSL, in order for your server to be able to exchange information with Facebook...

You must download and compile openSSL: http://www.openssl.org/
You have to download and compile libcurl: http://curl.haxx.se

OpenSSL MUST be configured with --shared (otherwise you will get the message "configure: error: OpenSSL libs and/or directories were not found where specified!" when configuring cURL):

./configure --shared
make
make test
make install

Had to install libssl-dev (apt-get install libssl-dev).

Then configure and compile cURL with:

./configure --with-ssl
make
make install

Tyran1
08-16-2013, 01:28 PM
Deutsche Produktdatei im Anhang!

karabaja3
01-31-2014, 11:27 PM
does anyone runs this mod at his vb? link?

ChiNa
04-08-2014, 01:00 PM
//Edited - The whole history of this Addon on my board

Used and failed on vBulletin 3.8.6 LP1 + vBulletin 3.8.7 LP3.

Let me start saying that this is one of my Favorit Addons. I was really happy for it because there wasnt any other Facebook Addons or Bridges for vB 3.8. And I already had a few members from Facebook that was working fine in the beginning.

The Author needs to take the responsibility of the failure and the damage it has done to many forums including my own. Luckily my forum is not damaged in a bad way. But we had members who could abuse other peoples Facebook and User accounts in my forum. I was fast enough to remove it befor it did any harm. Let me also include and say that I reinstalled this plugin more than 3 times and it failed everytime. And every time members were logged into a different users account.

I gave it one last shot and Installed it for the 4th time on a new and clean forum. Then it happened again. I was logged into another users account and then it was about time to contact vBulletin.org and the Developer. Since that incident I have time after time replied on this Topic to let others know about this issue and tried to contact to Author. But with no luck. The Author never replied. If you go looking back a few pages you will see my earlier replies. I just dont want this to happen to any other forum owner out there. As a developer and vbulletin user i feel its my duty to let others know. And I believe in this case the Developer has not been able to take contact to users who have had issues. He didnt even comment.

There is a huge problem with this Addon because of the changes made on Facebook. So hopefully I am crossing my fingers after this to hear from him!

hotshot
04-11-2014, 09:55 PM
The Developer of this Plugin needs to take the Responsibility of the Failure and the Damage it has done to many forums including my own. I dont understand why vBulletin is still allowing this Plugin. This plugin is not working properly! After sometime your users will be able to Login to eachothers account and also use eachothers facebook! There is a huge problem with this Addon because of the changes made on Facebook.

I have tried to contact the developer more than 3 times and I havnt heard a single word from him!

THUMBS DOWN, and BAD REPUTATION!

Thanks for the warning.

BirdOPrey5
04-12-2014, 01:44 PM
Hello,

Some people have asked if there is a security flaw in this mod- one customer has reported using this mod allows users to sometimes log into another users account- obviously if true that is a very bad situation.

However this is not a security risk we can see like an SQL Exploit in the code- we have no way to verify this.

You must do your own research for all mods before you install them- we make no guarantee they are safe.

It would be great if the mod author could address the security questions raised but it is ultimately up to you whether you wish to install or keep the mod installed.

s_cocis
04-25-2014, 04:43 PM
In show showthread.php biew double icon :confused:

ChiNa
06-08-2014, 02:19 PM
Finally. Thanks to BirdOPrey5, for the comment.

I can see that the Developer has finally taken actions and wrote:


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.
@s_cocis >> "Not Supported!!" >> As you can read "The Facebook API has since changed" >> Not only The Facebook Codes has changed, but we all have had huge issues with this addong. Reading the latest comments will save your forum for trouble, issues or even from being hacked...

I recommend using >> YAF - Another Facebook Bridge (https://vborg.vbsupport.ru/showthread.php?t=223555&highlight=YAF+Facebook)