An avatar is a graphical representation of a user

learn more… | top users | synonyms

0
votes
1answer
328 views

Change the avatar ratio in bbPress login widget

I am using bbPress on my site and have (bbPress) Login Widget on my sidebar. Is there a way to change the default image size from 40 to 80 or other number? here is the code from the core files: ...
2
votes
2answers
329 views

Using Heroku, need to have non-gravatar avatars, but not stored locally

So, I am new to PHP, so I'm hoping to do this with a plugin, if possible. We are hosting on Heroku, this means uploading a local image to /uploads isn't going to work for this. We need to be able to ...
1
vote
2answers
796 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
881 views

Why are BuddyPress user avatars not displaying properly? [closed]

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 ...
0
votes
1answer
206 views

show author avatar

I have modified the loop.php file to add some comment stuff in. I wanted to show a comment off a link which is working just fine. Now I went to make that comment show more detail by putting the author ...
0
votes
1answer
69 views

avatar displays outside of targeted area

I use this micro message system script and I want to add an avatar to it, however, my lack of PHP knowledge is making this difficult. The code I use to display an avatar is: ...
1
vote
2answers
2k 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
2answers
413 views

Display “a generated one [avatar] based on their e-mail address”

I was looking at the discussion settings in WordPress and near the "Default Avatar" option I saw that it said the following: For users without a custom avatar of their own, you can either display ...
11
votes
8answers
21k views

How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?

I'm using a plugin called Simple Local Avatars which lets me upload author images which are stored on my server locally (no Gravatar). The plugin works fine and get_avatar returns the local avatar. ...
4
votes
1answer
485 views

What should I do to make generated avatars different for anonymous comments?

All the comments on my website are anonymous and without registration. To post a comment you have to fill the fields name (not obligatorily) and the text of your comment (obligatorily). I have the ...
2
votes
1answer
194 views

How to remove unused avatar uploads in buddypress [closed]

Im seeing in my wp-content/uploads/avatars folder that there are tons of avatars from when I created test users, but changed the avatars. So, i’m assuming that even if the user changes their avatar, ...
2
votes
2answers
3k views

How to filter get_avatar?

I want to use local avatar system for my wp website , I want to filter the get_avatar() function so it will return the avatar from my server instead of the default gavatar . I have the following code ...
0
votes
1answer
568 views

get_avatar not working

I'm working on a plugin for showing users via shortcode by their role (in this site's case - authors). I'm getting a list of user objects using a WP_User_Query statement, then creating the output for ...
0
votes
2answers
1k views

How to set the default avatar of buddypress avatar [closed]

I need a way to set the default avatar for buddypress's bp_core_fetch_avatar. Using the regular get_avatar you can just set the $default path but I can't find anyway to do it with buddypress's ...
0
votes
1answer
595 views

How do you remove the buddypress group avatar from the activity stream post? [closed]

When a member post to a group it shows up in the activity feed under “username posted an update in the group” then its followed by the group avatar then the group name. So I was wonder how I could ...
2
votes
1answer
2k views

How to override Member's Avatars in BuddyPress [closed]

