User Avatars Don't Show Up in Comments
Fred Sherman 15
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: User Avatars Don't Show Up in Comments
Philipp
From: Austria
Administrator
1342From: Austria
Thanks
1 Re: User Avatars Don't Show Up in Comments
Fred Sherman
OP
15
From: -
From: -
Close. instead of round function, use floor function. That did the trick.
1 Re: User Avatars Don't Show Up in Comments
Philipp
From: Austria
Administrator
1342From: Austria
Actually, a small problem in /classes/class_uwrapper_xf1.php with user databases higher then 10000 users
Find:
and replace with:
This should fix the problem.
Find:
header( "location: " . $preferences[ 'website_uwrapper_forumpath' ] . "/data/avatars/m/" . substr( $id / 1000, 0, 1 ) . "/" . $id . ".jpg" );
and replace with:
header( "location: " . $preferences[ 'website_uwrapper_forumpath' ] . "/data/avatars/m/" . round( $id / 1000 ) . "/" . $id . ".jpg" );
This should fix the problem.
No user avatars. Did I miss a config option?