Skip to:
Content
Pages
Categories
Search
Top
Bottom

add fbconnect button to buddybar

  • Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

    I want to add the fb-connect button to the buddybar and so far have this bit of code:

    <?php do_action('fbc_display_login_button'); ?>

    Does anyone have a code snippet I can use to add this button to the buddybar?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

    I have tried to add it to bp-custom.php using a code snippet I already have, but it didn’t work. Can’t figure out what’s going on!

    Avatar of David Mazza
    David Mazza
    Participant

    @dmazza

    I was able to add it to the admin bar on http://sunysb.net

    I am going to make facebook the only way to sign up and login once I modify the home theme.

    I don’t know what you mean by ‘buddybar’. All I know of is the adminbar, userbar, and optionsbar. You might be talking about the userbar that shows your own avatar and navigation through profile, friends, activity, etc when logged in, and just a login form when logged out. I got rid of that on my member theme.

    It shouldn’t be very hard to add it anywhere, that code snippet should be all you need, unless you want a little more customization. You will also probably need to modify or add to the structure.css file within the plugin.

    Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

    @David,

    I looked at your site and want to add the button in the adminbar (you have text there and a drop down for the fbconnect button.

    Thanks for this. I’ve got it now.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.