Here's a simple way to do this in YaBB SE 1.5.x... first, do this:
<edit file>
Sources/Profile.php
</edit file>
<search for>
$dir = opendir($facesdir);
$contents = array();
while ($contents[] = readdir($dir)){;}
closedir($dir);
</search for>
<replace>
$contents = file('avatar_list.txt');
foreach ($contents as $id => $dummy)
$contents[$id] = trim($dummy);
</replace>
Next, change your avatar url, (the path should no longer matter...) which is $facesurl in Settings.php... to the new url, for example
http://www.avatarstorageplace.com/avatarsNow make a text file, named
avatar_list.txt in the same directory as Settings.php. It should just be a list of filenames... like so:
blank.gif
brad_pitt.jpg
Bruce_Campbell.jpg
Bruce_Willis.jpg
cameron_diaz.jpg
charisma_carpenter.jpg
Christopher_Lambert.jpg
Claudia_Schiffer.jpg
david_boreanaz.jpg
david_spade.jpg
Denise_Richards.jpg
Emilio_Estevez.jpg
Eva_Habermann.jpg
freddie_prinze_jr.jpg
Gwyneth_Paltrow.jpg
I realize this doesn't emulate the same functionality, but it's a solution for people who want/need their avatars on another server, and I'm parched for time.
I hope this is useful,
-[Unknown]