Automatically provide an icon for those users who have not set an account icon.
Using your own icon It is possible to upload your own graphics from the DefaultIcon settings page.
Default Icon on the search page To display a default icon on the search pages requires a small change to one of the Vanilla files. I have requested a new 'delegate' which will hopefully be available in the next version of Vanilla.
In the meantime it will be necessary to insert the following lines into the /library/Vanilla/Vanilla.Control.SearchForm.php file at line 217:
NB If you are not happy about doing this, Default Icon will still function but the default icon will not appear when searching for users.
An edited version of this file is included in: DefaultIcon/libary/Vanilla
Remove the Default Icon or Account Picture The current version does not include an option to remove an icon or picture that you have uploaded. If you wish to remove one or both just set either or both of the following (in yourforum/conf/settings.php) to an empty string: $Configuration['DEFAULT_ICON_ICON'] = ''; $Configuration['DEFAULT_ICON_PICTURE'] = '';
Samples The 'Samples' folder contains sample default icons and account pictures. It is not necessary to upload this folder to the DefaultIcons folder.
Things I'm working on: - Different default icons for guests and members - Method of removing an icon or picture
Donations If you find this extension useful please consider making a donation. Then at least I would have something to show my wife for all the hours I spend writing Vanilla Extensions!