New FB Autoconnect Plugin for WP…will it work with MU/BP?
I like a lot of the thoughts he put into this. Anyone take a look at this yet?
@Greg, I get that message:
This application is not set up to request your email address
That is weird. But then the page forwards to a white page with just this text:
Error: Failed to get the Facebook session. Please verify your API Key and Secret.
That still looks like the most likely cause. Make sure you copied the right numbers and that they were saved in the plugin. The save buttons in the admin area are a bit tricky. I think they are separate forms, so you have to hit the right button.
No, the cause isn’t the API key and secret. If you haven’t saved a valid API key and secret, it won’t even render a Facebook button, nor will the login work with the email requirement switched off.
If the problem is that it won’t let him request an email address, the issue could only be the Email Domain setting on the Facebook application, as far as I know. I’m quite confident that functionality works on my end, as I’ve tried it on about 15 other sites since the 1.1.0 upgrade
I’m getting different behavior in firefox and ie as I’m trying to figure out my problems…
Is anyone else having trouble in different browsers?
Or is everyone working perfect but me?
Thanks Greg and Peter for testing Justin’s plugin.
I’m going to wait until you guys have ironed out all the bugs before I try this
I think it’s pretty safe to install. I’m not really sure what’s going on with Greg’s site, but I’ve tried it on several dozen other pages which’ve successfully installed it (including the option to prompt for email). Aside from my own site, here’s just one more example: http://www.ozamiznon.com/
Edit: that example asks for email, but doesn’t require it. Here’s one that requires it: http://blogge.rs/
Edit2: I WOULD be interested to hear from Andy, who should be pretty good at detecting any buddypress-specific bugs that I can’t
issue could only be the Email Domain setting on the Facebook application, as far as I know
That sounds like it to me. Have you checked that Greg? I don’t think it’s anything Buddypress-specific.
Andy’s version of the plugin works brilliantly for me, including custom queries – except a query for xprofile fields, haven’t figured that out yet.
@justin_k, is there a definitive version? What are the advantages?
Both Andy and I have recommended several times not to use his test version; he just submitted it to me as an example of how to make correct BuddyPress usernames. There’s only one version available on the wordpress plugins repository. The advantage? That everyone else will be using the real version, that if you don’t use the real version you’ll be running unsupported code along with all the bugs that I’ve fixed since it was produced, and that obviously the documentation on my site will reflect the real plugin, not unreleased debug versions.
If the choice is between an official WP version that doesn’t work on BP or an unofficial test version that does, I’ll use the unofficial test version. What’d ya gonna do about it?
What are you talking about? Do what u like, but as far as I know you’ll be the only person using the unreleased test version. Dozens of others on BuddyPress are already using the real version, including ModemLooper’s link just one post above yours.
So there already is a new version with Andy’s code included? That was my question. That’s news to me. Is that the current one in the WP plugin depository? How is it different from the test version?
Your WP install doesn’t automatically tell you when a new version is in the repository? It should, 90% of the sites that were using the plugin had upgraded within the first 6 hours. I also announced it in the comments on the plugin homepage, and Greg announced it in this forum a day ago (“I’ve got version 1.0.8 with buddypress filters acvitated on my site if you guys want to try it.”). It’s up to 1.1.1 now. The changelog shows that it includes BP support. The documentation on my webpage also shows that it includes BP support.
From Andy’s test version it works quite differently; I didn’t document all the differences though as we’d asked that people not use the test version for the few hours it took me to get out a real one. In any case, there should no longer be any need to manually edit the plugin – there are filters and actions that let you accomplish whatever custom integration you want (and if you need another filter/action somewhere else, I can add it so there will never be a need to edit the plugin directly). I’m pretty sure the 2 actions & 1 filter I’ve included should be sufficient for most usual needs, though.
OK, I’ve upgraded. Under Debug Options I see a selected checkbox with Disable BuddyPress filters. What are Buddypress filters? Should I enable them?
there should never be a need to manually edit the plugin, no matter what you want to change – there are filters and actions for that, and if you need another filter/action somewhere else, I can add it so there will never be a need to edit the plugin directly. I’m pretty sure the 2 actions & 1 filter I’ve included should be sufficient for most usual needs, though
What are these actions and filters? I see nothing about them in the settings area. Will they let me add queries, change how userdata is stored in the wp and other databases, like a mailing list? Does anyone have examples how to do that the official way? I’m not a programmer…
>>What are Buddypress filters? Should I enable them?
If you’re using BuddyPress, you don’t want to disable the BuddyPress filters. Debug options are just for development and 99.99% of the time you shouldn’t need to touch them.
>>What are these actions and filters? I see nothing about them in the settings area?
I’ve spent a great deal of time documenting everything extensively on the plugin homepage, often with examples. It already answers very many of the questions you’ve asked on here (including this one). Please make sure you’ve read it.
Note: the reason BP filters might be disabled for you is because you decided to use the test version, thus creating conflicts. For other users, it’ll properly detect if they’re using BP and select/deselect itself by default accordingly.
I’m all fixed now. thanks for all of your help!
If I can get it up and running on my site, anyone can
I deleted all of the old database records…
After 48 hours of trying every hack and patch that everyone threw out, I must have messed something up that didn’t get erased when I deleted the plugin.
Oh, to be a guinea pig…
Time for beer.
Cheers Y’all and thanks for all your help!
It works great for me as well, with the proper usernames and fetching of emails. Thanks again Justin, hope you receive some more donations for all your hard work!
I just tried this plugin. I don’t see any Facebook connect button… using BuddyPress 1.2.1
Have you enabled the login widget ? That should do the trick.. If you want to put the button somewhere manually check out the pluging documentation:
- The topic ‘New FB Autoconnect Plugin for WP…will it work with MU/BP?’ is closed to new replies.