The avatar tag has no wiki summary.
5
votes
3answers
264 views
Set default avatar network-wide
I've seen plugins and snippets on how to set a new default avatar for a site. I'm wondering if this can be done network-wide, such that every new site on the network will have the network's avatar as ...
5
votes
1answer
2k 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 ...
4
votes
1answer
207 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 ...
3
votes
4answers
2k 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:
...
3
votes
1answer
2k 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 ...
3
votes
4answers
1k 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?
2
votes
2answers
3k 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.
...
2
votes
2answers
127 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 ...
2
votes
1answer
514 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 ...
2
votes
2answers
161 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', ...
2
votes
3answers
391 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 ...
2
votes
1answer
857 views
How to override Member's Avatars in BuddyPress
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 ...
2
votes
1answer
97 views
How to remove unused avatar uploads in buddypress
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
3answers
1k 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 ...
2
votes
1answer
838 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 ...
2
votes
2answers
619 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 ...
2
votes
3answers
3k 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 ...
1
vote
2answers
470 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 ...
1
vote
1answer
100 views
Random Default Avatar Function
UPDATE! After a little help from the wordpress.org forums, I made some progress with this code:
// Custom Default Avatar
if ( !function_exists('fb_addgravatar') ) {
function fb_addgravatar( ...
1
vote
2answers
315 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: ...
1
vote
1answer
312 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 ...
1
vote
1answer
649 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 ...
1
vote
1answer
386 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 ...
1
vote
0answers
433 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
1answer
64 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
0answers
186 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 ...
1
vote
1answer
171 views
How do i allow users to upload gravatar in front end update profile
This is the code i am using for front end profile editing
How do i add avatar image upload option?
<?php
/*
Template Name: Update Profile
*/
$wpdb->hide_errors(); nocache_headers();
global ...
0
votes
4answers
7k 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? ;/
0
votes
2answers
823 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
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
82 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
0
votes
1answer
97 views
Custom avatars in wordpress comments?
I'm looking for a way to let people connect with facebook when posting comments, and to use their facebook avatars as the avatar for the comments. How can this be done? Do I need to create a seperate ...
0
votes
1answer
367 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 ...
0
votes
1answer
65 views
Inline-Table under TwentyTwelve not working
I recently wanted to add a comfortable way to automatically add users to a page within small boxes including information an an image. So I followed this tutorial an customized the code: ...
0
votes
1answer
283 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 ...
0
votes
2answers
52 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 ...
0
votes
1answer
144 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:
...
0
votes
2answers
177 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( ...
0
votes
1answer
300 views
How do you remove the buddypress group avatar from the activity stream post?
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 ...
0
votes
1answer
383 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 ...
0
votes
1answer
271 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 ...
0
votes
2answers
320 views
Change the avatar ratio?
Is there any way to change the aspect ratio of the WordPress Avatars? Or is this hardcoded?
Greetings, .wired
0
votes
2answers
202 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
2answers
24 views
How to use author's avatar as Facebook post preview image when a single post is shared
I want to use the post author's avatar if available as the post preview image for Facebook shared posts. If that is not available next would be a featured image and then a default image as a ...
0
votes
1answer
34 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
3answers
91 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
68 views
How to update avatar in buddypress programmatically?
How to update avatar in buddypress programmatically? I have a script, which gets the image url and I want to update the url in the database, so that that image will will be avatar of the user.
0
votes
1answer
159 views
Subsite theme mystery man replacement with Buddypress on main site
I have a multi-site install with buddypress on the main site. In the buddypress theme I've been able to override the default 'mystery-man' avatar using my custom buddypress theme. I simply have an ...
0
votes
2answers
320 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: ...
0
votes
1answer
112 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 ...