SimplePortal
Customization => Custom Coding => Topic started by: adi on June 24, 2011, 06:38:07 PM
-
Is there any way to assign avatars for users on Top Poster block that dont have avatars yet?
I tried installing the mod default avatar but it still doesn show up on the top poster block.
Thanks
-
./Sources/PortalBlocks.php
<img src="' . $member['avatar']['href'] . '" alt="' . $member['name'] . '" width="40" />' : '', '
<img src="' . $member['avatar']['href'] . '" alt="' . $member['name'] . '" width="40" />' : sp_embed_image('default_avatar'), '
Then, copy a default_avatar.png image to ./Themes/default/images/sp.
-
./Sources/PortalBlocks.php
<img src="' . $member['avatar']['href'] . '" alt="' . $member['name'] . '" width="40" />' : '', '
<img src="' . $member['avatar']['href'] . '" alt="' . $member['name'] . '" width="40" />' : sp_embed_image('default_avatar'), '
Then, copy a default_avatar.png image to ./Themes/default/images/sp.
That works!
Thanks grafitus.