I have a little module called AutoAssignAvatars. The module required a little hack to line 677:
if(eregi("autoassigned",$rowExtras->avatar)==false && eregi("gallery/",$rowExtras->avatar)==false && is_file($mainframe->getCfg('absolute_path')."/images/comprofiler/".$rowExtras->avatar))
Otherwise, the automatically assigned avatars are deleted when the user changes avatars on their own.
To program around this hack, I had users upload their avatars into a directory, generated a random name, then copied the avatar into images/comprofiler. But....it would be much nicer if the CB code were changed, and would make programming the module about 10,000 time simpler.
Roger Davis