Thanks Guys, I followed the link given by xerox51 (this) which led me to this:
If you allow guest posting in your Forums, then you may want to add this little hack in order for your Guest/Anonymous user to have an assigned default avatar.
To make this work do the following.
open modules/Forums/viewtopic.php
Find this line
I changed
|
Quote:
|
Code:
if ( $postrow[$i]['user_avatar_type'] && $poster_id != ANONYMOUS && $postrow[$i]['user_allowavatar'] )
|
change it to this
|
Quote:
|
Code:
if ( $postrow[$i]['user_avatar_type'] && $postrow[$i]['user_allowavatar'] )
|
Now you need to assign an Avatar to the Anonymous user in the Database.
Go to your Database table _users.
I recommend using phpMyadmin
Browse the users and select the Anonymous. This is usually user_id number 1.
The user_avatar field needs to be changed to whatever.gif (your guest avatar image name) Make sure you upload this Guest Avatar to both the modules/Forums/images/avatars and modules/Forums/images/avatars/gallery folders just in case your pathing is screwy.
If it doesn't work up to this point then open viewtopic.php and comment out or remove the following lines:
and deleted this for it to work
|
Quote:
|
Code:
if ( $poster_id == ANONYMOUS )
{
$poster_avatar = '[img]'. $images['guest_avatar'] .'[/img]';
}
|
Thanks All!

:nm: