2009-10-26, 10:13 PM
Pages: 1 2
2009-10-26, 10:34 PM
Assuming it's in the ./images/avatars/ folder:
UPDATE `mybb_users` SET `avatar` = 'images/avatars/default_avatar.gif', `avatartype` = 'gallery' WHERE `avatar` = '';
2009-10-27, 02:33 PM
Thanks, it worked!
2009-10-27, 10:06 PM
It set the default avatar for all players but they are able to remove it...
There is anyway to set this image for the person who do not have set the avatar yet... like... insead of the no-image put the default image?
There is anyway to set this image for the person who do not have set the avatar yet... like... insead of the no-image put the default image?
2009-10-27, 10:17 PM
That's what this does, if they haven't got an avatar yet, it gives them the default one... they can still change it as this does nothing to stop them changing it, only gives people an avatar if they haven't currently got one.
2009-10-27, 10:22 PM
Ok.
And how about the clear_avatar.gif?
This image is set when the person do not select one avatar?
And how about the clear_avatar.gif?
This image is set when the person do not select one avatar?
2009-10-27, 10:25 PM
I'm not really sure what you're asking now, this query won't automatically make new users have an avatar selected, this is only meant for current users... if people don't have an avatar, you run this, they then have the avatar you put in the query.
2009-10-27, 10:31 PM
What is the function of the clear_avatar.gif?
Located on: forums/images/avatars
[attachment=15787]
If the member click into the remove avatar the profile will set to none avatar.
I want instead of the none avatar is the one whit a "?" like this one:
INSTEAD OF NO IMAGES IT WILL PUT THIS ONE ABOVE.
Located on: forums/images/avatars
[attachment=15787]
If the member click into the remove avatar the profile will set to none avatar.
I want instead of the none avatar is the one whit a "?" like this one:
INSTEAD OF NO IMAGES IT WILL PUT THIS ONE ABOVE.
2009-10-28, 06:22 PM
Yes.. It would be a great thing...
Intead of no image one like the "NO AVATAR" you posted.
Intead of no image one like the "NO AVATAR" you posted.
2009-11-18, 04:28 AM
Where I have to add this cord ?
(2009-10-26, 10:34 PM)MattRogowski Wrote: [ -> ]Assuming it's in the ./images/avatars/ folder:
UPDATE `mybb_users` SET `avatar` = 'images/avatars/default_avatar.gif', `avatartype` = 'gallery' WHERE `avatar` = '';
Pages: 1 2