Knowledge Base Navigation

Articles: 51 Categories: 8

KB Article: Reset all users avatars to the default

Article:Reset all users avatars to the default     Popular
Submitted By:Telli
Date Added:04-29-2004 9:16:09

How to reset all users avatars to the default

Very simple one line of code to reset all your users back to default avatar. Usefull with all the avatar issues in nuke.

Make sure you have the path to your default blank avatar. If your using an avatar hack make sure you have the correct path for it. Also if your prefix "nuke" is differant then change that as well.

Run this as a SQL query through your phpmyadmin or whatever you use for your mysql database.

UPDATE nuke_users SET user_avatar='gallery/blank.gif', user_avatar_type='3';
OPTIMIZE TABLE nuke_users;

Current rating: 8.62 by 180 users
Please take one second and rate this article...

Not a Chance 12345678910 Absolutely

Please register or sign-in to post comments.

Jump to a selected article...