This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

User Avatars Don't Show Up in Comments


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
avatar
Administrator
1340
From: Vienna, Austria
Thanks Smiling Face
1 Re: User Avatars Don't Show Up in Comments
avatar
OP 15
From: -
Close. instead of round function, use floor function. That did the trick.
1 Re: User Avatars Don't Show Up in Comments
avatar
Administrator
1340
From: Vienna, Austria
Actually, a small problem in /classes/class_uwrapper_xf1.php with user databases higher then 10000 users

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.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.