As it says in the first post, you must be running the trunk version, this will not work with RC-1.
@donncha: Just log out and look at the home page.
So how do we install this?
Put bp-fbconnect.php in the mu-plugins folder and the bp-fbconnect folder in the plugins folder?
Or do we just drop the parent bp-fbconnect folder into plugins?
Edit: Nevermind…just saw it was added to the first post.
This is what I’m seeing, logged out:
I see lots of Facebook avatars among the newest members, but am somehow missing the button itself.
How do you install this on custom theme and also in future can FB-connect feature invite FB friends etc?
Ah, okay, SOLVED.
I was logged out in that screenshot but Safari must have been holding a cookie identifying me a member all the same, resulting in the username field, password field and submit button appearing but not the Facebook button.
When I finally realized what was happening, I tried with a different browser and, hooray!, the Facebook button was right there.
So, now that I can see it, I would just like to say, officially, WOW, amazing feature, this is going to be fearsomely popular with users.
I have to give you props for this one–that is sick! It works sweet…
I just have a question, when I use another home theme or blog theme the facebook icon doesn’t show up??? Might you know why it wouldn’t show up in a different theme that is based on the buddypress home theme? Thanks
If you are using a different theme – then put this line where you want the button to show:
<?php do_action(‘fbc_display_login_button’); ?>
I added one (<?php do_action(‘fbc_display_login_button’); ?>) to the member page in the userbar and it shows up fine, however, when I log out of the facebook page under my member profile it will not let me log out. I can only log out through the homepage.
And for some reason when I paste that code under another blogs theme it won’t take it, could it be something to do with this part in the style sheet?:
THEME NAME: Other
THEME URI: http://website.com/
DESCRIPTION: others only
I’m running the latest trunk (r 1197), and I installed the plugin into my /plugins folder so an example path is /wp-content/plugins/bp-fbconnect/bp-fbconnect/wp-facebookconnect/common.php.
I am running the BuddyPress theme in my “community.mysite.com” subdomain, so I’m trying to activate it through that dashboard, not the mysite.com dashboard.
However, when I go to activate the plugin, I get the following fatal error in my plugin menu:
Plugin could not be activated because it triggered a fatal error.
Warning: require_once(/home/zmdy/public_html/wp-content/wp-config.php) [function.require-once]: failed to open stream: No such file or directory in /home/zmdy/public_html/wp-content/plugins/bp-fbconnect/bp-fbconnect/wp-facebookconnect/common.php on line 11
Fatal error: require_once() [function.require]: Failed opening required '/home/zmdy/public_html/wp-content/wp-config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/zmdy/public_html/wp-content/plugins/bp-fbconnect/bp-fbconnect/wp-facebookconnect/common.php on line 11
error logs show:
[Mon Mar 09 22:39:58 2009] [error] [client 220.127.116.11] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/zmdy/public_html/wp-content/wp-config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/zmdy/public_html/wp-content/plugins/bp-fbconnect/bp-fbconnect/wp-facebookconnect/common.php on line 11, referer: http://community.mydomain.com/wp-admin/plugins.php?error=true&plugin=bp-fbconnect%2Fbp-fbconnect.php&_error_nonce=1a91b34821
[Mon Mar 09 22:39:58 2009] [error] [client 18.104.22.168] PHP Warning: require_once(/home/zmdy/public_html/wp-content/wp-config.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/zmdy/public_html/wp-content/plugins/bp-fbconnect/bp-fbconnect/wp-facebookconnect/common.php on line 11, referer: http://community.mydomain.com/wp-admin/plugins.php?error=true&plugin=bp-fbconnect%2Fbp-fbconnect.php&_error_nonce=1a91b34821
Need some help…could it be a bug with installing this into a virtual domain?
Extract the files in the ROOT of the plugins dir not in a /bpfbconnect/ folder.
Okay, last question of the night…can I change the “facebookuser” slug to something else like just “user” or “mydomainuser?” or is that not an option?
Change /plugins/bp-fbconnect/wp-facebookconnect/config.php line 8.
If I want to implement this in RC-1, where do I need to make changes?
(i use wordpressmu 2.65, buddypress svn version more recent than RC1, italian localization)
hi Andy, i’m trying the facebook connect locally.I’ve copie the bp-fbconnect.php file and the bp-fbconnect folder in my plugins folder but after inserting the api key and updating options i receive this error:
Fatal error: Uncaught exception ‘FacebookRestClientException’ with message ‘Template bundles must include at least one one line story template.’ in C:xampphtdocswordpressmuwp-contentpluginsbp-fbconnectwp-facebookconnectfacebook-clientfacebookapi_php5_restlib.php:1857 Stack trace: #0 C:xampphtdocswordpressmuwp-contentpluginsbp-fbconnectwp-facebookconnectfacebook-clientfacebookapi_php5_restlib.php(414): FacebookRestClient->call_method(‘facebook.feed.r…’, Array) #1 C:xampphtdocswordpressmuwp-contentpluginsbp-fbconnectwp-facebookconnectfbconnect.php(567): FacebookRestClient->feed_registerTemplateBundle(NULL, NULL, NULL, NULL) #2 C:xampphtdocswordpressmuwp-contentpluginsbp-fbconnectwp-facebookconnectfbconnect.php(262): fbc_register_templates(false) #3 C:xampphtdocswordpressmuwp-includesplugin.php(311): fbc_admin_options(”) #4 C:xampphtdocswordpressmuwp-adminadmin.php(56): do_action(‘fbc_admin_optio…’, Array) #5 C:xampphtdocswordpressmuwp-adminoptions-general.php(2): require in C:xampphtdocswordpressmuwp-contentpluginsbp-fbconnectwp-facebookconnectfacebook-clientfacebookapi_php5_restlib.php on line 1857
Will only work with the latest trunk and latest WPMU sorry.
Works great. Love it! Only thing I would like to see added is the ability to connect your current account with your facebook, that way if you are say an admin I don’t have to log into the other account to have comments show up on facebook and all that…
I’d be happy to see others extend this more with some of the things mentioned. It’s unlikely I will have time to look at extending the functionality for quite a few weeks to come. I just got this working for fun on a Sunday.
I have this installed and working great, but the facebook connect button seems to screw up the css in internet explorer…it pushes the members/blogs/groups search and the default login together, so there is literally no space between the two, and the facebook connect button is all the way to the right of the screen. Is there any way around that?
Also, I have my BuddyPress theme in a subdomain: (community.mydomain.com), and when you click a member’s name who used Facebook Connect to sign up, their avatar does not work in the member theme…instead it just shows the default avatar monster things.
Should my member theme be showing up as community.mydomain.com/members/user1 or just mydomain.com/members/user1? Because currently it’s the latter, and everything works fine except the Facebook Connect Avatars.
I can’t find the fbconnect or skeleton member theme files.
maybe I’m just coffee’d out and need a break today.
nvrmnd.. i’m a moron… had to log out first. too much coffee.. i had it in my mind that andy had re-written the whole plugin alltogether.. to accommodate/merge with the profiles of existing members.
@apeatling: It works fine, but not with Opera. I get no “fconnect” button an the top-menu with the Opera (mac). Can you check it?
I had the same problem but with Safari (mac), I don’t know if Andy noticed my posts about it.
As posted above, I eventually figured out that, although I was logged out, with the username field, password field and submit button all appearing to confirm that I was logged out, the facebook button was not appearing because it thought I was still logged in, probably because of a cookie setting still lingering from when I was logged in.
Simply try another browser to see what first-time visitors to your site will see.
- The topic ‘BP-FBConnect Plugin’ is closed to new replies.