Support » Plugins » [Plugin: Simple Facebook Connect] Connect To Facebook Button Help

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    After activating the base SFC plugin, you can add fb:login-button code to your site anywhere you like and a login button will appear.

    Thank you I found out how that only works on widgets, posts and pages on wordpress but I’m trying to add this to my custom login page template a php file.

    Found out what I did wrong it was the same lines I’ve used at first:

    <script src="" type="text/javascript">
    <fb:login-button onlogin='window.location="/";'></fb:login-button>
    <script type="text/javascript">FB.init("53d596ea8c52cec493d8a1e6ad7ead6e", "");

    On the second argument I used “xd_receiver.htm” but the right way was “” :/

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    No, I don’t think you understand. The base SFC plugin, once activated, takes care of the FeatureLoader and that FB.init stuff for you. You don’t need to add any of that manually at all. And you definitely don’t need the xd_receiver.htm file on your site, that’s handled by the plugin internally.

    Install and setup the base SFC plugin. Then just use the fb:login-button code anywhere. In the theme, in a post, in a widget… whatever you like.

    If you have a custom page or theme or what not, then make sure it includes the proper calls to wp_head() and wp_footer() to get the Facebook code inserted into it.

    If you’re making a custom login page, then activate the SFC-Login plugin and make sure you page runs the login_form action, like the normal login page does. That will have the login plugin insert the login button as per usual. Also, the Login plugin has other code to make the button actually work. 🙂


    can you give me code how to place simple fb login code in

    simple model login window to login / register site

    @otto , Id like to know the same as yashmistrey.

    I think a lot of people use Simplemodal plugin. Right now, all there is is janrain simplemodal engage plugin. Its got too many bugs to be implemented right now. Any way you could tell us how to make your simple fb and twitter buttons appear up on a simplemodal login pop-up?

    I love your plugin by the way 🙂 good work. Only one thing, if you’re going to give all these little parts of your plugin a seperate entry on my wordpress plugins page, shouldnt you allow me to remove any of those i don’t use seperately? now if i try to remove those i don’t use, it wants me to remove all of them at once. I just like to keep the plugins page a bit clean thats all.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Simple Facebook Connect] Connect To Facebook Button Help’ is closed to new replies.