The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
25 views

Adding custom avatar field to comments

I want to store a users Twitter Profile Image when I found out that they've tweeted the link of a post (by using the Twitter API), but I'm stuck with the following issue: How do I store the Profile ...
0
votes
2answers
62 views

custom default avatar showing broken link

I am using the follow function to create a custom default avatar for users who comment and do not have a gravatar setup. if(!function_exists('custom_avatar')){ function ...
0
votes
2answers
75 views

Which Function Displays The Post Authors Gravatar

I am using: echo get_avatar(get_the_author_id(), 30); Which works, however i am getting this notice to use: echo get_avatar(get_the_author_meta(), 30); Which doesn't display the authors Gravatar ...
0
votes
1answer
67 views

How to change the gravatar image from front end?

How can user change the own gravatar image from front end? for the back-end there are lot of plugins (like user photo etc.), by which user can easily change the gravatar image?
0
votes
0answers
52 views

Disable Gravatars in WordPress

I have found this code for disable gravatar on email but it not work on 100% why? Because it replace online image but the image always open with gravatar domanin.. function __default_local_avatar() { ...
0
votes
2answers
61 views

Show author name not the author ID

I have added the code to get the author, but it displays the author's ID number. How can I get the author's name to show and their gravatar. CODE <?php $product_pages_args = array( 'meta_key' ...
1
vote
2answers
139 views

Use local image for default avatar

I tried putting this snippet in my functions.php add_filter( 'avatar_defaults', 'newgravatar' ); function newgravatar ($avatar_defaults) { $myavatar = get_bloginfo('template_directory') . ...
0
votes
3answers
142 views

Which core file is responsible for gravatars?

I realize modifying the core files is frowned against but I strongly believe that the WP core SHOULD NOT rely on external links. In my situation, I'm behind the Great Chinese Firewall, the gravatar ...
1
vote
2answers
436 views

Cannot get local avatars to show [on hold]

See updates below. I upgraded to 3.7.1 using svn. I did this on my localhost first to make sure everything is fine. Everything was, so I proceeded to do it on the server. However, on the server, the ...
0
votes
0answers
28 views

Croppping tool for wordpress avatar upload

Does anyone know of a method that lets the users upload and image and use a basic cropping/selection tool to create their author thumbnail? I have searched for wordpress oriented cropping ...
0
votes
0answers
93 views

Upload Custom Avatar through Buddypress

Using buddypress I don't see an option in the custom fields for uploading a custom avatar and it doesn't show up on my signup form. Is there a way to add that?
0
votes
1answer
365 views

Change the “Default Avatar” admin option via functions.php

So I'm trying to add a new default avatar for my theme using the following code: add_filter( 'avatar_defaults', 'mytheme_default_avatar' ); function mytheme_default_avatar ( $avatar_defaults ) { ...
0
votes
1answer
91 views

Simple Local Avatar Plugin

I think that Im very close to achieve my goal.. I have this function on my themes but I need a help to find the right way to call simple local avatar function so it will show the local avatar image ...
0
votes
1answer
154 views

get_avatar won't show uploaded avatar, only default gravatar

I'm using the Simple Local Avatars plugin so my bbPress forumgoers can upload their own avatars. Now, when a user logs in, I want his/her avatar to display next to the relevant links (i.e. logout, ...
0
votes
1answer
51 views

Fetching Gravatar

How can I fetch anyone’s gravatar image? I need to show users gravatar image on a custom profile page that am making. I have so far integrated the option of Facebook Profile Pic (which automatically ...
0
votes
3answers
381 views

Gravatar - Default IMG

Gravatar is slowing my website and I want to host mystery man on my main server. So this is my normal gravatar mystery man <img class="avatar avatar-68 avatar-default" width="68" height="68" ...
0
votes
1answer
75 views

Adding Gravatar to rss feed

So I have a mailchimp email that goes out and shows the latest posts that have been made on the site. The users on the site all have gravatars and I want to include that in the rss feed so that I can ...
0
votes
1answer
930 views

get_avatar() default image not working as of wp 3.5 [closed]

As of upgrading to wp 3.5 the get_avatar function started not pulling in my default backup image. This has worked for many years this way and curious to why it would stop. I am using the normal use of ...
1
vote
2answers
101 views

Force users to display default Gravatars

Is it possible for a WordPress site to display the users default Gravatar image (of chosen set, eg Retro, Identicon, etc), rather than the users uploaded avatar? As in, all user avatars next to ...
1
vote
1answer
124 views

Can I hook into get_avatar to supply a hash instead of an email?

I'm writing a plugin to PPK encrypt non-public comment data as a second line of defence against crackers (one of my sites was recently compromised, so I have been rather spurred into action!). To ...
1
vote
3answers
115 views

Add gravatar to author list

I am using this code for listing out all authors on the site in my sidebar. It works, except I also need to pull in their Gravatar image. It's working in a loop on the homepage with this <?php ...
0
votes
2answers
505 views

Broken Gravatar images in comments

I have no idea why, but recently, all new comments on my WordPress site have broken avatar image links. Here is a page that shows the issue: ...
2
votes
3answers
1k views

Setting different width and height for gravatar

I've been trying to set a different width and height using the get_avatar function. I need to set the author's avatar in single.php to 60x40 size. So let's say the gravatar looks like this: when ...
0
votes
2answers
592 views

Replace default avatar

I've searched google quite a bit and every site has the same filter but it doesn't seem to be working for me. Not sure if it's my setup or just old code. I'm trying this: add_filter( ...
1
vote
0answers
724 views

Why are BuddyPress user avatars not displaying properly?

I have a BuddyPress 1.6.x installation on WordPress 3.4.2. User avatars are not displaying in the following situations. On pages like: www.domain.com/members/USERNAME/profile/edit/group/1/ Here is ...
1
vote
2answers
1k views

get the avatar url instead of an html img tag when using get_avatar?

i want to get the user avatar URL to use it as background URL style for a div. i tried to use the following but it does not return anything when i view the code it appears like that. background: ...
0
votes
1answer
126 views

Gravatar always shows default image

When I call the following code: echo get_avatar( get_the_author_meta('user_email'), '70', get_bloginfo('template_directory')."/images/default.png" ); It generates the following: ...
0
votes
2answers
292 views

Snippet for own (gr)avatars

Following snippet used(and works great) but generates a redirect chain :(. If (function_excists('basicgravatar') function basicgravatar ($avatar_defaults) { $myavatar = ...
0
votes
2answers
2k views

How to get gravatar url alone

I would like to use gravatar image as background image for a button. When i use get_avatar function it returns with height width src parameters. But i need only gravatar url. I mean like ...
1
vote
1answer
79 views

Remove hovercard for only certian gravatars

I am using the Extended Gravatar plugin by Reza Moallemi and it works great. However, on my about page I have a large gravatar to show the author. I would like to know if there is a class I can add to ...
3
votes
2answers
215 views

I want to display author gravatar on posts. How to do this?

I just want to add author gravatar near the name of the author. I know that I have to add something in the single.php file, but what to add? Thanks!
-1
votes
1answer
603 views

Building Gravatar Code

I'm building Gravatar code for a theme for SEO reasons, basically don't like the default WordPress Gravatar code because for each avatar it adds an image to the page with no alt text which could have ...
0
votes
1answer
55 views

Gravatar Size Via Theme Functions?

Currently, to call comments I am simply using: <?php wp_list_comments(); ?> in comments.php. This is calling up gravatars, which I would like to be able to set the size of. How can I set ...
1
vote
3answers
778 views

get_user_meta Short Profile Section

Ok so i have added a custom field into the users edit profile page where they can add a link to a url of an image they want. I am currently using this for contribitors and above but i also have a ...
3
votes
4answers
713 views

If Else Gravatar Author Picture

Ok so i have added a custom field inside of the WordPress edit profile field where a contributor and above can add a custom image if they do not use gravatar. Now i am trying to write a if else ...
5
votes
1answer
4k views

Removing Gravatar.com support for WordPress and Simple Local Avatars

Currently I'm using Simple Local Avatars on several of my blogs allowing people to upload their own custom avatar. As far as I know Simple Local Avatars uses get_avatar to check whether a custom ...
0
votes
1answer
224 views

Default Gravatar not showing for pings

Here is my comments block: <div id="comments"> <?php if (have_comments()) : ?> <h3><?php printf(_n('1 comment', '%1$s comments', get_comments_number()), ...
1
vote
2answers
676 views

Alternative default avatar generator?

Most of the commenters at my WordPress blog do not have a Gravatar account. Hence the comment section is almost always filled with the same old mystery man avatars. I am looking for custom gravatar ...
3
votes
4answers
2k views

Upload gravatar in WP profile?

I'm interested in the theory of a user being able to register/upload a gravatar directly in their user account within a hosted WP system. Is this feasible?