• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Default Avatar

#1
I need to set a default avatar for xenforo using the username of the member

All I want to know is how to set the default avatar of all users to something like:

mysite.com/avatars/forum_username.png
 

Jeremy

Well-known member
#2
Are you trying to change the file name of how the software saves a users avatar? Or do you quiet literally want to change the path to always be /avatars/forum_username.png?
 
#3
Are you trying to change the file name of how the software saves a users avatar? Or do you quiet literally want to change the path to always be /avatars/forum_username.png?
I want to change how the software saves a user avatar by default. So it's a dynamic one with their username in the filepath.
 

Jeremy

Well-known member
#4
This will require an add-on that basically duplicates the upload avatar process, you should look at how XenForo uploads avatars. There's also 3 different sizes (s(mall), m(edium), and l(arge)) that need saved.