WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
[resolved] Comments add on code not working (7 posts)

  1. sruddy
    Member
    Posted 1 year ago #

    I have tried adding this code with no luck.

    <div id="comment-user-details"> <?php do_action('alt_comment_login'); ?> ........</div>

    I have photocratti theme.
    Thanks

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

  2. sruddy
    Member
    Posted 1 year ago #

    Well I tried it again here is the code and were I put it.

    <div id="comment-user-details"] [?php do_action('alt_comment_login'); ?>
    
                <div id="form-section-author" class="form-section">
    <div class="form-input"><input id="url" name="url" type="text" value="<?php echo $comment_author_url ?>" size="30" maxlength="50" tabindex="5" /></div>
                </div><!-- #form-section-url .form-section --></div>

    `

    Is this right and would someone go to my blog to test it out? I don't see it myself I guess because I'm the admin?

  3. sruddy
    Member
    Posted 1 year ago #

    what a minute looks like I didn't have it just ahead of author input here is were it is now.

    <div id="comment-user-details"] [?php do_action('alt_comment_login'); ?>
    
    				<div class="form-input"><input id="author" name="author" type="text" value="<?php echo $comment_author ?>
  4. sruddy
    Member
    Posted 1 year ago #

    My wife looked at the last blog post on her work pc and she said it said Hi you are logged in with your facebook account and gave her the option to log out. Her facebook profile pic was to the left of that text.

    However my mother-in-law only had a email, website, and comment field. She had no button offering to connect with facebook. I had to go into disscussion settings and require login for her to get the connect with facebook option. I do not want log it required however i do want facebook connect available.

  5. sruddy
    Member
    Posted 1 year ago #

    Here is my update. The connect with facebook button only shows if I have, users must be registered and logged in to comment checked in settings/discussion. Exactly opposite of what Otto said should work so i don't know whats going on. This is not how I want it to work so I'm leaving this thread unresolved.

  6. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 1 year ago #

    You put the code in the wrong place into your comments form. You put it inside the section where log in is required. You should have put it in the section where the name/email/url fields were, like the FAQ says to do.

    Undo your changes to the comments form and try again.

  7. sruddy
    Member
    Posted 1 year ago #

    You put the code in the wrong place into your comments form. You put it inside the section where log in is required. You should have put it in the section where the name/email/url fields were, like the FAQ says to do.

    Undo your changes to the comments form and try again.

    Code was exactly before the author input see my 4th reply above.

    You and I both missed the fact that I did not replace all the [] with <> in of the supplied code.

    <div id="comment-user-details"] [?php do_action('alt_comment_login'); ?>

    when should have been

    <div id="comment-user-details"> <?php do_action('alt_comment_login'); ?>

    I now have settings/dicussion/ Users must be registered and logged in to comment unchecked and I do have the connect to facebook showing and working.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.