• 0
Sign in to follow this  
Followers 0

Simple facebook Connect plugin

Question

Posted · Report post

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 <?php do_action('alt_comment_login'); ?> 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/extend/plugins/simple-facebook-connect/ But i don"t find where on stationpro i have to make this change to work. Can you help me ?

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted · Report post

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/2010/wordpress-3-0-theme-tip-the-comment-form/ http://net.tutsplus.com/tutorials/wordpress/unraveling-the-secrets-of-wordpress-commentsphp-file/

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

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 ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0