Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

WP-FBConnect


  #1  
Old Aug 12, 2009, 03:07 PM
ident4
 
3 posts · Aug 2009
Hi

I was trying to use WP-FBConnect but I'm having difficulty figuring out where to put the code. I'd like it to be aligned right beside the normal fields for users to enter their name and email address when normally commenting.

I'm supposed to add:
<?php do_action('fbc_display_login_button') ?>

http://wiki.developers.facebook.com/...p/WP-FBConnect

Also, are there any better Facebook integration plugins?
  #2  
Old Aug 13, 2009, 10:02 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
The comment form is in comments.php, put it i.e. after this

<p>
<input class="text url" type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="30" tabindex="3" />&nbsp;
<label for="<?php _e('url','atahualpa'); ?>">
<?php _e('Website','atahualpa'); ?></label>
</p>
  #3  
Old Aug 13, 2009, 01:00 PM
ident4
 
3 posts · Aug 2009
Many thanks

But that gives me:



Any idea how to get it on the right of the Name/emal/website boxes?

I've tried all the alignment tricks I know (admittedly my skills are limited) and can't get it to budge

thanks again
  #4  
Old Aug 15, 2009, 04:35 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Wrap the name, email website fields into one cell of a table, and facebook into another

<table><tr>
<td>
...name
...email
...website
</td>
<td style="vertical-align: top">
Facebook
</td>
</tr></table>
  #5  
Old Aug 15, 2009, 07:53 PM
ident4
 
3 posts · Aug 2009
Quote:
Originally Posted by Flynn
The comment form is in comments.php, put it i.e. after this

<p>
<input class="text url" type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="30" tabindex="3" />&nbsp;
<label for="<?php _e('url','atahualpa'); ?>">
<?php _e('Website','atahualpa'); ?></label>
</p>
That worked great - Thanks


All times are GMT -6. The time now is 09:47 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.