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 »

Simple Facebook Connect - works but doesn't display Facebook avatars


  #1  
Old Aug 12, 2010, 04:16 AM
grahambae
 
1 posts · Aug 2010
Wordpress 3.0.1 + Atahualpa 3.4.9

I installed the Simple Facebook Connect plugin and it works quite nicely, except for one thing:

When a user comments on a post, it displays their Gravatar (or Mystery Man if they don't have one) instead of their Facebook profile photo. I dug around looking for an answer, including on these forums, and it seems like it's got something to do with the way Atahualpa fetches a commenter's avatar.

Is anyone able to provide any advice on how I can get the Facebook profile photo to override the default photo?
  #2  
Old Aug 12, 2010, 05:53 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
I have no idea if this would fix your problem but I would first upgrade to Atahualpa 3.5.3 manually per these instructions.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Oct 13, 2010, 05:01 AM
AussiAnni
 
24 posts · Sep 2010
Adelaide, Australia
I have jusst integrated this plugin today and it works perfectly. Do you see the blue connect with Facebook button on your comment form. This will only be visible if you are logged out of WordPress.

If you don't you need to follow the instructions from the plugin developer for implementing the commenting. They can be found here. Scroll to the bottom of the page to the "Special note about the comments plugin" . Atah must use the old way of calling the commets form as I had to insert these lines of code for it to work.
  #4  
Old Nov 4, 2010, 04:41 AM
derekwbeck
 
151 posts · Nov 2010
Thanks for this, it was useful. I needed to add the code you mentioned to get it to work too. By the way, for clarification for future readers, you need to go into WordPress proper: Appearance: Editor: Comments (comments.php) and put the code as described at the link above in the section that begins:

<?php // If User is not logged in: Display the form fields "Name", "Email", "URL"

You can place it before or after the name, email, url boxes.
  #5  
Old Nov 4, 2010, 04:43 AM
derekwbeck
 
151 posts · Nov 2010
Oh, and this is necessary to get Simple Twitter Connect to work too... (the one fix above enables both login options)
  #6  
Old Nov 4, 2010, 10:22 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
I have sent this info to the developer.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Nov 4, 2010, 02:02 PM
derekwbeck
 
151 posts · Nov 2010
thanks sir!
  #8  
Old Nov 4, 2010, 02:10 PM
derekwbeck
 
151 posts · Nov 2010
For those interested, I specifically added this code to my comments.php:

Code:
<div class="altcommentlogin" id="comment-user-details"> <!--added for Facebook Connect and Twitter Connect-->
<?php do_action('alt_comment_login'); ?> <!--added for Facebook Connect and Twitter Connect-->

</div><!--added for Facebook Connect and Twitter Connect-->
Note the new style class? I found that the buttons did not appear flush to the left of the name, email, url textboxes when rendered on the page. I also found that the facebook image had an underline appear when my mouse hovered over it (because I have a site-wide style that links underline red when you point to them). Only the facebook image had an underline appear through it (not in it, but through it), while the twitter image did not. This is because, under close inspection, the twitter button is an image, the facebook "image" is really a text link inside a fancy colored box of code.

At any rate, to have control over these, and to locally eliminate the link underline for that button only, I created that new style class, which I put in
ATO>Add HTML/CSS Inserts>CSS Inserts. The code I used is:

Code:
div.altcommentlogin {
margin: 2px;
}
div.altcommentlogin a:hover{ /*special class to stop underlining of links whilst hovering*/
text-decoration: none;
font-style: normal;
}
Finally, I copied and pasted my comments.php into a local computer file for backup.

Last edited by derekwbeck; Nov 4, 2010 at 02:13 PM.
  #9  
Old Jan 29, 2012, 07:17 PM
derekwbeck
 
151 posts · Nov 2010
out of date thread...

Bookmarks

Tags
avatar, comment, facebook, photo

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Twitter and Facebook? Niska RSS, Feeds & Subscribing 2 Jun 16, 2010 08:23 AM
Facebook share button doesn't display my pics ! drey Plugins & Atahualpa 2 May 9, 2010 02:45 PM
Disqus facebook connect and formatting problems austin3959 Plugins & Atahualpa 0 Jan 26, 2010 12:34 AM
Facebook Badge winemuse Sidebars & Widgets 4 Nov 20, 2009 01:34 AM
JS Facebook Badge Doesn't display in IE leslamb Sidebars & Widgets 7 Feb 19, 2009 06:15 PM


All times are GMT -6. The time now is 11:17 PM.


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