Jump to content


Photo

Simple facebook Connect plugin


  • Please log in to reply
2 replies to this topic

#1 sbou

sbou

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 07 September 2011 - 03:01 PM

Hello, i'm using Simple Facebook Plugin on my "StationPro" theme, and this plugin require one change for comment with facebook. To make the SFC-Comments plugin work (on older themes), you need to edit your comments form. This is probably in your theme??™s comments.php file. Instructions: Find the three inputs for the author, email, and url information. They need to have those ID??™s on the inputs (author, email, url). This is what the default theme and all standardized themes use, but some may be slightly different. You??™ll have to alter them to have these ID??™s in that case. Just before the first input, add this code: 1
2 Just below the last input (not the comment text area, just the name/email/url inputs), add this: 1
That will add the necessary pieces to allow the script to work. Note: Newer themes that use the comments_form() function don??™t have to add any code added to them at all. The plugin automatically handles that case. http://wordpress.org...cebook-connect/ But i don"t find where on stationpro i have to make this change to work. Can you help me ?

#2 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 07 September 2011 - 03:38 PM

You can modify comments.php. Currently it's calling wp_list_comments(). You could change that to call the actual form elements instead. Check out these links: http://ottopress.com...e-comment-form/ http://net.tutsplus....mmentsphp-file/

#3 sbou

sbou

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 07 September 2011 - 04:30 PM

but this how to use another comment form, i just want to allow users to use Facebook authentification for leave a reply, not change the form, just make the link with the short code as indicated 1
2 should i need to change all comment form method? sorry it's a little hard for me to understand, i'm not developper ;)