Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Facebook Connect Panel

Quote

jeepxj4021 wrote:

Updated to v7.02.04. Works Great! however, is it possible to have it redirect you to previous URL after connecting with Facebook?


Currently, it is not possible in it. But I will surely think about this in Next version. Thank you B)

Quote

Ankur wrote:


Currently, it is not possible in it. But I will surely think about this in Next version. Thank you B)


Thank you
i followed the steps, but i keep getting the error: facebook_connect_panel/register.php
unlink(../../images/avatars/36461676[1]_1.jpg) [<a href='function.unlink'>function.unlink</a>]: No such file or directory Line: 63

Quote

TheDarkAce wrote:

i followed the steps, but i keep getting the error: facebook_connect_panel/register.php
unlink(../../images/avatars/36461676[1]_1.jpg) [<a href='function.unlink'>function.unlink</a>]: No such file or directory Line: 63


Does the infusion is working ok for you except this error ? I will check the code and will give solution soon... B)
Great infusion... However I too am receiving the error "Failed to Update your Information" when I try visit any page of my website. It's apparently trying to update the information in my Profile for Facebook Name, Email and my Profile Photo.

My Member Profiles don't have a Facebook entry. Could this be part of the problem?

Steve
Changing the register.php code as suggested on page 1 of this thread:

Changing the line:

Quote

if (dbcount("(user_id)", DB_USERS, "user_fbauthid='".$_SESSION['fbc_userid']."'"wink == 1)


to now read:

Quote

if (dbcount("(user_id)", DB_USERS, "user_fbauthid='".$_SESSION['fbc_userid']."'"wink == 0)


Solved the problem I was having.

Steve
I am taking Php Fusion 7.02. in the lastest Version. I have a litte problem. I get a defect report. :|

Unknown column 'user_fbauthid' in 'where clause'

Can me help anyone?

Quote

Maracolada wrote:

I am taking Php Fusion 7.02. in the lastest Version. I have a litte problem. I get a defect report. :|

Unknown column 'user_fbauthid' in 'where clause'

Can me help anyone?


After Infusing the Infusion, you must Install it from the Install link on the page infusions/facebook_connect_panel/facebook_connect_panel_admin.php.

Good Luck :)
GREAT ADDON! WORKS AMAZINGLY. I only have one problem. If say my friend logs in using Facebook, then they sign out, and sign out of their Facebook account, then I sign into my Facebook account and try to log into my site using Facebook it will log me back into their user name. And the only way to then log into my account with Facebook is by reseting my browser.

How can I fix this? I'm guessing it has something to do with cookies. Is it keeping the old Facebook ID cookie from my friend and not deleting it?


Thanks for the help and thanks for the great add-on

Quote

jeepxj4021 wrote:

GREAT ADDON! WORKS AMAZINGLY. I only have one problem. If say my friend logs in using Facebook, then they sign out, and sign out of their Facebook account, then I sign into my Facebook account and try to log into my site using Facebook it will log me back into their user name. And the only way to then log into my account with Facebook is by reseting my browser.

How can I fix this? I'm guessing it has something to do with cookies. Is it keeping the old Facebook ID cookie from my friend and not deleting it?


Nopes... This is neither a problem nor a bug.

See, Let me explain it to you. (Sorry if my english is bad).

When you Log into Facebook, you can't browse Facebook pages without login. OK ?
Now, this is an App, which will authenticate your website account by your Facebook account. After you authenticate using Facebook, facebook's job is finished.

Now, you are Logged into your website. Now, if you log out of Facebook, it won't log you out of website. You must Log out using the Log Out button provided in this Infusion.

I hope you understood the working :)
When I log out using the logout button, then I log in using a different connected Facebook it still reconnects me with the previous Facebook user. Even though I have signed out of my php fusion site account and out of my Facebook account.

For Example:

If I log in to Facebook as [USER A] and use it to sing into php fusion as [FUSION USER A],

then I sign out of [FUSION USER A] and Facebook as [USER A]

then I sign into Facebook as [USER B] and go to php fusion to try to sign in as [FUSION USER B]

but if I use the login with Facebook option, it will sign me into php fusion as [FUSION USER A], even though I am no longer using that Facebook account and [USER A] is no longer using this computer.

I'm just worried it could be a security threat

Quote

jeepxj4021 wrote:

When I log out using the logout button, then I log in using a different connected Facebook it still reconnects me with the previous Facebook user. Even though I have signed out of my php fusion site account and out of my Facebook account.


Are you sure ?

Because I tested the infusion thoroughly and I didn't faced this problem...

Please try to perform this on https://www.phpfusion-mods.net/news.php. I think that the problem is on your side...
Hi,

I'm trying to get Facebook Connect to work on my site @ http://www.giggle...

When I log in / connect using the infusion I get the following under my details on the right hand panel

CodeDownload  
Download source  Code
Notice: Undefined index: user_fbauthid in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel.php on line 44






Then on the centre it says:

CodeDownload  
Download source  Code
Unknown column 'user_fbauthid' in 'where clause'
Failed to Update your Information !






Earlier, when I logged out of my actual account on the site to test being logged in using facebook I got a page where it's asking me to register using the facebook account.

I have the panels set to super admin until it's working correctly.

Am I doing something wrong or are these known problems?

Thanks,
Jo

