Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter fawnfritzen

    (@fawnfritzen)

    (You can tell I’m a PHP n00b. ?? )

    But still, I did add the three lines as instructed, and it didn’t change anything….

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Make sure your theme includes both the wp_head() and wp_footer() calls properly. Run it through the “Theme Check” plugin to see if it’s broken in any way.

    If the theme isn’t normal, then it won’t adapt properly.

    Thread Starter fawnfritzen

    (@fawnfritzen)

    Well, I got a beautiful long PAGE full of “RECOMMENDED”, “WARNING”, and “INFO”, but neither the head or footer calls appeared. I’m stumped.

    Argh. If I have to install and reconfigure a new theme, I will cry for sure. ??

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Can you post a link to a page where you would expect to see the comments button, but don’t?

    Thread Starter fawnfritzen

    (@fawnfritzen)

    Here’s a blog post I wrote yesterday. I’ve checked the “Allow FB Login to Comment (for non-registered users)” box on the SFC Settings page…

    https://fawnfritzen.com/i-thought-about-you/

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    That page doesn’t have any of the Facebook code on it in either the footer or in the comment form.

    So, check the theme’s footer.php and make sure there is a call to wp_footer() before the ending </body>, and make sure you added the relevant three lines to the proper place in the comments.php file.

    Thread Starter fawnfritzen

    (@fawnfritzen)

    Ahhhhh, I thought it was a global thing. Okay, I’ll go give that a try.

    Thread Starter fawnfritzen

    (@fawnfritzen)

    Sorry, I re-read what you wrote and see that it IS global. Documenting my steps to potentially help out others…

    In the Dashboard editor I found footer.php and could see that there’s a call to wp_footer(). Header.php contains a called to wp_head().

    Now the comment.php file… I had to go to the file manager of my web host to look for this, as it’s not available from the WP Dashboard. I realize that the php file edited yesterday was NOT the comment.php file. That one was called wp-comments-post.php and was in my public_html directory.

    I found comment.php in the wp-admin folder… but there are a whole bunch of switches relating to comment editing and moderation and nothing about any input fields. So I haven’t a clue about where to put the lines of code I’m supposed to insert.

    Then I found ANOTHER comment.php file in the wp-includes folder. But I can’t find input fields there, either.

    Then I went looking down in the Theme folder (where I found header.php and footer.php), but no comment.php.

    I found comments.php in a subfolder of the wp-includes folder, and it has a coded comment that the file is there for backwards compatibility. When I edited that, the “Connect with Facebook” button appeared!

    It still doesn’t seem to work the way I’d expect, though. The button is there, it asks for my Facebook password, etc., but then I still have to fill out the name and e-mail fields… and it doesn’t seem to actually connect to Facebook.

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Okay, all the files I told you to look at should be in your theme. Nowhere else. Nor should you be editing any files outside of your theme.

    It sounds like your theme is incomplete. If you’re missing the comments.php file in the theme, then yes, WordPress will use that backwards compatible one, but no modern theme (made in the last 3-4 years) should be missing that file. How old is this theme?

    Also, I think you edited the file wrong, because the behavior you’re describing is clearly not right.

    At this point, my only remaining suggestion would be to get a better and more recent theme and use that instead of your current theme.

    Thread Starter fawnfritzen

    (@fawnfritzen)

    The theme is supposedly brand-new (Radiant from Make Design), but it’s based on their “Skeleton” suite of themes, so I guess it’s got legacy “bones”. No pun intended. (But ha!)

    Thanks for all your time Otto. I’m sorry it’s been a wild goose chase. Argh.

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Before giving up, make sure it isn’t really a plugin issue. Try switching to the default theme, and see if the plugin works there.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘FB login for comments not working’ is closed to new replies.