The avatar tag has no wiki summary.
0
votes
2answers
25 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 ...
-1
votes
0answers
7 views
Upload Images from front-end and that image will be used as local avatar in wordpress,suggest any plugin [closed]
How to upload image from front-end,
the uploaded image used as avatar,
suggest any plugin,plz
0
votes
1answer
35 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
66 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
3answers
92 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" ...
1
vote
1answer
101 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( ...
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
288 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
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 ...
-1
votes
1answer
85 views
list all authors outside of loop with photo from /uploads
I was successfully using this excellent contributors function to generate a list of the users on my site with gravatar photo.. UNTIL the client decided they don't want to use gravatar and would rather ...
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
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 ...
5
votes
3answers
265 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 ...
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
2answers
321 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
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 ...
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:
...
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 ...
0
votes
2answers
178 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
435 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 ...
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 ...
0
votes
1answer
39 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
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: ...
0
votes
2answers
112 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 ...
0
votes
2answers
357 views
Social Media's Avatar not working (Wordpress Social Login plugin)
I am using Wordpress Social Plugin. The problem is that social media's avatar is not showing.
Here is my comment avatar code:
<?php echo get_avatar(get_current_user_id(),30); ?>
I found ...
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.
...
4
votes
1answer
208 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
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
2answers
622 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
191 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
1answer
291 views
How to set the default avatar of buddypress avatar
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
301 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 ...
2
votes
1answer
859 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 ...
0
votes
2answers
826 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
369 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
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 ...
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 ...
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', ...
1
vote
1answer
314 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
643 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
65 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
387 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
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
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 ...
1
vote
1answer
651 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
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 ...
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:
...
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 ...
2
votes
1answer
840 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 ...
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 ...