MyBB Community Forums
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.6
>
1.6 General Support
> set a default avatar for old members?
Full Version:
set a default avatar for old members?
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
sunjava1
2011-08-30, 02:00 PM
I 've installed a plugin default avatar, and it has set avatars to new registered users, but I want to set a default avatar for old members also who have not set before the plugin.
faviouz
2011-08-30, 02:06 PM
Execute this SQL query:
UPDATE `mybb_users` SET `avatar` = 'images/example.gif' WHERE `avatar` = '';
sunjava1
2011-08-30, 02:07 PM
Does it set all avatars or just for those who have not set their avatar?
faviouz
2011-08-30, 02:08 PM
Those who have not set their avatar.
sunjava1
2011-08-30, 02:13 PM
Got it, Done Solved
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.6
>
1.6 General Support
> set a default avatar for old members?