I have tried everything to override the BP Avatar. Found about 5-6 different Google results that basically all point to the same solution: function override_bp_member_avatar($url) { return ...
1
vote
2answers
3k 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 ...
0
votes
1answer
1k views

show list of latest comments for each post in a loop

I want to show the last 5 comments for each post on my index page loop of posts. What Im using now is only showing the same comments for every post. How should I set this up and how can I add an ...
2
votes
3answers
3k views

How to get larger version of author avatar

I am trying to incorporate author avatars into my posts by doing <?php echo get_avatar( get_the_author_meta('ID'), 150 ); ?> but I can't go larger than 50x50px without it getting stretched ...
0
votes
1answer
1k views

How to set thumbnail for each tag?

I would like to set thumbnails for each tag. I actually need two type of thumbnails. 16 x 16 and 90 x 90. 16 x 16 will be used infront of tag name like stackoverflow. 90 x 90 will be used in tag page ...
2
votes
2answers
250 views

remove_filter( 'comment_author', 'floated_admin_avatar' ); doesn’t work

In a small plugin I’ve written to add an IP address column to the comments list I want to remove the avatars. In line 156 I tried to use remove_filter: remove_filter( 'comment_author', ...
1
vote
1answer
1k views

Changing comments avatar

Is there a plugin that lets me change an avatar of a comment? Since I can edit comments, is it possible to add avatars as well? I don't have registered user on my blog, only guests and those who ...
0
votes
1answer
1k views

Facebook profile pic used as avatar

I'm trying to add an avatar option for my blog and would like to avoid using Gravatar or custom avatars so I wish to use Facebook profile pic instead of an avatar. I know that there are plugins for ...
1
vote
1answer
99 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 ...
1
vote
1answer
641 views

custom avatar removal

Hello i have implemented a custom avatar upload from front-end in my wordpress theme. It is working. User can add and remove customa avatar. My problem is when user selects to remove his/her custom ...
0
votes
1answer
5k views

Get avatar of the logged-in user in Wordpress

How can I get a user avatar to display in the header of my WordPress site? I've tried: <a href="<?php echo get_author_posts_url($post->post_author); ?>" title="<?php the_author_meta( ...
0
votes
1answer
763 views

How to show avatar of current logged in user in a widget

I have a php widget, and I need to show the avatar of the current logged in user, and I'm calling this code: <?php echo get_avatar(); ?> But its only outputting the default avatar. Is there a ...
1
vote
1answer
2k views

How to link avatar and nickname to profile

On the single post page I want to link the avatar function to the author profile, but I tried <a href="<?php the_author_posts_link(); ?>"> <img src="<?php echo ...
2
votes
3answers
7k views

Uploading avatar from the frontend

in the codepad link you can find what I am using to edit profile from the front-end. http://codepad.org/QJjDEA7p The code is working (which I got from How to edit a user profile on the front end? and ...
3
votes
5answers
6k views

Frontend Simple Local Avatar upload

I'm using Simple Local Avatars for uploading custom user avatars. How can I create a frontend page with the avatar upload function? Below please find the code from Simple Local Avatars plugin: ...
1
vote
0answers
320 views

Upload or Choose Avatar on comment [closed]

My market is not the tech savvy Gravatar using folks. So...I'd like to allow them to choose from a list of nice avatars or be able to upload upon commenting. Users will not necessarily be ...
2
votes
2answers
2k views

Prompt users to Upload Avatar on Registration

I saw a WP site that had users fill in their basic info and then it directed them to upload and Avatar. The site looked nice because most users had a picture even if they were'nt registered with ...
6
votes
1answer
5k views

Alternative to using get_avatar function?

I used a WP hack for displaying author's pics. For example, my single.php has an author slug which displays the author's pic. I created a folder called authors in my theme/images folder. Based on the ...
0
votes
3answers
498 views

Change the avatar ratio?

Is there any way to change the aspect ratio of the WordPress Avatars? Or is this hardcoded?
6
votes
2answers
6k 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 ...
1
vote
2answers
896 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?
0
votes
2answers
388 views

Best way to tell if a comment is from a user?

I've got an if ($comment->user_id) block to pick an default admin comment gravatar (different than a non-user's). But I'd still like this gravatar to be used if a user comments using their ...
0
votes
1answer
87 views

How do I accesss gravatar?

In the administration under Your Profile, which is where I suspect it would be, I can't find anything relating to gravatar
1
vote
4answers
23k views

How to change user`s avatar?

Is there a way o changing user's avatar without plugins? Why there's no "Avatar Upload" section in Users > Your Profile? I can't use a plugin. Am I blind or being forced to use Gravatar? ;/
2
votes
1answer
645 views

How to make gravatar.com avatars conditional?

Problem: I am using custom avatars for registered users and my own locally-hosted image as the default gravatar. I want to stop WordPress making HTTP requests to check for gravatar.com images on every ...