Dynamic Memberlist 3.0

Started by Antechinus, March 19, 2009, 11:50:07 AM

Previous topic - Next topic

Antechinus

Just add this to the end of the style.css. Works with any theme. :)



/* Custom classes for the Dynamic Memberlist mod */
.mlist_table
{
    width: 100%;
    max-width: 1193px;
margin-top: 10px;
}
.mlist_table a:link, .mlist_table a:visited
{
    text-decoration: none;
}
.mlist_table a:hover
{
    text-decoration: blink;
}
.underline a:hover
{
    text-decoration: underline;
}
.mlist_blocks
{
    background: url(images/memberlist_bg.png) center center no-repeat;
width: 169px;
height: 280px;
float: left;
text-align: center;
padding: 6px 0 0 0;
}
.mlist_header
{
    height: 21px;
max-width: 145px;
background: none;
    padding: 13px 0 0 0;
margin: 0 13px 0 13px;
font-weight: bold;
overflow: hidden;
}
.mlist_avatar
{
    height: 150px;
width: 125px;
margin: 6px 22px 7px 22px;
overflow: hidden;
}
.mlist_group
{
    width: 139px;
margin: 0 15px 0 15px;
overflow: hidden;
height: 17px;
}
.mlist_details, .mlist_icons
{
    width: 125px;
margin: 0 22px 3px 22px;
}


The Goblin

Thank you so much  :D

Quote from: Antechinus on October 29, 2009, 12:05:30 AM
Just add this to the end of the style.css. Works with any theme. :)



/* Custom classes for the Dynamic Memberlist mod */
.mlist_table
{
    width: 100%;
    max-width: 1193px;
margin-top: 10px;
}
.mlist_table a:link, .mlist_table a:visited
{
    text-decoration: none;
}
.mlist_table a:hover
{
    text-decoration: blink;
}
.underline a:hover
{
    text-decoration: underline;
}
.mlist_blocks
{
    background: url(images/memberlist_bg.png) center center no-repeat;
width: 169px;
height: 280px;
float: left;
text-align: center;
padding: 6px 0 0 0;
}
.mlist_header
{
    height: 21px;
max-width: 145px;
background: none;
    padding: 13px 0 0 0;
margin: 0 13px 0 13px;
font-weight: bold;
overflow: hidden;
}
.mlist_avatar
{
    height: 150px;
width: 125px;
margin: 6px 22px 7px 22px;
overflow: hidden;
}
.mlist_group
{
    width: 139px;
margin: 0 15px 0 15px;
overflow: hidden;
height: 17px;
}
.mlist_details, .mlist_icons
{
    width: 125px;
margin: 0 22px 3px 22px;
}



The Goblin

There is a big gap between my avatar and the info under it.  What CSS do you change to get it to be closer?

Antechinus

Try the bit that says avatar. :P

The Goblin

Quote from: Antechinus on October 29, 2009, 08:53:16 PM
Try the bit that says avatar. :P

LOL  ;D  I tried most of the others but that one,  ::)

kingkingston

on default theme the blocks work but in my darrain theme there are no blocks and the members are listed in a centre position line going down the middle,how do i fix this ?

http://wewantsport.com/index.php?action=mlist;sort=is_online;start=0

Antechinus

Start by reading the instructions. This has been recently discussed in this thread.

kingkingston

#147
Quote from: Antechinus on November 05, 2009, 07:25:16 PM
Start by reading the instructions. This has been recently discussed in this thread.
Thanks for your help,by the way which folder does memblock_images go in ?

wladymeer

Greetings.

May I ask if it's possible to center all members block? If you check preview image you'll notice that on 1024x768 they are slightly left aligned.

Other question is about avatars - is it annyway possible to center it verticaly in the block?

Many thanks.

Antechinus

Quote from: kingkingston on November 05, 2009, 08:19:39 PM
Quote from: Antechinus on November 05, 2009, 07:25:16 PM
Start by reading the instructions. This has been recently discussed in this thread.
Thanks for your help,by the way which folder does memblock_images go in ?
You're welcome, but I have no idea which folder memblock_images goes in. I've never heard of it.

Antechinus

Quote from: wladymeer on November 05, 2009, 10:13:13 PM
Greetings.

May I ask if it's possible to center all members block? If you check preview image you'll notice that on 1024x768 they are slightly left aligned.

Other question is about avatars - is it annyway possible to center it verticaly in the block?

Many thanks.

I was thinking about centering them. It may be possible with some css trickery but I haven't had time to test it yet. I'll play with it over the weekend if I get time.

By default the blocks are sized for 125x150 avatars as that is what we use on the site I admin. If you want to use smaller avatars adjust the height of the blocks and the css to suit. This has already been discussed on this page so check out the earlier posts.

wladymeer

Many thanks. Looking forward to it.

Concerning second one, yep I used some padding shifts so it's okay now - I was more thinking about different height avatars - I wanted to "center" those who are lower in height comparing to those who are using maximum avatar height, if you get what I mean, but no prob.

Antechinus

Yes I know what you mean. I can have a look at that too. I want to tweak the mod slightly for the public release of RC2 so I may have time to sneak a couple of changes in.

Antechinus

Had a play with it and can't get them centered at the moment. May be possible later but I'm not going to go to using javascript to do it. Has to be css/php or nothing.

Anyway RC2 version of the mod is officially up and the RC1.2 version is no longer available and has been removed.

c23_Mike

Hi there !

I have the same problem like kingkingston, all members listed in one line down. The css file in the default theme has the edit within ... so what can be wrong?
I use SMF 2.0 RC2 with SP 2.3.1.
So long, Mike

http://www.c23.at
c23 - DER Computer Club
~ never play alone ~

Antechinus

Clear your browser cache and force a refresh (Ctrl+F5). Standard procedure after any css or image changes.

c23_Mike

So long, Mike

http://www.c23.at
c23 - DER Computer Club
~ never play alone ~

blokey

I have been waiting for this

I installed it and have lost my members button??????????

so I have no memberlist at all now



Any advice
SMF Version 2.0 RC2     Server Info Apache version 2.0.63 PHP version 5.2.9 MySQL version 5.0.81-community Architecture x86_64 Operating system Linux

Arantor

Holder of controversial views, all of which my own.


blokey

oops did maintenance this morning   not there


this mat be my fault because i put the button up but i get this

The database value you're trying to insert does not exist: sort
SMF Version 2.0 RC2     Server Info Apache version 2.0.63 PHP version 5.2.9 MySQL version 5.0.81-community Architecture x86_64 Operating system Linux

Advertisement: