Default Avatar

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
 
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?
 
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.
 
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.
 
To run on registration? Extend the registration controllers save (or register) action.
 
Top Bottom