Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12284
Latest: arthurheller99
New This Month: 11
New This Week: 5
New Today: 0
Stats
Total Posts: 39488
Total Topics: 6961
Most Online Today: 134
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 37
Total: 37

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

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14769
    • 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
3749 Views
Last post May 09, 2009, 06:31:12 pm
by Matth41
2 Replies
1718 Views
Last post September 17, 2014, 07:40:49 pm
by shuban

+- Recent Topics

SMF 2.1 RCI & SMF Gallery Pro 8.04 500 Errors by SMFHacks
Today at 11:43:22 am

Bulk upload image problem by SMFHacks
February 14, 2019, 11:09:20 pm

Can the old store mod work on SMF 2.1? by SMFHacks
February 13, 2019, 08:58:13 pm

Is it possible for an admin user to upload photos to a nonadmin user's gallery? by 10341mouse
February 13, 2019, 11:15:56 am

SMF Gallery Pro and AD Seller Pro now for SMF 2.1.x by SMFHacks
February 11, 2019, 07:23:56 pm

[Mod]Push Notifications by shuban
February 06, 2019, 09:18:16 pm

Tinyportal and Mkportal.Which is better? by Oldiesmann
February 06, 2019, 07:23:16 pm

SMF 2.1 RC 1 Released by SMFHacks
February 04, 2019, 06:52:36 pm

Customer can't find what to do... by SMFHacks
February 04, 2019, 04:47:38 pm

"Undefined Index" errors by SMFHacks
January 30, 2019, 05:50:42 pm

Powered by EzPortal