Dynamic Memberlisthttps://www.smfhacks.com/index.php?action=downloads;sa=view;down=214Dynamic Memberlist 3.0
by Antechinus
This modification (for SMF 2.0 only) completely replaces the standard SMF Memberlist.template.php,
as well as making substantial alterations to the buddies list and ignore list in Profile.template.php,
and to the who's online list in Who.template.php.
This mod replaces the old tables of member details with styleable blocks that stack to fit screen width.
RTL languages are fully supported, without requiring any code in rtl.css.
Usernames at the top of member blocks will be cropped if they are over 22 characters long.
The only image included is default_avatar_block.png, for members who do not have an avatar.
This default avatar is 240x240 px, so it will not pixellate on high density displays.
Change this image to anything you like, keeping the same name for the new image.
Avatars are clickable and will redirect to the member's profile (if allowed) or to the login page.
By default the member blocks will display avatars up to 120px wide by 120px high.
This mod includes CSS to resize avatars to the desired size in the member blocks.
The CSS is commented so that people can easily adjust block sizes and avatar sizes.
Look for the following code if you wish to change the width of the blocks:
.member_block .reset {
/* Sets the overall width of the blocks. */
width: 155px;
background-image: linear-gradient(to top, #E3EDF7 0, #fff 100%);
border-radius: 6px;
}
Look for this code if you wish to change the displayed size of avatars:
.avatar_block {
/* Make this slightly taller than maximum avatar height. */
height: 125px;
}
.avatar_block .avatar {
width: auto;
height: auto;
/* Adjust these to suit preferred maximum avatar size. */
max-width: 120px;
max-height: 120px;
}
Please note that this mod is not compatible with other memberlist mods. These must be uninstalled.
This mod is licensed under the WTFPL, which is a legally recognized and completely valid license.
If the possibility of seeing profanity means you would prefer to not read the actual license terms, rest assured that you can do whatever you like with this mod's code.
Enjoy.