WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Simple Facebook Connect] “Connect to Facebook” button displayed as plaintext

[Resolved] [Plugin: Simple Facebook Connect] “Connect to Facebook” button displayed as plaintext

  • Newbie here. I activated the base plugin, added a few SFC sidebar widgets, and I see “Connect with Facebook”, but it’s in plaintext. It’s not hyperlinked and lacks the “Connect with Facebook” button! The fbook status widget does not appear to be working either…having never setup a facebook application, it’s highly likely I’m doing something wrong 🙂

    Suggestions are most appreciated.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hard to say without seeing the site, but my best guess:

    Your theme is missing either the wp_head() call in the header.php or it’s missing the wp_footer() call in footer.php.

    Either one of these missing would cause what you’re describing.

    I’ll post my footer (using the arras theme). Both the header and footer.php files contain the calls, but I’m not sure if they’re in the right location. Does it matter?

    <?php arras_before_footer() ?>
    	</div><!-- #main -->
    
        <div id="footer" class="clearfix">
        	<ul id="footer-sidebar" class="clearfix xoxo">
    			<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer') ) : ?>
                <?php endif; ?>
            </ul>
    
    		<div class="footer-message">
    		<p class="floatright"><a class="arras" href="http://www.arrastheme.com/"><strong><?php _e('About Arras Theme', 'arras') ?></strong></a></p>
    		<?php echo stripslashes(arras_get_option('footer_message')); ?>
    		</div><!-- .footer-message -->
        </div>
    
        <?php wp_footer() ?>
    	<?php arras_footer() ?>
    
    </div><!-- #wrapper -->
    </body>
    </html>

    Okay, well, without seeing the site, I can’t answer your question.

    Oh, my apologies! http://www.justinandellen.com

    Click on any of the front-page posts. Clearly a work in progress.

    I don’t see the Connect with Facebook code at all there. Did you edit your comments.php file to add the necessary code, as it describes in the readme.txt file?

    I did, although I’m not sure if I did it right. If it were only the comment plugin that was not working, I would understand…but it seems as if there is no connection being made to facebook at all (e.g. the front page has the facebook status plugin, but is currently blank).

    <div id="comment-user-details">
    <?php do_action('alt_comment_login'); ?>
       <?php else : ?>
    
        <p><label for="author"><?php _e('Name', 'arras') ?> <?php if ($req) _e('(required)', 'arras') ?></label><br />
        <input type="text" name="author" id="s1" value="<?php echo $comment_author; ?>" size="40" tabindex="1" minlength="2" <?php if (get_option('require_name_email')) : ?>class="required"<?php endif ?> />
        </p>
        <p><label for="email"><?php _e('Mail (will not be published)', 'arras') ?> <?php if ($req) _e('(required)', 'arras') ?></label><br />
         <input type="text" name="email" id="s2" value="<?php echo $comment_author_email; ?>" size="40" tabindex="2" <?php if (get_option('require_name_email')) : ?>class="required email"<?php endif ?> />
        </p>
        <p><label for="url"><?php _e('Website', 'arras') ?></label><br />
         <input type="text" name="url" id="s3" value="<?php echo $comment_author_url; ?>" size="40" tabindex="3" class="url" />
        </p>
       <?php endif; ?>  
    
    </div>

    Otto – your help is much appreciated. Thank you.

    Look at that code you posted above. Those two lines you added at the top need to be BELOW that else: line.

    The User Status thing is there and working, however I suspect that that user has no public status. If you want status to appear, then it has to be visible to “Everyone”. This obeys Facebook’s privacy settings.

    Thanks, Otto. Great plugin you’ve created. I’m up and running…thanks for your time!

    Hi, I have SFC (work) and I installed STC, settings is ok, but twitter button is not visible. http://www.dominikmatus.cz

    I’m having this issue as well, however only on Firefox and Opera. It displays great on IE and Chrome. I do have the necessary calls and my code is correct as far as what the instructions have said. I would love it if you could have a look and see what the issue is: http://farmvillefanatic.com/

    The connect button is currently at the bottom of my sidebar.

    Thanks

    EDIT: Never mind, this only happens on the sidebar widget, the comment one works fine and I don’t even need the sidebar widget.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] [Plugin: Simple Facebook Connect] “Connect to Facebook” button displayed as plaintext’ is closed to new replies.
Skip to toolbar