• DrLightman

    (@drlightman)


    I really love this plugin and made my life easier to install Facebook connect.

    I want to add the Fan Box widget for my page in the sidebar, and since I’m not using widgets in my theme but have to code the sidebar manually, I’d like to use a tempalte tag to insert the Fan Box, but it seems I cannot find any.

    Digging the sfc-fan-box-widget.php file I only found the sfc_fanbox_shortcode() function, maybe should I use that?

    Thank you for any help you could provide.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter DrLightman

    (@drlightman)

    For now I did this way:

    <?php echo sfc_fanbox_shortcode(array('width'=>'290','height'=>'200','stream'=>'0')); ?>

    Thread Starter DrLightman

    (@drlightman)

    Another thing I would suggest the plugin author, is not to use wp_die() on modules if main plugin is not installed. I think a flash message warning would be enough (“Fan Box need the sfc plugin to be activated first”)

    This because wp_die broke a blog activation in a wpmu installation while using an Auto Activation Tool, since the order of activation was not the one needed by sfc modules. SO every latter plugin were not activated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Simple Facebook Connect] Fan Box template tag’ is closed to new replies.