UPDATE: Whilst logged in with facebook on the site, I click on 'Home' but it doesn't take me to the page. Instead, I'm stuck with my profile name etc.

FURTHER UPDATE:

I checked the infusion in admin cp and under user tracking it says this:\

CodeDownload  
Download source  Code
Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ons.xml:7: parser error : EntityRef: expecting ';' in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: (){var a="";var b="";if(window.location.search.indexOf("?")==0){b="&framerequest in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ons.xml:7: parser error : EntityRef: expecting ';' in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: search.indexOf("?")==0){b="&framerequest=1"}else{b="?framerequest=1"}b+="&refurl in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ons.xml:7: parser error : AttValue: " or ' expected in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: t(StaticRequestInfo.Referer);a=window.location+b;document.write("<frameset rows= in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ons.xml:7: parser error : attributes construct error in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: t(StaticRequestInfo.Referer);a=window.location+b;document.write("<frameset rows= in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ons.xml:7: parser error : Couldn't find end of Start Tag frameset line 7 in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: t(StaticRequestInfo.Referer);a=window.location+b;document.write("<frameset rows= in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ons.xml:7: parser error : AttValue: " or ' expected in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: t rows=\"100%,*\" frameborder=\"no\" border=\"0\" framespacing=\"0\"><frame src= in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ons.xml:7: parser error : attributes construct error in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: t rows=\"100%,*\" frameborder=\"no\" border=\"0\" framespacing=\"0\"><frame src= in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ons.xml:7: parser error : Couldn't find end of Start Tag frame line 7 in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: t rows=\"100%,*\" frameborder=\"no\" border=\"0\" framespacing=\"0\"><frame src= in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ons.xml:7: parser error : StartTag: invalid element name in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: \" border=\"0\" framespacing=\"0\"><frame src=\""+a+"\" name=\"landingparent\">< in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ns.xml:20: parser error : Opening and ending tag mismatch: meta line 19 and noscript in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: </noscript> in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ns.xml:23: parser error : Opening and ending tag mismatch: meta line 22 and noframes in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: </noframes> in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ns.xml:24: parser error : Opening and ending tag mismatch: noframes line 21 and body in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: </body> in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ns.xml:25: parser error : Opening and ending tag mismatch: noscript line 18 and html in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: </html> in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ns.xml:26: parser error : Premature end of data in tag body line 17 in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: http://ankurthaku...ns.xml:26: parser error : Premature end of data in tag html line 2 in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 40

Notice: Trying to get property of non-object in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 41

Warning: Invalid argument supplied for foreach() in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 41

Notice: Undefined variable: link in /home/gigglesn/public_html/infusions/facebook_connect_panel/facebook_connect_panel_admin.php on line 47
Facebook Connect Panel v1.0 - By Ankur Thakur






I am also unable to log out using it. It just takes me back to the page with my avatar and details on. It says it's unable to update information.

The errors listed under my avatar on the side panel earlier have now disappeared.

It appears to be constantly redirecting to http://www.giggle...gister.php

Quote

younis wrote:

Changing the register.php code as suggested on page 1 of this thread:

Changing the line:

Quote

if (dbcount("(user_id)", DB_USERS, "user_fbauthid='".$_SESSION['fbc_userid']."'") == 1)


to now read:

Quote

if (dbcount("(user_id)", DB_USERS, "user_fbauthid='".$_SESSION['fbc_userid']."'") == 0)


Solved the problem I was having.

Steve


Looks like that solved everything for me :)
So I was wrong. I changed the panel to 'public' and logged out of my account (the actual site account and not the fb one) and now it just re-directs me to http://gigglesnort.net/infusions/facebook_connect_panel/register.php

When I put a password in it tells me that someone with that email is already registered.

Have these errors:

CodeDownload  
Unknown column 'user_name' in 'where clause'



CodeDownload  
Fatal error: Call to undefined function add_to_footer() in /home/gigglesn/public_html/infusions/facebook_connect_panel/register.php on line 265

Ok so I get this Error on your website...

Unknown column 'user_name' in 'where clause'Unknown column 'user_algo' in 'field list'

Did you installed it first through /facebook_connect_panel_admin.php ?
Which version of php-fusion have you installed this ? Its only compatible with the 7.02+
I'm running v7.01.05 so I'll have to update some time today then.

Yes, I installed it through infusions on admin cp:

Facebook Connect Panel Enabled in Panels
Facebook Connect Debugging Panel Enabled in Panels

Quote

TwifanUK wrote:

I'm running v7.01.05 so I'll have to update some time today then.


You may backup your server and then Update(if there isn't any hurry)... Good Luck :G
I've updated and now run 7.02.00 (will be updating to 7.02.05 asap) but have noticed that when I try to log out of the FB login on the site it just takes me back to the news.php (loads as if it's logging me out) but I'm still logged in. The exact same thing happens if I try to log out of the actual site account too...

Quote

TwifanUK wrote:

I've updated and now run 7.02.00 (will be updating to 7.02.05 asap) but have noticed that when I try to log out of the FB login on the site it just takes me back to the news.php (loads as if it's logging me out) but I'm still logged in. The exact same thing happens if I try to log out of the actual site account too...


Any Errors in the error log regarding that ?
Thread Information
Author
Replies
85 posts
Views
50,124 times
Last Post
Last updated on 7 years ago
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.