One more thing Marcin, on htaccess "|core" must be added on RewriteCond %{REQUEST_URI}
so it should look like this:
(edited my guide above)RewriteCond %{REQUEST_URI} !(admincp|modcpclientscript|cpstyles|images|css|js|login|auth|ajax|core)
else avatars will not be shown (access denied)
Thanks