I'd try adding:
Code
	if($style_array['general'] == "") { $style_array['general'] = "default"; } else { }

Above:
Code
	$avatar = "{$config['FULL_URL']}/images/{$style_array['general']}/nopicture.gif";

So that if the portion of the array is blank it'll be changed to default, versus always setting it to default.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!