To get access to the attachments Subscribe now

Thread Rating:
  • 5 Vote(s) - 3.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FaceBook Connect plugin
#51
Please make sure that the settings of your facebook application are correct.
Forum Admin
Reply
#52
I did, would you like a screenshot? All the settings were set according to installation instructions, everything seems to be working just fine, except for logging out.
Reply
#53
(10-19-2010, 11:33 AM)carsenk Wrote: I did, would you like a screenshot? All the settings were set according to installation instructions, everything seems to be working just fine, except for logging out.
Same happens to me
Reply
#54
Maybe under Advance in edit application on Facebook the Deauthorization URL needs to be inputted? Because facebook can ping a URL when someone deauthorizes does that possibly mean logout? What would we put in this?
Reply
#55
Deauthorizing would mean a total destruction of the connect.

My plugin does delete the facebook cookie at logout and that works for most forums. Do you run any logout plugins on your forum?
Forum Admin
Reply
#56
(10-18-2010, 02:13 AM)Lennart Wrote: Sounds like MyBB publisher does initiate a Facebook class again - you should contact the author about that issue. The connect plugin must initiate the facebook class globally to make the login work.

Hey Lennart, I worked with pavemen in trying to resolve the conflict, but nothing we changed in his plugin eliminated the conflict. It seems you might have used different SDK's in developing the plugins or are using different sets of code.

I was able to get rid of the confilct by changing the class name in your plugin though.

If you are interested, here's what I did to resolve the conflict and get the 2 plugins to work with each other:

I changed line 77 in facebook.php
from: class Facebook
to: class Facebook_connect.

In fbmain.php I changed line 13
from: $facebook = new Facebook(array(
to: $facebook = new Facebook_connect(array(

Both are great plugins and in my opinion actually compliment each other and extend the capabilities of myBB. Maybe you could consider making the modification to your plugin for everyone?
Reply
#57
Since the facebook.php is the official SDK I would like to keep it that way.

I am glad it works for you but remember that you do now run 2 instances of facebook - that kills the performance in every way.

Best regards
Lennart Sauter
Forum Admin
Reply
#58
Lennart, I realize that and wish there was a way around it, but pavemen's facebook class only runs when a new thread is posted, and I really do think the 2 plugins compliment each other nicely.

My foum is not that big at this point and to me, at least for now, its worth the perrfomance hit.
Reply
#59
I install a fresh new forum without anything on it except Facebook connect plugin and the logout still not working. Any idea?
Reply
#60
(10-23-2010, 12:00 AM)mark-in-dallas Wrote: Lennart, I realize that and wish there was a way around it, but pavemen's facebook class only runs when a new thread is posted, and I really do think the 2 plugins compliment each other nicely.

My foum is not that big at this point and to me, at least for now, its worth the perrfomance hit.

Okay then Smile

(10-27-2010, 12:32 AM)Foo Wrote: I install a fresh new forum without anything on it except Facebook connect plugin and the logout still not working. Any idea?

Do you have a proper facebook application? With all the text fields?
Forum Admin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)