#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
How do I put a stan...
 
Share:
Notifications
Clear all

[Solved] How do I put a standard avatar to new users like you made in this forum?

    Last Post
RSS

uckun
Posts: 18
 uckun
Topic starter
May 5, 2019 12:21 am
(@uckun)
Active Member
Joined: 2 years ago

Hi, 

when a new user subscribes to my website/forum, their profile avatar is blank gray default avatar. But in this forum, there are nice colorful avatars assigned automatically even that the user is new (like me). I haven't uploaded an avatar in their profile. How can I assign a standard colorful avatar automatically to a new user untill they change their avatar if they prefer so? I don't like the standard grey blank avatar. Is this possible? I want to assign a standard custom avatar of my choice, untill they change their avatar.

Topic Tags
default avatar avatar custom function
3 Replies
VereK
Posts: 255
 VereK
May 5, 2019 7:13 am
(@verek)
Reputable Member
Joined: 3 years ago

@uckun

Setting the Avatar is in the core Wordpress settings, specifically, Dashboard-Settings-Discussion, you will find the settings near the bottom of that page,

If you want a default avatar that better reflects your forum logo, branding or niche, you will have to create one, best would be a png of 150 x 150 px. Name it appropriately and upload it via WP media manager. Then in your themes function file add code similar to this (edit the correct paths and domain name).

/*** Default Avatar*/
add_filter( 'avatar_defaults', 'wpb_new_gravatar' );
function wpb_new_gravatar ($avatar_defaults) {
$myavatar = 'https://yourdomian.com/wp-content/uploads/2019/05/forum_default_gravatar.png';
$avatar_defaults[$myavatar] = "Default Gravatar";
return $avatar_defaults;
}

In Dashboard-Settings-Discussion you will now see the new avatar you created called "Default Gravatar", select that. All members who have not uploaded or selected their own avatar path will now have the default avatar displayed.

 

Robert liked
st7878
Posts: 27
 st7878
February 6, 2021 7:38 am
(@st7878)
Eminent Member
Joined: 11 months ago

I did some work to speed up the loading of the site. The forum loads much faster now. One of the works is the rejection of the GRAVATAR. But I really like the avatars on your forum. How to make the same?

Spoiler
Screen
 Dashboard-GTmetrix.png
 2.png
 3.png

 

My forum on the wpForo

1 Reply
Robert
 Robert
Admin
(@robert)
Joined: 5 years ago

Support Team
Posts: 7622
February 6, 2021 8:28 am
Reply tost7878st7878

Hi @st7878,

We use "Leira Letter Avatar" plugin.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

duvy and st7878 liked
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Problem with avatars!
    3 months ago
  • Gif as avatar
    8 months ago
  • Disable Specify avatar by URL
    8 months ago
  • Which Files Contain Log In & Register Modal Code
    8 months ago
  • Force custom Avatar URL to be HTTPS? Or disallow URL-based custom avatars?
    11 months ago
Topic Tags:  default avatar (2), avatar (24), custom function (12),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages  wpforo-advanced-attachments-128x128  wpforo-embeds-128x128 wpForo User Custom Fields addon  wpForo – Blog Cross Posting addon  wpForo Ads Manager
View all Addons »

Recent Topics

  • Forum page loading issue

    By Muhammad Umar Farooq, 12 hours ago

  • Not able to use any of the tools (such as like, solved, approve, delete, etc.) in a post

    By JNew, 12 hours ago

  • Public Forum & Forums Not Displaying

    By Stacy, 14 hours ago

  • Foro "moves" in Mobile devices as Admin

    By Jesus, 19 hours ago

  • Disabling Add Topic option

    By WeAreThe99, 20 hours ago

  • Lost the menu !!

    By dimalifragis, 20 hours ago

Topic Tags

  • new features43
  • seo40
  • translation37
  • plugin conflict36
  • forum36
  • buddypress33
  • login33
  • registration30
  • threaded layout30
  • ultimate member29
  • moderation28
  • editor25
  • avatar24
  • menu24
  • shortcode24
  • css24
  • tags22
  • profile21
  • migration20
  • url20
View all tags (1513)

Recent Posts

  • RE: Foro "moves" in Mobile devices as Admin

    @jesus, Sure I've corrected the post.

    By Sofy, 58 mins ago

  • RE: Not able to use any of the tools (such as like, solved, approve, delete, etc.) in a post

    Hi @jnew, This is a plugin or theme conflict for sure...

    By Sofy, 59 mins ago

  • RE: Forum Update

    Thanks Verek Yes I use a child theme. Im not sure rea...

    By Jesus, 1 hour ago

  • RE: Public Forum & Forums Not Displaying

    I cracked it lastnight! 👌🏼👌🏼 But thank you for the quic...

    By Stacy, 1 hour ago

  • RE: Subforum slug

    Corrected in the last Update Yeahh!

    By jarruego, 1 hour ago

  • RE: Making the pictures going into a "folder" within the library?

    Obviously 😀 I have. Saw many, too many actually and a...

    By Jesus, 2 hours ago

  • Non-Canonical URL error

    Hi Team / Community, I'd need assistance in understan...

    By cluel355, 7 hours ago

Share:
  Forum Statistics
20 Forums
8,025 Topics
40.2 K Posts
8 Online
15.5 K Members

Latest Post: Foro "moves" in Mobile devices as Admin Our newest member: JerryNup Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2021 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Documentation