WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Simple Facebook Connect] SFC w/ Custom Fields

[Plugin: Simple Facebook Connect] SFC w/ Custom Fields

  • Hey, great plugin Otto!

    I was trying to get custom fields to work by hooking into WP:

    add_action('comment_form_logged_in_after','star_fields');
    add_action('comment_form_after_fields','star_fields');

    I found the SFC plugin to be hiding the field I was trying to add through the hook so I changed starting at around line 337 in sfc-comments.php:

    if (!jQuery('#fb-user').length) {
    
                                    //added code...
    				jQuery('.comment-form-author').hide();
    				jQuery('.comment-form-email').hide();
    				jQuery('.comment-form-url').hide();
    				jQuery('#alt-login-methods').hide();
    
                                    //modified line...
    				jQuery('#comment-user-details').before("<span id='fb-user'>" +

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  • The topic ‘[Plugin: Simple Facebook Connect] SFC w/ Custom Fields’ is closed to new replies.