News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Dynamic Memberlist 3.0

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

Previous topic - Next topic

0413

Quote from: Antechinus on April 11, 2009, 11:12:06 PM
Quote from: 0413 on April 11, 2009, 10:33:04 PMI really appreciate your help with all of this.  Enclosed is a test login.  Let me know what you think.  Thanks so much

test login:

stinson

password:

memphis1

Not a problem. Any chance of getting the site url?  ;D

@Vampy: No worries. Easy to miss stuff sometimes. Everyone does it.

hehe, that might help :)

http://www.posterdistrict.com/forum/index.php

Antechinus

Interesting. I've seen something similar with Curve but never in a standard RC1 theme. Which theme are you using?

0413

Quote from: Antechinus on April 11, 2009, 11:31:14 PM
Interesting. I've seen something similar with Curve but never in a standard RC1 theme. Which theme are you using?


I'm using ClanWar

Antechinus

Ok, I'll throw it on my local host and take a look at it. The dots are easy to fix. Just add   list-style: none;  to the css for the blocks and that should sort it. The alignment is likely to be trickier, but it's doable.

Antechinus

Just found out that theme has been removed from the Themes Site. Not sure what the state of play is. I'm waiting on feedback.

0413

Quote from: Antechinus on April 11, 2009, 11:42:46 PM
Just found out that theme has been removed from the Themes Site. Not sure what the state of play is. I'm waiting on feedback.

Yeah, he currently put it up on his site

ClanWar SMF2 Beta 3
http://smf2.uuuq.com/index.php?board=28.0


Appreciate you taking the time to look.


Antechinus

You have a missing div tag in your index.template.php. Not sure where it is at the moment but if you run the site through a validator you'll see what I mean.

I have no idea what the thread on his site is saying as I don't read Russian, but if the theme was made for SMF 2 Beta 3 then that could cause problems.

0413

Quote from: Antechinus on April 11, 2009, 11:53:58 PM
You have a missing div tag in your index.template.php. Not sure where it is at the moment but if you run the site through a validator you'll see what I mean.

I have no idea what the thread on his site is saying as I don't read Russian, but if the theme was made for SMF 2 Beta 3 then that could cause problems.

ok, thanks for looking at things for me.  I'm not sure what to do, so I'm gonna let things be for now.

Art

Antechinus

As I'm on the team I can still access one of the old downloads so I'll grab that and take a look when I get time.

LadyC

ante, did you get a chance to look at the file you asked me to attach? (or did i just miss your response to me after that? i do have a tendency to miss things sometimes)

robinrobin

Sorting members after letters doesn't seem to work with this mod. Nothing happens.

What's the point of sorting members after entries that aren't visible in their blocks when they need to be visible to be of any interest? Email, Website, ICQ, AIM, YIM and MSN are all unnecessary as it looks right now, i'd say.

By making the text in the block smaller you could fit much more in there.

Not that this is hard to do yourself. Just ideas for upcoming, perhaps more "complete" version.

Antechinus

The members will sort by username, just the same as with a standard memberlist, if that's what you mean by "sorting members after letters".

The IM's, email and website are not unnecessary if people wish to show them. Again, it's a standard option in the default SMF memberlist so I provided the same options in my mod in case people wished to use them. They are often used right here on this site, for instance. If you want them removed that is up to you.

You can make the text smaller if you wish but I find the current size provides good legibility. If you want to fit more information in it is easy to make the blocks slightly taller.

This, by the way, is the complete version. You can of course customise it to suit your personal requirements.   

Antechinus

Quote from: LadyC on April 12, 2009, 05:43:48 PM
ante, did you get a chance to look at the file you asked me to attach? (or did i just miss your response to me after that? i do have a tendency to miss things sometimes)
Ok, you said you could already sort by the custom field but just needed it to display in the member blocks. I took a look in your Memberlist.php and the custom field isn't in there at all, which means you're basically asking me to code another mod from scratch and then amalgamate it with this one. If you had the thing already coded and just wanted it to show in the blocks I'd be willing to tell you how to do this, but doing it from scratch is something I'm not really into.

If you can get someone to code it for you first that's fine. I'm not Christian myself so this one doesn't really interest me, but someone else might do it for you. If you start a thread in Mod Requests you'll probably get a response.   

LadyC

i guess i misunderstood, i thought that the "custom fields" was coded into it when i turned that feature on, it was just a matter of getting it to display in your mod.

0413

Quote from: Antechinus on April 12, 2009, 05:21:41 PM
As I'm on the team I can still access one of the old downloads so I'll grab that and take a look when I get time.

Thanks so much.  Keep up the excellent work.......I wish I knew how to fix this myself.

Art

Antechinus

0413, try this for the style.css. You may still need to tweak margins and paddings a bit but this seems good on my local host in Firefox and IE (at least with the download I could get my hands on).

/* 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.gif ) center center no-repeat;
width: 169px;
height: 280px;
float: left;
text-align: center;
padding: 6px 0 0 0;
list-style: none;
}
.mlist_header
{
    height: 21px;
max-width: 145px;
background: none;
    padding: 13px 0 0 0;
margin: 0 13px 0 -25px;
font-weight: bold;
overflow: hidden;
list-style: none;
}
.mlist_avatar
{
    height: 150px;
width: 125px;
margin: 6px 20px 7px -18px;
overflow: hidden;
list-style: none;
}
.mlist_group
{
    width: 139px;
margin: 0 15px 0 -28px;
overflow: hidden;
height: 17px;
list-style: none;
}
.mlist_details, .mlist_icons
{
    width: 125px;
margin: 0 22px 3px -22px;
list-style: none;
}

0413

Quote from: Antechinus on April 15, 2009, 07:24:54 AM
0413, try this for the style.css. You may still need to tweak margins and paddings a bit but this seems good on my local host in Firefox and IE (at least with the download I could get my hands on).

/* 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.gif ) center center no-repeat;
width: 169px;
height: 280px;
float: left;
text-align: center;
padding: 6px 0 0 0;
list-style: none;
}
.mlist_header
{
    height: 21px;
max-width: 145px;
background: none;
    padding: 13px 0 0 0;
margin: 0 13px 0 -25px;
font-weight: bold;
overflow: hidden;
list-style: none;
}
.mlist_avatar
{
    height: 150px;
width: 125px;
margin: 6px 20px 7px -18px;
overflow: hidden;
list-style: none;
}
.mlist_group
{
    width: 139px;
margin: 0 15px 0 -28px;
overflow: hidden;
height: 17px;
list-style: none;
}
.mlist_details, .mlist_icons
{
    width: 125px;
margin: 0 22px 3px -22px;
list-style: none;
}



Thanks so much my friend.  That worked....you my friend are a code genius :)

Art

Antechinus

Rofl. I, my friend, can mess around with basic css margins using trial and error. :D  I'm not sure why the Clan Wars theme was pushing the lists around but shuffling the margins seems to make it behave.

Hiver101

Hi please see the result after i install your mod. see may attachment.

thanks

Özgür

Quote from: resti on April 21, 2009, 11:46:13 AM
Hi please see the result after i install your mod. see may attachment.

thanks


add style code to your style.css
So Long

Advertisement: