MyBB Community Forums

Full Version: QUESTION 2 on "default avatar".
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

This problem wasn't solved as well as I thaught.

When I manual create a new user, (via the ADMINCP), there aren't any default avatars...

Is there also an option for that?

Thanks !
hey

well wheter u set it manually when making that user or run this

UPDATE mybb_users SET avatar='./images/defaultavatar.gif' WHERE avatar=''


Regards
Where do I have to put that?
well in your phpmyadmin !!
find the little SQL icon beside the exit icon.

and run that query after changing mybb_ into ur own prefix

regards
The easiest way would be when you create the user, scroll down to "Avatar URL" and put in the path to your default avatar there.
or if you dont like to give them roght of changing avatar you can right a plugin or add some lines (e.g. zahre's solution) into related function in inc/integration.php file
imei