Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12206
Latest: Nos7
New This Month: 14
New This Week: 6
New Today: 4
Stats
Total Posts: 39192
Total Topics: 6902
Most Online Today: 126
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 36
Total: 36

Author Topic: [Mod]Dynamic Memberlist  (Read 174 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14622
    • View Profile
[Mod]Dynamic Memberlist
« on: September 17, 2018, 05:00:59 pm »
Dynamic Memberlist



https://www.smfhacks.com/index.php?action=downloads;sa=view;down=214

Dynamic 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.
« Last Edit: September 18, 2018, 04:50:06 pm by SMFHacks »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
3697 Views
Last post May 09, 2009, 06:31:12 pm
by Matth41
2 Replies
1661 Views
Last post September 17, 2014, 07:40:49 pm
by shuban

+- Recent Topics

Turn off Download Stats? by SMFHacks
Today at 01:49:59 pm

multiple currencies bug by SMFHacks
October 14, 2018, 07:15:36 pm

message editor pro by SMFHacks
October 14, 2018, 06:45:02 pm

KARMA Badge by SMFHacks
October 14, 2018, 11:19:42 am

Upgraded to pro - some features not working? by SMFHacks
October 14, 2018, 09:25:36 am

SMF lottery mod by SMFHacks
October 13, 2018, 08:02:41 am

Error after adding Russian translation by SMFHacks
October 08, 2018, 04:10:41 pm

Adseller Pro 3.0 Released! by SMFHacks
October 06, 2018, 05:45:42 pm

problems with my GDRP pro and my SMF forum. by SMFHacks
October 03, 2018, 03:42:57 pm

Ad doesn't align in forum posts by jamesdeignan
October 03, 2018, 08:12:50 am

Powered by EzPortal