Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12241
Latest: ronaldjduncan
New This Month: 10
New This Week: 0
New Today: 0
Stats
Total Posts: 39383
Total Topics: 6933
Most Online Today: 77
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 43
Total: 43

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

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

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

+- Recent Topics

condition de livraison by SMFHacks
December 14, 2018, 12:47:53 pm

Multiple Versions in SMF by Boomslanger
December 13, 2018, 06:13:31 pm

GDPR Helper free doubts by Rock Lee
December 08, 2018, 06:20:57 pm

Downloads Pro 5.0 Released by SMFHacks
December 05, 2018, 03:11:32 pm

SMF Hacks Black Friday Sale! by SMFHacks
November 30, 2018, 09:03:04 am

Rewrite rule for IPN by diegolyanky
November 26, 2018, 10:58:55 am

EDITOR PRO by SMFHacks
November 25, 2018, 03:12:19 pm

SMF Gallery Pro 8.0 / PHP 7.0 onwards by SMFHacks
November 25, 2018, 12:33:10 pm

5.0 beta log errors by tfs
November 24, 2018, 10:37:06 pm

Download button doesn't initiate a download the first time by SMFHacks
November 24, 2018, 09:08:55 pm

Powered by EzPortal