Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=1718)
Dynamic Memberlist 3.0by Antechinus
Note: It is recommended that you do not install this mod on the Ant's Mutant Curve (https://custom.simplemachines.org/themes/index.php?lemma=2941) theme.
That theme includes similar functionality in default form, which this mod would conflict with.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 (http://www.wtfpl.net/), which is a legally recognised 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.
Complete revamp: Version 3.0 for SMF 2.0.10 on August 31, 2015.Version 2.0.7 for SMF 2.0.7 on June 14, 2014.Version 2.0.6 for SMF 2.0 Final on June 11, 2011.Version 2.0.5 for SMF 2.0 RC4 on November 27, 2010.Version 1.1.1 for SMF 1.1.11 on March 19, 2010.Version 2.0.4 for SMF 2.0 RC3 on March 18, 2010.Updated for SMF 2.0 RC3 on March 15, 2010.Updated for SMF 2.0 RC1.2 on July 19th, 2009.
- Block background image changed to a png for better compression.
- Memberblock_images.zip added to the download page.
- Memberblock_images.zip contains a PSD (dark and light defaults) plus png images for the Outline and Mystic Jade themes.
- Turkish language strings added ( thanks to [Daydreamer] (http://www.simplemachines.org/community/index.php?action=profile;u=124605) ).
Finally this got approved. Fantastic version of my idea. Love it. Incredible!
Hi Antechinus!
Can you please make an memberlist_bg.gif for the Outline Theme?
Hi,
This looks very nice, worth trying out.
Thanks
Is this avadible for smf 1.1.8
No, WBA Dude. It isn't.
looks cool antechinus, ill give this a test drive
Quote from: WBA Dude on March 19, 2009, 02:31:29 PM
Is this avadible for smf 1.1.8
Nope. I'm not in a hurry to do it for the 1.1.x series either. Frontwards going we are, young padawan. ;)
Look on the bright side. As soon as SMF 2 is final you'll want it. Coz it's better. You'll also want groovy mods for it, coz you like to be a bit different. This means you want people to make them, and if they spend time making things for 1.1.x they'll have less time to sort things for SMF 2.
All my energy is going into SMF 2 at the moment. Once that is thoroughly sorted I may look at the antiques just for a giggle. Don't hold your breath on it though.
Quote from: The Crusader on March 19, 2009, 11:57:54 AM
Hi Antechinus!
Can you please make an memberlist_bg.gif for the Outline Theme?
Yep, I can do that. I'll knock one up when I get a chance. Everyone just remember that I wont be able to do them for every theme under the sun. I'll sort a couple of psd's though, so that should make things easier to customise.
woooooow,
very cool
thank you.
Testing this on my local setup, nice! Will definitely use for my live site. :D
Quote from: The Crusader on March 19, 2009, 11:57:54 AM
Hi Antechinus!
Can you please make an memberlist_bg.gif for the Outline Theme?
Done. Attached to the OP. Enjoy. ;)
For Outline I suggest using this for the style.css:
/* 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;
}
.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;
line-height: 1.2em;
margin: 0 22px 3px 22px;
}
The default line height is a bit much for this area. You may wish to also try font-weight: normal; for the details and icons classes.
Quote from: Antechinus on March 20, 2009, 10:49:27 PM
Quote from: The Crusader on March 19, 2009, 11:57:54 AM
Hi Antechinus!
Can you please make an memberlist_bg.gif for the Outline Theme?
Done. Attached to the OP. Enjoy. ;)
For Outline I suggest using this for the style.css:
The default line height is a bit much for this area. You may wish to also try font-weight: normal; for the details and icons classes.
Hi Antechinus,
I have applied this code on my outline theme and it worked perfectly.
I need your help in using this code for OverView,ds-natural and x-mas or could i use the same code to display it on all themes.
And will it be possible that the frames and border like in default theme.
The css is basically the same for all themes. Just add it to the end of the style.css. The frame is a gif image. If you want a different one just make it yourself in Photoshop or GIMP or whatever.
This is probably a dumb question, sorry, but what happens if someone has more than 16 characters in their name?
The remaining characters wont be displayed. Hidden overflow means they get hidden. If you want them displayed you can do that but you'd need to make a wider block image, which isn't hard to do, and adjust the width settings in the css.
Cool, I just installed it.
I went ahead and uninstalled two other mods first since this seems to incorporate those (Last Post on Memberlist/Last Active on Memberlist)
It will sort members by last active but it wont actually display their last posts. Mind you it would be simple to add a direct link from a member's block to the posts area of their profile.
On the mod picture, what is the "posts" after "last active"? Does it sort by the last post date? That's what I was looking for...
That just sorts by number of posts made. It's a standard SMF feature on 1.1.8 and RC1. I don't mind adding a few more functions to the mod if people want them as it's simply a couple of minor changes to the arrays in Sources/Memberlist.php
The only thing that would be a problem is that the sorting options bar is already rather full and I'd like to retain scalability for narrower screens.
ETA: Of course if there are some standard sorting options that you don't want, and you'd like to replace them with ones you do want, I'm happy to advise on that too.
Nah, this is a great looking mod. I was wondering why the other mod hadn't been updated to RC1 and now I don't have to ask. ;D
The cat avatar in the screenshots is the best xD. Nice mod gz
Antechinus, do you update this mod everyday? It seems everytime I look, the thing says Last Modified: Yesterday. If you are, anyway you could do a log change list for the mod? Or do a change to the file name or something.
BTW, mod installed great! Nice work!
I've just added a couple of warning notes to the blurb, for people who hit problems with the pre-install tests. The actual mod files haven't changed since it was approved.
Basically if anyone has messed around with their Memberlist.template.php the test will fail on that file, because the mod searches for and replaces the entire thing. So to get a flawless installation you need to have a dead standard RC1 template in place before starting.
I attached a copy to the OP of this thread just in case anyone needs it.
cool mod. thanks Antechinus.
Turkish translations
$txt['joined'] = 'Kayıt';
$txt['last_active'] = 'Son Giriş';
$txt['name'] = 'İsim';
And black background image and screenshot in attachment.
When can we expect a 1.1x version?
This should answer your question. (http://www.simplemachines.org/community/index.php?topic=299980.msg1982680#msg1982680) ;)
Quote from: Özgür´ on March 23, 2009, 08:23:11 PM
cool mod. thanks Antechinus.
Turkish translations and black background image and screenshot in attachment.
Thanks Özgür´. I'll add the translations when I update the mod. I'll link to the image from the OP too.
Hey, Great mod! Im glad to have one for SMF 2 now lol, only issue was that i use a dark theme "Black Rain V2 by crip" and it obviously didnt look right. So i kinda edited the image (this was before i saw the black one Özgür´ put up) that i personally think works well with the black/gray of Dark Rain V2. If anyone wants to use it feel free:
EDIT: Added a screenshot. If someone wants a much wider view of it in action, lemme know.
Cool. That'll help with alternatives for different themes. I haven't had a chance to make any psd's yet. Unfortunately I wasn't smart enough to save one of the original. I must stop doing that. :P
lol i know what you mean, im not an artist or anything and usually can't come up with anything good on my own. Most of my work is editing existing stuff to my liking and sometimes i want to change it later on for something else or whatnot and i never remember to save the psd's to make it easier. So i end up making it harder on myself, but oh well, its good practice :P
QuoteHey, Great mod! Im glad to have one for SMF 2 now lol, only issue was that i use a dark theme "Black Rain V2 by crip" and it obviously didnt look right. So i kinda edited the image (this was before i saw the black one Özgür´ put up) that i personally think works well with the black/gray of Dark Rain V2. If anyone wants to use it feel free:
EDIT: Added a screenshot. If someone wants a much wider view of it in action, lemme know.
It's nice.
I just coloured in the original and kept the borders. Not as fancy, but looks nice on my site.
Hi colorized the original into 2 colours to work with tabs-purple theme :D
Quick question though - how do I change the font colours without affecting all the whole forum?
Just add your colour codes to the mlist section at the end of style.css. So as an example,
.mlist_header
{
height: 21px;
max-width: 145px;
background: none;
padding: 13px 0 0 0;
margin: 0 13px 0 13px;
font-weight: bold;
overflow: hidden;
}
Change to:
.mlist_header
{
height: 21px;
max-width: 145px;
background: none;
padding: 13px 0 0 0;
margin: 0 13px 0 13px;
font-weight: bold;
color: hideous purple;
overflow: hidden;
}
Quote from: Antechinus on March 27, 2009, 10:33:30 PM
Just add your colour codes to the mlist section at the end of style.css. So as an example,
.mlist_header
{
height: 21px;
max-width: 145px;
background: none;
padding: 13px 0 0 0;
margin: 0 13px 0 13px;
font-weight: bold;
overflow: hidden;
}
Change to:
.mlist_header
{
height: 21px;
max-width: 145px;
background: none;
padding: 13px 0 0 0;
margin: 0 13px 0 13px;
font-weight: bold;
color: hideous purple;
overflow: hidden;
}
Thanks Antechinus - LMAO @ the "hideous purple" .... actually I want it grey/black so :P
EDIT: just one problem - that's what I'd tried before and it doesn't work - the main css appears to override it :(
I changed it to say
.mlist_header
{
height: 21px;
max-width: 145px;
background: none;
padding: 13px 0 0 0;
margin: 0 13px 0 13px;
font-weight: bold;
color: #333333;
overflow: hidden;
Hmm - did I do something wrong, maybe it needs changing somewhere else as well - If you want to have a look I can PM you the URL
OK, I know what it is. The text in the header is a link to profile. Create another class: mlist_header a:link
You should also add a:visited and if you want to customise it for hover properties you'll need a class for that too.
Example:
mlist_header a:link, mlist_header a:visited
{
color: #333333;
}
mlist_header a:hover
{
color: #FFFFFF;
}
This is weird - it's working for the hover colour but not for the main header
.mlist_header
{
height: 21px;
max-width: 145px;
background: none;
padding: 13px 0 0 0;
margin: 0 13px 0 13px;
font-weight: bold;
color: #333333;
overflow: hidden;
}
.mlist_header a:link, mlist_header a:visited
{
color: #333333;
}
.mlist_header a:hover
{
color: #FFFFFF;
}
I don't see anything wrong :( - I tried it both with and without the font color in the mlist_header main class
Great work Antechinus, thank you
oh for christs sake... don't start the game of "well 1.1.x is going out soon"
It's truely not... the main reason why people don't switch to version 2, is becuase theres hardly any mods for it... or decent themes.. and i for one don't feel like porting over all my crap, just make a 1.1.x version, i beg of you.
SilverKnight,
not to be rude, but Antichinus worked his fingers off for this. he gave you a reply, but you cant handle the answer. im sorry.
not enough themes? design or pay for one then, and as for mods, you really havent looked, but hey each to their own.. O:)
cheers Anti my buddy.. ;)
I really like your mod.
I'm not sure if this is possible, but I thought of an idea that may be pretty cool as an added feature for your mod. In no way am I telling you that it should be done. I just thought it would be a cool idea.
Idea:
What if each member could pick which background they wanted around their name somehow.
I know there are a LOT of people that use SMF for gaming sites. I was going to make a background inspired by the green of Xbox, white/blue for Wii, and multi color of Playstation. If I made three backgrounds, the member could choose which system background they liked and it would display on the memberlist that way instead of everyone having the same one.
Or, a different membergroup would be displayed with a different background like Admins in an Admin inspired background, Mods in another, etc etc.
It was just an idea and I thought that it would really make it unique that way, too. Unfortunately, I'm just an idea guy and have no knowledge on how to do this type of stuff.
Antichinus I have it solved - one missing measly dot was the problem - now it looks wonderful :D
Thank you so much for working so hard writing this mod
Have you also tried this for the buddies listing page ?
Does anyone know if it can be done - thanks for the great mod :D
Gibby
How do I get this to add more members so that the rows are even?
Convince more people to join your forum.
Quote from: gibby on April 04, 2009, 03:25:55 AM
Have you also tried this for the buddies listing page ?
Does anyone know if it can be done - thanks for the great mod :D
Gibby
Mate, I don't even know what the buddies listing page is. :D Enlighten me and I might take a look at it when I get time.
Quote from: Antechinus on April 05, 2009, 01:30:08 AM
Convince more people to join your forum.
There are 17 pages of members.
Ok, change the screen resolution then.
Quote from: Antechinus on April 05, 2009, 01:35:33 AM
Mate, I don't even know what the buddies listing page is. :D Enlighten me and I might take a look at it when I get time.
Gawd, you ARE a retard :P
http://www.simplemachines.org/community/index.php?action=profile;area=buddies
/me runs :P
Oh that. Never bothered using it. Probably can be done easily enough with much the same code.
Quote from: Antechinus on April 05, 2009, 01:56:14 AM
Oh that. Never bothered using it. Probably can be done easily enough with much the same code.
;D
Love your mod by the way, it rocks :D
/me hugs Ant
How or can this be modded to work with custom fields on memberlist mod?
The mod needs to change this in the memberlist.template.php
Your version of the php no longer has this.
Find:
echo ' </tr>'; } } // No members?
Replace:
// Any custom fields to show? if (!empty($context['custom_profile_fields']['columns'])) { foreach ($context['custom_profile_fields']['columns'] as $key => $column) echo ' <td class="windowbg" align="left">', $member['options'][substr($key, 5)], '</td>'; } echo ' </tr>'; } } // No members?
No idea at the moment. Haven't looked at it yet.
Jade - Thanks...
I hope that it can be done - it would look great if it could be :D
Thanks
Gibby
Quote from: gibby on April 05, 2009, 09:18:12 PM
Jade - Thanks...
I hope that it can be done - it would look great if it could be :D
Thanks
Gibby
Yeah, but Ant wouldnt get a chance to use it cause he doesnt have any friends ;)
(Kidding, I'm Ants friend :P)
Pfft. Not any more you aren't. :P
:D
Yay! FREEDOM!!! ;D
just jumping in to say i, too, would love to be able to add a custom field in the memberlist! (i mean, i can already sort by the custom field, but i'd like it to display.)
Ok, I have a question: why is this my problem? :D I mean it could just as well be the problem of the guy who made the custom fields mod. He should figure out how to integrate it with my mod, yes?
Where do you want it to display? In the member blocks? That can be done but there are some catches. For a start the image backgrounds are a fixed size, so adding more fields may mean making a bigger image every time you add another field, depending on how much space the new field takes up. I could recode it so the images resized vertically as new fields were added, but frankly I'm not in a big hurry to do that at the moment as there are some complications and I have other projects on the go.
If it can be done without dynamically resizing the image then that's pretty easy. If you are going to need a bigger image you'll need to make one (which isn't hard) and adjust the css, which isn't hard either.
Quote from: SgtMic on April 05, 2009, 01:20:27 AMHow do I get this to add more members so that the rows are even?
Ok, I'll give you a serious answer to this one. At the moment this mod is clean css that works in all browsers. To do what you want it to do would mean incorporating javascript to sniff the screen resolution, or more specifically to sniff the available width in case someone is not running the window at full screen width. The reason this would be necessary is because the number of blocks per row is going to vary according to available width. This can be done but getting it working in all browsers can be a bit of a pain. It will also slow up the execution of the code. I don't see it as a priority and think it would be more trouble than it is worth because it'll mean a lot more work for me for an utterly trivial benefit, if it can even be called a benefit at all.
Can I has custom fields on SMF 2.0 then? ;D
Quote from: Antechinus on April 06, 2009, 05:35:20 PM
Where do you want it to display? In the member blocks? That can be done but there are some catches.
If it can be done without dynamically resizing the image then that's pretty easy. If you are going to need a bigger image you'll need to make one (which isn't hard) and adjust the css, which isn't hard either.
thanks antechinus, i'd very much like the information on how to do it... i don't think resizing the image or adjusting the css will be necessary for the field i'd like to include in the member block. so since you said that should be pretty easy, i think i can handle it if you can tell me what bit of code to add to which file!
Umm, I don't know which field you want to call. If it's already been added in admin then the arrays should be sorted, which means you just need to add the right code to the template in with the rest of it. What exactly are you trying to add?
Quote from: Antechinus on April 07, 2009, 07:04:51 PM
Umm, I don't know which field you want to call. If it's already been added in admin then the arrays should be sorted, which means you just need to add the right code to the template in with the rest of it. What exactly are you trying to add?
Probably all of them
D'oh. :P I mean which fields has she added? What are their contents? What is required to be displayed so I can tell her how to code it, smartypants. These are custom fields, not standard ones. The standard ones are already displayed.
Quote from: Jade on April 06, 2009, 07:53:43 PM
Can I has custom fields on SMF 2.0 then? ;D
Maybe this is help for you. http://custom.simplemachines.org/mods/index.php?action=parse;mod=1520;attach=77409;smf_version=2.0_RC1
Quote from: Özgür´ on April 08, 2009, 01:12:59 AM
Quote from: Jade on April 06, 2009, 07:53:43 PM
Can I has custom fields on SMF 2.0 then? ;D
Maybe this is help for you. http://custom.simplemachines.org/mods/index.php?action=parse;mod=1520;attach=77409;smf_version=2.0_RC1
Quote from: SgtMic on April 05, 2009, 02:28:30 AM
How or can this be modded to work with custom fields on memberlist mod?
The mod needs to change this in the memberlist.template.php
Your version of the php no longer has this.
Find:
echo ' </tr>'; } } // No members?
Replace:
// Any custom fields to show? if (!empty($context['custom_profile_fields']['columns'])) { foreach ($context['custom_profile_fields']['columns'] as $key => $column) echo ' <td class="windowbg" align="left">', $member['options'][substr($key, 5)], '</td>'; } echo ' </tr>'; } } // No members?
hi antechinus,
i'm not sure where to find the array, but i've included a screencap. the one i'd like on the memberlist is "i'm saved" with radio button options of "yes" and "no". i hovered my mouse over the option and it says it is field 1 (even though in the image it appears as the second one.)
The array will be in Sources/Memberlist.php. If you could attach a copy of that I'll take a look at it.
ok, here it is, thanks :)
Hey guys,
This mod is so awesome and I would love to get this to work. However, I can't for the life of me figure out how to get that background image around each member to show up.
Check it out here:
http://www.posterdistrict.com/forum/index.php?action=mlist (http://www.posterdistrict.com/forum/index.php?action=mlist)
test login:
stinson
password:
memphis1
If you are using a custom theme you will need to copy the image to your themes images folder. You will also need to copy the css additions to your style.css
wow..fantastic :P
cong .
Is there a way to add the option for a link to "send a PM" to the member in the individual boxes, where the email, website and MSN icons are?
Quote from: Antechinus on April 10, 2009, 06:21:40 PM
If you are using a custom theme you will need to copy the image to your themes images folder. You will also need to copy the css additions to your style.css
thanks for your help. Still not working properly. I'm assuming my theme is missing something because the page just looks jumbled up. Any thoughts on what the problem might be?
Quote from: Vampy on April 11, 2009, 11:14:31 AM
Is there a way to add the option for a link to "send a PM" to the member in the individual boxes, where the email, website and MSN icons are?
It's already there. The online/offline icon performs this function, just as it does in Display.template.php (ie: post view). If you hover over it you'll see the title text: "Online | Send a message". If you want a separate text link that can be done, but I'm not sure it's necessary. Up to you.
@413: If you have the css and image in place it is probably a cache problem. Have you tried clearing your browser cache and forcing a refresh? (Ctrl+F5)
If it is not a cache problem it has to be a mistake in the css. Give me a link to your site, with a test account if that is necessary to view the memberlist, and I'll take a look at it.
Very nice mod..! I'll be waiting for a version on SMF 1.1.8 if there is any...!
Great mod..
What is this 1.1.8 you speak of, Grasshopper?
I'm sorry...! I mean on SMF 1.1.8..!
Very nice...just installed it on my forum. :)
Quote from: Antechinus on April 11, 2009, 08:34:08 PM
Quote from: Vampy on April 11, 2009, 11:14:31 AM
Is there a way to add the option for a link to "send a PM" to the member in the individual boxes, where the email, website and MSN icons are?
It's already there. The online/offline icon performs this function, just as it does in Display.template.php (ie: post view). If you hover over it you'll see the title text: "Online | Send a message". If you want a separate text link that can be done, but I'm not sure it's necessary. Up to you.
@413: If you have the css and image in place it is probably a cache problem. Have you tried clearing your browser cache and forcing a refresh? (Ctrl+F5)
If it is not a cache problem it has to be a mistake in the css. Give me a link to your site, with a test account if that is necessary to view the memberlist, and I'll take a look at it.
I 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
Quote from: Antechinus on April 11, 2009, 08:34:08 PM
Quote from: Vampy on April 11, 2009, 11:14:31 AM
Is there a way to add the option for a link to "send a PM" to the member in the individual boxes, where the email, website and MSN icons are?
It's already there. The online/offline icon performs this function, just as it does in Display.template.php (ie: post view). If you hover over it you'll see the title text: "Online | Send a message". If you want a separate text link that can be done, but I'm not sure it's necessary. Up to you.
Thanks Antechinus - guess that'll teach me to install on my test site where I'm the only one online - my apologies
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.
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
Interesting. I've seen something similar with Curve but never in a standard RC1 theme. Which theme are you using?
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
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.
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.
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.
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.
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
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.
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)
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.
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.
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.
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.
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
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;
}
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
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.
Hi please see the result after i install your mod. see may attachment.
thanks
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
here is my css can you please check it?
opps it's ok now. i don't know what happend. i don't even cleared out my mozilla cache
:) Ok.
thanks for such a great mod
take a look at this http://thegamershive.net/forum/index.php?action=mlist;sort=is_online;start=0
really a great mod
thanks
Quote from: resti on April 21, 2009, 12:08:08 PM
take a look at this http://thegamershive.net/forum/index.php?action=mlist;sort=is_online;start=0
really a great mod
thanks
Can't view the memberlist without an account
Probably a plug for sign ups? ;D
Noooooooo. Surely not. :D
How would I go about centering the avatar within the block? All of mine are aligned LEFT.
Attached pic to show how it currently is on my forum.
Different. Which browser and OS are you using there?
Windows XP for OS
and Firefox for Browser version 3.0.10
That's strange, because I'm running the same and smaller avatars are still centered as they should be. Is this on the default theme or is it a custom theme but with the default theme images?
ETA: You can adjust the margins on the avatar in style.css:
.mlist_avatar
{
height: 150px;
width: 125px;
margin: 6px 22px 7px 22px;
overflow: hidden;
}
I'd be careful to check the result on all themes and browsers though because they should already be centered in an FF3/XP system.
Hmmm, I checked IE7 (haven't updated to 8, yet) and they are centered like I want them. But, I really am using XP and firefox 3.0.10, so do you have any idea why it wouldn't be centered on this?
I'm going to run upstairs and check my desktop which runs Vista Home Prof and has firefox 3.0.10 running and see what it looks like on that computer and will post.
Even a couple other things I've been trying to correct regarding the Avatar not being centered on other mods are centered in IE7 such as the Simple Portal User Info block.
Update:
LOL, This is kind of funny. When I go to the computer running Vista on Firefox, the Avatar is centered on the pageload for the first second and then moves to the left where it stays. This is on the Member List page and also when displaying the S Portal block. ???
To be honest at the moment I'm stumped on this one. I have no idea why it would be doing that. See I tested the thing with XP and all the major browsers before releasing it and the avs were always centered. Now I have seen one custom theme that messes things up but that required the same correction for all browsers.
What worries me is that if you knock up a correction for your computer it will be out of whack for everyone else. Get some feedback from your members and see if they are getting the same display problem. If they are then it will be something in your site's coding and is worth fixing. If they aren't then it must be a quirk in your computer.
Well, I just bought the desktop that runs Vista last week and that is making them align left on this mod and also on the Simple Portal mod. The laptop runs XP and that is making them align left, too.
Since both mods are having the same result, I figure there is something with one of the files since both computers give me the same result. I posted this to see if I can get some help.
http://www.simplemachines.org/community/index.php?topic=307773.msg2039650#msg2039650
Quote from: Vampy on April 21, 2009, 01:56:48 PM
Quote from: resti on April 21, 2009, 12:08:08 PM
take a look at this http://thegamershive.net/forum/index.php?action=mlist;sort=is_online;start=0
really a great mod
thanks
Can't view the memberlist without an account
sorry about the access
you can try it now visiting it
thanks
Ok, so what is the problem? It looks normal to me. What do you want to change?
Quote from: Antechinus on May 01, 2009, 04:59:55 PM
To be honest at the moment I'm stumped on this one. I have no idea why it would be doing that. See I tested the thing with XP and all the major browsers before releasing it and the avs were always centered. Now I have seen one custom theme that messes things up but that required the same correction for all browsers.
What worries me is that if you knock up a correction for your computer it will be out of whack for everyone else. Get some feedback from your members and see if they are getting the same display problem. If they are then it will be something in your site's coding and is worth fixing. If they aren't then it must be a quirk in your computer.
Worked out my problem. When I uninstalled the Reflection Avatar mod, everything works correctly. I got some help from that mod author and all are working correctly now. I couldn't understand why it wasn't working either, but it's all good now!
Cool. That's worth knowing. Thanks for the heads up.
This is great stuff, just what I need, hope you will trow 1.1.8. version soon. :)
Finally got around to updating this for RC1-1. Call me Speedy. :P
There is now a psd available on the download page, which should make it easier for people to customise the member block images, and I threw in ready-made png images for the Outline and Mystic Jade themes.
Note that the block image is now called as a png, not a gif. Png's are better. Of course you can still use a gif if you really want to but you'd have to change the css to call it.
Since this is using a png, I chose to make the body portion of the image transparent in order for it to pull the background of the forum by default. I also squared off the edges since my forum is more angular and not rounded.
I attached an example and the png image.
Hope it gives people some ideas.
If you use a png-8 it will be transparent in IE6 as well. ;)
Quote. Execute Modification .Themes/default/languages/Modifications.english.php Test successful
1. Add After .Themes/default/languages/Modifications.english.php Test successful
4. Execute Modification .Themes/default/languages/Modifications.turkish.php File not found
5. Execute Modification .Themes/default/style.css Test failed
1. Add After .Themes/default/style.css Test failed
This is what I get.
You must have removed part of the style.css then, so the mod can't find what it is looking for. You can just add the extra css to the end of the file manually. It's safe to install the mod but it will look a bit messed up until you sort the css.
where do i upload my custom member_bg.gif that I made?
Images folder of your theme. :P
hi I have installed this mod but have a few questions.
- How can i make the cells displaying the info bigger, as I have altered some icons and the display has gone tupot, see attachement number 1.
- And how can I remove the horrible hearder info left behind by the old memberlist system, as this does nothing in this mod, see attachement number 2.
Thanks
Quote from: nay27uk on August 01, 2009, 08:56:09 AM
hi I have installed this mod but have a few questions.
- How can i make the cells displaying the info bigger, as I have altered some icons and the display has gone tupot, see attachement number 1.
- And how can I remove the horrible hearder info left behind by the old memberlist system, as this does nothing in this mod, see attachement number 2.
Thanks
Ok I managed to get the hights sorted in the CSS however I would still like to know how I remove number 2 above.
And can you give me some code to make the IM icons static
There is code for static IM icons in the Tips and Tricks board. The header does do something in this mod. It provides all the sorting and search options for the memberlist.
Would anyone have any ideas for how to add more info to the tabs, such as age, country and custom ones like contributions and gratitudes? I tried copying the code for, for example age, from Display.template.php, but nothing appears on the Memberlist tabs when i do that. How come?
// Show the member's age
if (isset($message['member']['age']))
echo '
', $message['member']['age'], '';
You'd basically need to write another mod to add those. I may look at integrating custom profile fields at some point but not at the moment.
Oh, ok. I thought it was a simple matter of changing the current code a bit to pull the info from somewhere else from the site, maybe SSI or whatever.
Thanks for your work though!
Antechinus, great mod! Installed and works beautifully.
I'm about to move my posters over to 2.x (finally) and held off installing this until I could take care of
[THIS ISSUE] (http://www.simplemachines.org/community/index.php?topic=336055.msg2254618#msg2254618) (because I didn't want every member to appear on the members list). But it's sorted, now
and I just dropped by to tell you that it's a fantastic mod.
:)
Been using this one for a couple of months, and forgot to say thanks. Fantastic mod. I have 17 themes and this works fantastic with them all. Took a lot of photoshopping to get the bg image to match them all, but I enjoyed that part of it anyway. Great work. :)
And to celebrate the long awaited Charter Member release of RC2 I've updated the mod. :D
It was a good excuse to play with Curve a bit.
Use this file for RC2: http://custom.simplemachines.org/mods/index.php?action=download;mod=1718;id=117967
Do not attempt to install that file on RC1.2. You wont like the results. The RC1.2 version (http://custom.simplemachines.org/mods/index.php?action=download;mod=1718;id=107402) of the mod is still available.
Enjoy. ;)
Thanks, going off to install it on my test site now 8)
Antechinus
With my Avatar settings all avatars are resized, so they also affect the memberlist, so is their a way to get rid of all the room indicated in the attached file?
Sure. Just make a smaller background image and reduce the height of the avatar section.
.mlist_avatar
{
height: 156px;
}
.mlist_avatar a
{
height: 150px;
width: 125px;
overflow: hidden;
}
Quote from: MATTEK on July 08, 2009, 09:08:49 PM
Quote. Execute Modification .Themes/default/languages/Modifications.english.php Test successful
1. Add After .Themes/default/languages/Modifications.english.php Test successful
4. Execute Modification .Themes/default/languages/Modifications.turkish.php File not found
5. Execute Modification .Themes/default/style.css Test failed
1. Add After .Themes/default/style.css Test failed
This is what I get.
Quote from: Antechinus on July 08, 2009, 09:49:41 PM
You must have removed part of the style.css then, so the mod can't find what it is looking for. You can just add the extra css to the end of the file manually. It's safe to install the mod but it will look a bit messed up until you sort the css.
I get the same error, but Im not sure how to fix the CSS on it. How exactly would I fix it or add it back in? Im using the theme back n black.
Thanks Bunches :D
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;
}
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;
}
There is a big gap between my avatar and the info under it. What CSS do you change to get it to be closer?
Try the bit that says avatar. :P
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, ::)
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
Start by reading the instructions. This has been recently discussed in this thread.
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 ?
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.
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.
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.
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.
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.
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.
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.
Clear your browser cache and force a refresh (Ctrl+F5). Standard procedure after any css or image changes.
Hi there !
Tnx, THAT did it!
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
Errors in the error log?
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
i am on RC2 ancedota alt theme but i get this error on default curve to after i installand go to members i get
Template Parse Error!
There was a problem loading the /Themes/default/Memberlist.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
forget it i got it believe it or not i uploaded the memberlist php file from my other site that it is working on and it worked woo hoo :) :)
Antechinus this is an awesome mod that really brings the memeber list to life. I have it working on 3 curve themes and just changed the memberlist_bg image and a few fonts... all is great! Thanks for your efforts!
Thanks. Glad you like it. :)
it's all messed up in my forum
see the image attached ....
Link?
www.freakygurus.com
You will have to fix your parse error before anyone can view the site. :)
Anyway I can tell you one problem from the screenshot: you have some member group names that are too long for the default arrangement, which is why some icons are being forced to new lines. You could get around this by either removing some icons or by making the block images for each member taller.
opppssss ...... i was making a modification lol
forum all back to normal..... u can try now
thanx alot in advance
Ok I can see what the problem is. It's the additional profile fields messing up the header bar. I'll have a look through the code tonight when I have more time and come up with a solution. One thing to be aware of is that the rounded header bars in Curve are fixed for height. Your Thanks mod has very long text strings and these are going to break the rounded header bar (which is why you can see that other parts of the main_block.png image on that page). To get it to work you will probably have to change that bar to a solid, square-cornered bar.
I should probably recode this mod so that it deals with extra profile fields automatically. I'm pretty sure this wouldn't be too difficult to do.
kk .... thanx alot bro ... will be looking forward to the solution :D
Eh? Why am I getting the wrong image of memberlist?
Clear your browser cache and force a refresh. Standard operating procedure after any css or image changes. ;)
Quote from: Antechinus on February 04, 2010, 05:14:53 PM
Clear your browser cache and force a refresh. Standard operating procedure after any css or image changes. ;)
Weird it works now thank, will report any further issue.
Quote from: Antechinus on February 03, 2010, 03:56:37 PM
Ok I can see what the problem is. It's the additional profile fields messing up the header bar. I'll have a look through the code tonight when I have more time and come up with a solution. One thing to be aware of is that the rounded header bars in Curve are fixed for height. Your Thanks mod has very long text strings and these are going to break the rounded header bar (which is why you can see that other parts of the main_block.png image on that page). To get it to work you will probably have to change that bar to a solid, square-cornered bar.
I should probably recode this mod so that it deals with extra profile fields automatically. I'm pretty sure this wouldn't be too difficult to do.
bump ** any update
Nice mod. Thanks! . ;)
But the problem is, it's all messed up in my forum.
Please take a look : http://www.mysembang.net/v10/index.php?action=mlist
I also provide the screenshot and index.css.
Please help :( . Thanks in advance :)
Okay already modify it. Now got it all aligned. Thanks ;)
But if I want to remove the package, seems like an error coming out. Something to do with index.css. How to solve this?
I'll update this mod when RC3 is available but until then I am not doing any updates or support. You can probably guess why and I am busy with other things. Sorry about that.
Antechinus,
I know you don't plan on updating this mod soon, but wanted to pass on an issue I have on my alumni forum. The Admin wants to put whole names in the user profiles, including maiden names of the women members, which makes for some really long names. The problem is, the avatar image doesn't move with the username. If possible, could you incorporate that feature into the update so the avatars will float if the username is so long it wraps to the next line?
Thanks. Appreciate ya!
Yeah I can probably do that. The thing is that due to the way Curve handles lists I had to use some fixed positioning for a lot of the block elements. You can add extra height for the names by adjusting the css, which should allow them to wrap to a second line. Mind you my css skills have improved since I coed this so I should be able to think up a few more tricks.
All the blocks have to be the same height regardless of content or the list looks like crap, so you can't have them expanding and contracting in height based on content.
Ok it installs and works on RC3 now. That's all I've done for the moment. My enthusiasm currently extends no further than that.
Nivlac, if you want extra height you can get it with minor manual changes to css and images. Let me know exactly how much height you want and exactly where you want it and I'll tell you how to get it.
Thanks for the update, Antechinus :)
Antechinus, I figured it'd be easier if you see what I'm talking about so I've attached an actual size cropped screenshot of one of the member blocks. As you can see, the text is a little over double spaced and wraps under the avatar. Ideally, it should be no more than 1.5 spaced but I think single spaced would be the best. Maybe if the avatar was dead center of the block it would allow for a double or even triple row of single spaced text at the top.
Thanks
Love the mod Antechinus does away with the boring plain memberlists.
However I have an error.
Apply Filter: Only show the error messages of this URL
http://xxxxxxxx/index.php?action=mlist
Apply Filter: Only show the errors with the same message
The database value you're trying to insert does not exist: sort
Function: MLAll
Apply Filter: Only show the errors from this file
File: xxxxxxxxxxxxxxx/Sources/Memberlist.php
Line: 294
283:
// Select the members from the database.
284:
$request = $smcFunc['db_query']('', '
285:
SELECT mem.id_member
286:
FROM {db_prefix}members AS mem' . ($_REQUEST['sort'] === 'is_online' ? '
287:
LEFT JOIN {db_prefix}log_online AS lo ON (lo.id_member = mem.id_member)' : '') . ($_REQUEST['sort'] === 'id_group' ? '
288:
LEFT JOIN {db_prefix}membergroups AS mg ON (mg.id_group = CASE WHEN mem.id_group = {int:regular_id_group} THEN mem.id_post_group ELSE mem.id_group END)' : '') . '
289:
WHERE mem.is_activated = {int:is_activated}' . (empty($where) ? '' : '
290:
AND ' . $where) . '
291:
ORDER BY {raw:sort}
292:
LIMIT ' . $limit . ', ' . $modSettings['defaultMaxMembers'],
293:
$query_parameters
==>294:
);
295:
printMemberListRows($request);
296:
$smcFunc['db_free_result']($request);
297:
298:
// Add anchors at the start of each letter.
I have no idea what is causing that since this mod does not search for or replace that code. It installs and works without errors on my test site.
It may be a conflict with something else you have installed. What else have you got?
Nivlac, make these changes to the css. I am assuming from your screenshot that your site restricts avatars to 100px in height.
Find:
.mlist_header
{
height: 38px;
line-height: 38px;
}
.mlist_header a
{
width: 145px;
font-size: 1.1em;
font-weight: bold;
overflow: hidden;
}
.mlist_avatar
{
height: 156px;
overflow: hidden;
}
.mlist_avatar a
{
height: 150px;
width: 125px;
overflow: hidden;
}
.mlist_group, .mlist_details, .mlist_icons
{
overflow: hidden;
color: #334466;
line-height: 16px;
}
Replace with:
.mlist_header
{
padding-top:10px;
line-height: 18px;
position:relative;
top:10px;
}
.mlist_header a
{
width: 145px;
font-size: 1.1em;
font-weight: bold;
}
.mlist_avatar
{
height: 106px;
overflow: hidden;
position:relative;
top:46px;
}
.mlist_avatar a
{
height: 100px;
width: 125px;
overflow: hidden;
}
.mlist_group, .mlist_details, .mlist_icons
{
overflow: hidden;
color: #334466;
line-height: 16px;
position:relative;
top:50px;
}
That should work in all browsers once you clear your cache and force a refresh. It will allow you four lines of text above a 100px high avatar.
Antechinus, yes I have avatars restricted to 100px in height. I'll try your fix later this evening, but dinner is calling right now. Thanks, I appreciate it.
EDIT:
Okay, I couldn't wait and ended up doing it before dinner. It works! Yee ha! Thanks, you code guru you.
Also I have a little problen,,, my avatars will not resize and the larger avatars stay the same size...
Pic?
Why would avatar resizing be a problem with the mod? Surely you should take care of that in your admin settings?
Quote from: sid2varun on February 16, 2010, 03:42:39 AM
Quote from: Antechinus on February 03, 2010, 03:56:37 PM
Ok I can see what the problem is. It's the additional profile fields messing up the header bar. I'll have a look through the code tonight when I have more time and come up with a solution. One thing to be aware of is that the rounded header bars in Curve are fixed for height. Your Thanks mod has very long text strings and these are going to break the rounded header bar (which is why you can see that other parts of the main_block.png image on that page). To get it to work you will probably have to change that bar to a solid, square-cornered bar.
I should probably recode this mod so that it deals with extra profile fields automatically. I'm pretty sure this wouldn't be too difficult to do.
bump ** any update
Ok dude, you're in luck. ;D
xnathansxdadx, you're in luck too. Buy a lottery ticket. :P
I've made another version of the mod.
The new one is the 2.0.4 (Dynamic_Memberlist_RC3alt.zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=1718;id=138186))
This latest version has been recoded so that:
1/ the sorting options will now stack cleanly to another line if there are extra custom options and/or if the screen is very narrow.
This was a problem for some people who had other mods that added extra fields to the array in Sources/Memberlist.php.
2/ all inline css has been removed so more styling changes can be made without touching the template.
3/ apart from the actual search form, this version is completely tableless.
4/ oversized avatars will not overflow the blocks any more (although you should really sort the sizing in admin).
This version has been tested in IE6, IE7, IE8, Safari 4, Chrome 4.1, Opera 10.5, Firefox 2 and Firefox 3.6.
Screenshot on the download page shows an oversize avatar (the green one) being cropped to fit and also shows the new sorting menu arrangement.
You can still use the older version (2.0.3 Dynamic_Memberlist_RC3.zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=1718;id=137838)) if you prefer the look of that one. It still works.
Ok, just for the hell of it I ported this mod to 1.1.x. ;D
Well actually I still use 1.1.x myself and decided to tart the site up a bit, so I had to port the thing hey.
The zip for the 1.1.x version is called (wait for it........) Dynamic_Memberlist_11x.zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=1718;id=138259)
Hopefully people will not get confused and try to install the wrong one for their version of SMF. We can live in hope. :P
Oh and I nicked some of the css out of Curve so the 1.1.x version has a nice roundy header bar too if you're into that sort of thing.
If you want an old style square one just play with the css a bit. ;)
Quote from: Antechinus on March 18, 2010, 09:17:04 PM
Hopefully people will not get confused and try to install the wrong one for their version of SMF. We can live in hope. :P
Well, unlike with themes, mods do do a version check before trying to install... so they'll get a 'not compatible' warning and have to manually work around that to actually get it to install. But still... live in hope.
I get:
QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Am using RC3 and curve theme.
Quote from: Skhilled on March 27, 2010, 04:05:20 AM
I get:
QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Am using RC3 and curve theme.
Er have ya tried the advanced? The emulate version.
Are you sure you downloaded the right zip? One of them is only for SMF 1.1.x.
Crap! Yes, I did! LOL
Was late and doing too many things at once. Should have went to bed a few hours before then. :P
KOOOOOOOL ;)
Hi !
Just wanted to say I have installed your mod, excuse the shouting, ;) ...................
It's Awesome !
Lovely Mod big Thanx
German Translate
<file name="$themedir/languages/Modifications.german.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
/* Dynamic Memberlist mod */
$txt['joined'] = 'Registriert';
$txt['last_active'] = 'Letzter Besuch';
/* End Dynamic Memberlist mod */]]></add>
</operation>
</file><file name="$themedir/languages/Modifications.german-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
/* Dynamic Memberlist mod */
$txt['joined'] = 'Registriert';
$txt['last_active'] = 'Letzter Besuch';
/* End Dynamic Memberlist mod */]]></add>
</operation>
</file>
Thanks. I'll add the translation when I do the next update. :)
Antechinus, if you'll pardon a tedious question... :)
Way back in days of yore, you helped me to achieve a color sampler for the Default theme (SMF 1.1.11). It consists of a pull-down menu in the collapsible header:
(http://whereitestmystuff.com/images/Change.jpg)
In the Default images folder are separate image folders for each color choice. An example of a folder would be colpink. The images in that folder are present when someone chooses that theme. (They are all "default", but variations on the default theme.)
Right now, if someone has chosen colpink as their color choice, this mod's images look like this:
(http://whereitestmystuff.com/images/dmcolors.jpg)
I've tinted your images: dm_bar.png, memberlist_bg.png and memberlist_buttons.png to match each color choice and placed them in their respective folders. Is there any way to adjust a code somewhere that will point to the images in their folders, rather than just default/images?
(If any of that made sense.) :D
Yes it makes perfect sense. :) A solution for that wont be difficult. Basically what you need to do is copy the relevant part of style.css to all the secondary css files for each variant. Then you have to change the image calls and colour codes to suit. So for example you'd change this:
/* The blue rounded header bar */
#mlist_form h3.catbg, #mlist_wrapper h3.catbg{
overflow:hidden; height:31px; line-height:32px; font-weight:bold; border-bottom:none;
background:url(images/dm_bar.png) no-repeat 100% 0; padding:0 9px 0 0; margin:0;
}
to this in style_colpink.css
/* The blue rounded header bar */
#mlist_form h3.catbg, #mlist_wrapper h3.catbg{
overflow:hidden; height:31px; line-height:32px; font-weight:bold; border-bottom:none;
background:url(images/colpink/dm_bar.png) no-repeat 100% 0; padding:0 9px 0 0; margin:0;
}
Perfect! :D
Thanks so much; you've saved my butt with this forum stuff many times and I appreciate it. :)
Great Mod! Thankyou!
Any chance of adding a Sort function for Karma in this memberlist Mod? Where you can list members according to their Karma stats?
It's possible but I have no interest in adding it.
ermmm... ok. Thanks for that.
how to use default avatar mod with this mod?
Quote from: zolee on September 03, 2010, 10:23:46 AM
how to use default avatar mod with this mod?
could try another default avatar mod http://arantormods.com/index.php?action=media;sa=item;in=8
Quote from: zolee on September 03, 2010, 10:23:46 AM
how to use default avatar mod with this mod?
I use a default avatar with it but can't remember how I set it up. I'll take a look at the code as soon as I get time.
How can i sort the most recent user as first by default when clicking the memberlist ?
Haven't bothered to look into that. I just used the standard SMF code for most of this mod. It's mainly just a presentation mod with very little change in functionality.
I just found this mod and it is great. Thanks Antechinus (and Nas too) for this great mod.
not working with rc4 out of the box, any chance for update?
Will take a look at it.
RC4 version is up. Added RTL support for all browsers other than IE. If you really want to use IE with an RTL language stick to the standard memberlist for now (or until Microsoft get their heads out of their butts).
Just installed on a pretty clean version of RC4. (I've had this on all my other forums w/o any problems as well.)
There were no failed tests, but displayed incorrectly. Instead of going from member A to member B from left to right, it went down, so each member was on its own row going across with nothing in the blank spaces. I installed the mod marked RC4 (2.0.4), but it appears in Browse Packages as 2.0.5. Regardless, here's the screen shot to tell you a little better the problem...
I cleared the cache like 3 times as well, but nothing.
Oh yeah, I use your Chocolate Curvaceous theme that someone updated in another thread for RC4.
And as an aside,
If anyone is using Chocolate Curvaceous, I've attached newer PNG images so you can replace the ones that came in the mod package.
(It just looks nicer for this theme.)
I have had the same thing happen on a couple of curve derivative themes before. In both cases, for some odd reason, the css edits to the theme's index.css was not completed. I made the edits manually and the theme's memberlist displayed properly. Check to see if the required edits are there.
That would be the reason. :)
Will look at it in the AM. Thanks!
Update:
I checked the edits and all the edits are done correctly. (I've attached the files here in case someone can see something I missed.)
I cleared the cache on the forum through the Maintenance > Forum Maintenance > Routine
I even cleared the cache on my browser. (FireFox 3.6.12)
Still no change in the Memberlist area.
The only thing that I changed was the images and I used the same dimensions that were in the original.
Anything else?
It's defintely a css problem because this is the same as what happens when you don't clear the cache. The floats aren't being applied to the blocks. I noticed that you have the css edits partially copied a second time in index.css. I suspect you've made a mistake there.
This is why you should not Drink and Edit!
I have no freaking clue why or how I had it in there a second time. I think when I was comparing my RC3 file to my RC4 file I must have paste into the wrong file and uploaded or something. I am going out for a mocha now, thanks! All is well.
I have done the same before. I often open two files side by side and edit. One is on the hard drive and one on the server. I do the edits simultaneously, and have been known to paste twice in one file. :)
Updated for 2.0 final. Also added support for english-utf8, english_british, english_british-uft8 and turkish-utf8.
I get this error when trying to install: Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.
Never seen that one before. Can you install other mods?
Quote from: Antechinus on June 14, 2011, 06:04:00 AM
Never seen that one before. Can you install other mods?
I've installed 24 other mods.
If anyone is using the theme Flagrantly, these may help blend the mod with the theme.
Quote from: Xarcell on June 13, 2011, 07:52:47 PM
I get this error when trying to install: Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.
That is what google chrome is doing, but here is some more information:
QuoteThis webpage has a redirect loop
The webpage at http://xxxxxx.com/index.php?action=admin;area=packages;sa=install;package=Dynamic_Memberlist_2_0.zip has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Here are some suggestions:
Reload this web page later.
Learn more about this problem.
Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.
Here is what FireFox says
QuoteThe page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies.
I have cleared all cookies and browsing data, including using multiple browsers. I still get this error. I also tried installing it on 3 different sites, all after an RC5 upgrade. I also tried clearing forum cache, browser hard refresh, and checked for errors(forum admin).
I'm all out of ideas.
It also gives this error with social groups mod, but worked fine before the Gold upgrade. So at first I thought it was 2.0 Gold compatible mods causing the problem, because RC5 mods installed fine with the emulator. However, I recently installed the downloads mod just fine and it is 2.0 gold compatible.
Ok, it's odd but the only thing I can think of offhand is the edits for 6 languages files. They skip if the file is not present. Usually this doesn't present any problems, but I suppose it is possible that this would be read as "too many redirects".
I assume the social groups mod is this one: http://custom.simplemachines.org/mods/index.php?mod=2671 (http://custom.simplemachines.org/mods/index.php?mod=2671)
That contains edits for 8 languages files, so maybe both mods have the same problem. If so, this might be an interesting bug with the SMF package manager.
Add the attached file to the zip and see if that sorts it out.
Quote from: C4G-TK on June 14, 2011, 03:44:39 PMIf anyone is using the theme Flagrantly, these may help blend the mod with the theme.
Thanks. Linked from the OP.
Quote from: Antechinus on June 14, 2011, 07:36:25 PM
Quote from: C4G-TK on June 14, 2011, 03:44:39 PMIf anyone is using the theme Flagrantly, these may help blend the mod with the theme.
Thanks. Linked from the OP.
Check your link. The redirect isn't correct.
This is what shows when I click on it:
http://http//www.simplemachines.org/community/index.php?topic=299980.msg3074985#msg3074985
Too many http!
Quote from: Antechinus on June 14, 2011, 07:32:52 PM
Ok, it's odd but the only thing I can think of offhand is the edits for 6 languages files. They skip if the file is not present. Usually this doesn't present any problems, but I suppose it is possible that this would be read as "too many redirects".
I assume the social groups mod is this one: http://custom.simplemachines.org/mods/index.php?mod=2671 (http://custom.simplemachines.org/mods/index.php?mod=2671)
That contains edits for 8 languages files, so maybe both mods have the same problem. If so, this might be an interesting bug with the SMF package manager.
Add the attached file to the zip and see if that sorts it out.
No, still having the same problem. I unzipped the package, replaced the file you attached, re-zipped. When I upload and try to install, I still get the same error.
I even modified the package-info to install on 2.0RC5 and emulated that in the advanced options of the package manager. Still the same problem.
Well that's weird, because it doesn't have any redirects in it. I'll have to think about this one.
Xarcell, I'll set up a vanilla 2.0 test site and see if I can reproduce your problem. I've only tested the new version of the mod on local host so far, as the changes were minor.
If you want the memberlist running asap, just install manually. You don't even have to bother with the Sources/Memberlist.php edits. The only things actually required are the edits to Memberlist.template.php, Modifications.english.php, and index.css, along with a suitable member block image for your theme.
The edits to Memberlist.template.php just comment out the existing file and add a complete new template. If you grab that huge wodge of code from the xml, put php tags in front of it and after it, and save that as Memberlist.template.php it will work.
The edits to index.css just get pasted on the end of the file in one block of code. Ditto for the language strings in Modifications.english.php. No fussing around required.
Quote from: Antechinus on June 15, 2011, 10:10:37 PM
Well that's weird, because it doesn't have any redirects in it. I'll have to think about this one.
Xarcell, I'll set up a vanilla 2.0 test site and see if I can reproduce your problem. I've only tested the new version of the mod on local host so far, as the changes were minor.
If you want the memberlist running asap, just install manually. You don't even have to bother with the Sources/Memberlist.php edits. The only things actually required are the edits to Memberlist.template.php, Modifications.english.php, and index.css, along with a suitable member block image for your theme.
The edits to Memberlist.template.php just comment out the existing file and add a complete new template. If you grab that huge wodge of code from the xml, put php tags in front of it and after it, and save that as Memberlist.template.php it will work.
The edits to index.css just get pasted on the end of the file in one block of code. Ditto for the language strings in Modifications.english.php. No fussing around required.
Thanks Antechinus. I think I'll end up doing that. I can't help but wonder though, if it's a SMF2.0Gold issue. I will continue to investigate and get back to you find I find anything.
Hi there I have a problem uninstalling this on memberlist.php on SMF rc3
Can somebody uninstall it for me...
Quote from: Xarcell on June 15, 2011, 09:19:57 PM
Quote from: Antechinus on June 14, 2011, 07:32:52 PM
Ok, it's odd but the only thing I can think of offhand is the edits for 6 languages files. They skip if the file is not present. Usually this doesn't present any problems, but I suppose it is possible that this would be read as "too many redirects".
I assume the social groups mod is this one: http://custom.simplemachines.org/mods/index.php?mod=2671 (http://custom.simplemachines.org/mods/index.php?mod=2671)
That contains edits for 8 languages files, so maybe both mods have the same problem. If so, this might be an interesting bug with the SMF package manager.
Add the attached file to the zip and see if that sorts it out.
No, still having the same problem. I unzipped the package, replaced the file you attached, re-zipped. When I upload and try to install, I still get the same error.
I even modified the package-info to install on 2.0RC5 and emulated that in the advanced options of the package manager. Still the same problem.
I found the solution to this problem. I fixed I would come back and let you know in case anyone else has this issue. Even though this mod doesn't actually cause this error, it only happens to certain mods(I think those with a redirect text page in them).
Anyway, SimpleSEF is causing the issue. In order to get around the redirect issue, disable SimpleSEF(no need to uninstall), and clear browser cookies. That's it. Problem solved. You can then re-enable SimpleSEF...
Ok, that's interesting. Thanks.
Hi I would like more information about this mod. Basically, I'm looking for a mod that will allow me to choose specific member groups to display on the members list, all on one page, not on separate group 'tabs' or 'links'. I want the groups to display in the order I specify (i.e. Generals, Captains, Privates, Recruits...etc). Furthermore, I would like to add custom profile fields to my members list.
Does this mod support this?
Nope.
Hey, this modification isn't working with SMF version 2.0.2. Its a fresh installation of the forum with an edited version of the default theme.
These are the errors I get.
Installations actions for "Dynamic_Memberlist"
1. Execute Modification ./Sources/Memberlist.php Test failed
1. Replace ./Sources/Memberlist.php Test successful
2. Replace ./Sources/Memberlist.php Test failed
Install in Other Themes
Execute Modification ./Themes/core/css/rtl.css Test failed
1. Add After ./Themes/core/css/rtl.css Test failed
Quote from: archvillainxx on April 06, 2012, 02:53:33 PM
Hey, this modification isn't working with SMF version 2.0.2. Its a fresh installation of the forum with an edited version of the default theme.
These are the errors I get.
Installations actions for "Dynamic_Memberlist"
1. Execute Modification ./Sources/Memberlist.php Test failed
1. Replace ./Sources/Memberlist.php Test successful
2. Replace ./Sources/Memberlist.php Test failed
Install in Other Themes
Execute Modification ./Themes/core/css/rtl.css Test failed
1. Add After ./Themes/core/css/rtl.css Test failed
This mod is one of the best there is.
Unless you intend to use the Core theme then I would ignore these.
Have a look at the parser which you can find at the location where you downloaded the mod.
The file edits can be found there.
I'll take a look at it on a vanilla 2.0.2, just in case. Been a while since I checked it, but it should still work. The failed edits are most likely due to some other mod that affects the memberlist.
Fantastic mod i have this working on my test forum which is 2.0.5 but a slight problem below.
I am using the blackstorm theme and the look of the memberlist doesn't look right i have included a photo below to show you what i mean. Do i have to visit /Themes/Blackstorm/css and edit the index.css file to change the style if so what part would i edited unless i need to edit something else.
Cheers.
It's ok i figured it out just needed to modify some of the images in the blackstorm/images folder :)
I have come across one more problem everything works well on smf 2.0.5 but the only problem is when i click on Last Active i am greeted with.
An Error Has Occurred!
"The database value you're trying to insert does not exist: sort"
i am unsure what this means or how to solve it any help would be great Thanks :)
I suppose I should re-code it to not use images for the backgrounds. They're not really needed these days (unless you want rounded corners in old versions of IE).
I'll take a look at the sorting thing, but am rather busy at the moment so probably wont update the mod for a while.
QuoteI have come across one more problem everything works well on smf 2.0.5 but the only problem is when i click on Last Active i am greeted with.
An Error Has Occurred!
"The database value you're trying to insert does not exist: sort"
i am unsure what this means or how to solve it any help would be great Thanks
Same problem, somebody can help with that issue ?
Ok, have updated the zip on the download page, to fix the error with the "Last Active" sorting option. This is a temporary fix just to get rid of the error.
The new zip installs and works with 2.0.7. Nobody is running anything earlier than 2.0.7, right? :D
I'm currently revamping all the CSS (including some more responsive stuff) and getting rid of the images too (will use CSS3 instead). Will upload the improved version once it's sorted.
Been playing with this a bit. Have it basically running, with use of CSS3 (ie: no images) and with improved markup. Has basic responsiveness for phone-sized screens, and letter sorting links are a more appropriate size for fingers, without looking stupid on desktop. Still needs some work (RTL support, default colours, some detailing, etc) but shouldn't take that long to finish.
Ok, finally got around to doing an update, which is more of a complete rewrite. Not sure if it will be submitted as a complete new mod that will deprecate this one, or just be done as a new version of the same mod. Depends what the infamous Purple Peeps think.
Anyway, the new version will also handle the who's online list, and the buddies and ignore lists, as well as the usual member list. Has RTL support, no custom images required (all CSS), buttons sized to be usable on touchscreen, auto resizing of avatars, and compatibility with Dougiefresh's Quick Buddies mod.
I won't go overboard on responsive since the whole thing is basically responsive anyway, and the 2.0.x default theme isn't. People can add customised responsive tweaks if they want them.
It's basically sorted already. Just needs a bit more cleaning up here and there, to simplify the CSS slightly, and then the install/uninstall XML written and tested.
Well SMF is getting a re-write and is still called SMF...this IS a dynamic memberlist still just a really awesome update! So I would still have it as a new version of this :D.
Hokay Jadeykinz, I now haz one zippy ready for borking your test site.
:D *does happy dance* :D
I have tested it pretty well already, but have a go and see if I've missed anything.
I have empty find and replaces on the themes CSS files lol
Well you must have played around with your CSS. :D
Nah it was a bloody big blonde moment where I forgot to clear my cache! :-[ Oops! ha ha
Ok, latest version is on the mod site now. Made a couple of tweaks based on grumbling from Jade. Expect she will still find something to grumble about. :D
Woohoo! Changes and a challenge >:D
Quote from: Antechinus on August 30, 2015, 07:10:42 PM
Ok, latest version is on the mod site now. Made a couple of tweaks based on grumbling from Jade. Expect she will still find something to grumble about. :D
Great mod, just tried it out. Looks fantastic on the default theme, but not so good on dark themes, that would be my only grumble if I was into grumbling. :)
Edit: That said, it looks great in your dark theme in the image above. So perhaps it's just my setup, apologies if it is.
That's because when I coded it up originally I was using all the dark theme's CSS, so that's what you see in the early screenshots. Obviously I can't code the actual mod to tell if(context['theme']['is_el_darko']) {make CSS all different} so for the mod istself everyone just gets the basic colours that suit the 2.0.x default theme.
Yes, these would look like total rubbish on dark themes, and probably on most light themes too. Given there are so many of both around, I don't really want to get into providing the best palettes for all of them. :)
I suppose I could whip up a couple of alternatives for my old dark Curve variants, just to give people ideas.
Hmm, ok here's a plan. Special offer this week. Pick two other light themes and three dark themes. I'll take the first five suggestions from anyone, and I'll give you CSS for all five. That should give enough examples so just about anyone can deal with it.
Bloc' studio003 (dark)
CSS:
/* ----------------------------------- */
/* CSS for the Dynamic Memberlist mod. */
/* ----------------------------------- */
#mlist_wrapper {
overflow: auto;
}
#mlist_form .catbg a, #mlist_wrapper .catbg a {
margin: 0 6px;
display: inline-block;
white-space: nowrap;
}
#who_list .catbg a {
display: inline-block;
white-space: nowrap;
}
/* Memberlist search page. */
#mlist_form>.roundframe {
padding: 16px 8px 8px 8px;
text-align: center;
border: 1px solid #222;
}
#mlist_form>.roundframe>label {
padding-left: 8px;
}
#mlist_form #search {
width: 230px;
margin: -1px 6px 0 6px;
border: none;
background: none;
}
#mlist_form #submit {
margin: 0 6px;
}
#mlist_form .reset {
max-width: 32em;
margin: 12px auto;
}
#mlist_form .reset li {
width: 45%;
margin: 3px -0.15em;
display: inline-block;
text-align: initial;
}
#mlist_form label {
padding: 1px 8px 3px 3px;
}
#mlist_form .input_check {
opacity: 0.7;
margin-top: 0;
}
#mlist_form input_check:focus {
opacity: 1;
}
#mlist_form .reset li:nth-child(3) {
width: 90.1%;
}
/* The main memberlist page. */
/* Pages, letters and sorting links. */
#mlist_wrapper .pagelinks {
margin: 0 6px;
}
#mlist_letters {
padding: 4px;
text-align: right;
border-top: 1px solid #222;
}
#mlist_letters a:link, #mlist_letters a:visited {
width: 1.6em;
margin-top: 4px;
padding: 4px;
display: inline-block;
background: #181818;
text-align: center;
border: 1px solid #222;
}
#mlist_letters a:hover {
background: #0f0f0f;
text-decoration: none;
border: 1px solid #1e1e1e;
}
#mlist_sort_links {
margin: 0;
padding: 4px;
border-top: 1px solid #222;
border-bottom: 1px solid #222;
}
#mlist_sort_links>li {
margin: 2px 0;
display: inline-block;
}
#mlist_sort_links a:link, #mlist_sort_links a:visited {
padding: 4px 9px;
display: block;
background: #181818;
white-space: nowrap;
border: 1px solid #222;
}
#mlist_sort_links a:hover {
background: #0f0f0f;
text-decoration: none;
border: 1px solid #1e1e1e;
}
/* Start of the actual member blocks */
#blocksbox {
margin: 0;
padding: 6px 0;
}
.member_block {
margin: 4px 2px;
padding: 1px;
display: inline-block;
background: #222;
text-align: center;
}
.member_block .reset {
/* Sets the overall width of the blocks. */
width: 155px;
background: #181818;
padding-bottom: 6px;
}
.member_block li {
padding: 0 4px;
}
.member_block h4>a {
padding: 5px 0 3px 0;
display: block;
overflow: hidden;
font-size: 1.1em;
white-space: nowrap;
text-overflow: ellipsis;
}
.avatar_block {
/* Make this slightly taller than maximum avatar height. */
height: 125px;
}
.avatar_block .offline_avatar {
opacity: 0.5;
}
.avatar_block .avatar {
width: auto;
height: auto;
/* Adjust these to suit preferred maximum avatar size. */
max-width: 120px;
max-height: 120px;
}
.member_block .who_action {
height: 3em;
overflow: hidden;
text-overflow: ellipsis;
}
.member_block .im_icons {
min-height: 24px;
max-height: 24px;
}
.member_block .im_icons img {
vertical-align: middle;
}
/* ----------------------------------- */
/* End CSS for Dynamic Memberlist mod. */
/* ----------------------------------- */
Screenshot attached. Depending on how many icons you have displayed at the bottom of each block, you may want to increase the width slightly. I notice Bloc's icons are a bit larger than the defaults.
looking good on Studio003!
As indicated in the Quick Buddies mod thread, I've made that mod compatible with this mod. However, in doing so, I noticed that you commented out the original memberlist template and added your own template function to replace it. My suggestion would be to create a new template file and copy that template file to the themes, then modify the source file to load that template file. You would need to alter the function name so that there isn't a conflict with the original template function, though....
Anyway, awesome mod! Looking forward to using it on my own site!
I like just commenting it out. Saves loading extra files, and has the same effect. Commenting is bulletproof for install/uninstall 99% of the time. :)
(you're talking to a bloke who has specialised in hacking templates ;))
And that's fine, too.... It's just a suggestion, after all :P
Quote from: Antechinus on August 31, 2015, 05:02:21 PM
Hmm, ok here's a plan. Special offer this week. Pick two other light themes and three dark themes. I'll take the first five suggestions from anyone, and I'll give you CSS for all five. That should give enough examples so just about anyone can deal with it.
Reseller! :D
Can you make it have borders like the boardindex has? :D
Isn't Reseller a paid theme? Any suggestions will have to be themes I can just grab for free and install on my local. Or, if you've bought the thing, give me live access to a test site running it. I don't want the theme myself, so aint paying for it. :)
ETA: Ok, so it's free. Took a look at it.
Ok, here ya go. Not many changes required. Good basic start. Tweak it to suit yourself.
/* CSS for the Dynamic Memberlist mod. */
/* ----------------------------------- */
#mlist_wrapper {
overflow: auto;
}
#mlist_form .catbg a, #mlist_wrapper .catbg a {
margin: 0 6px;
display: inline-block;
white-space: nowrap;
}
#who_list .catbg a {
display: inline-block;
white-space: nowrap;
}
/* Memberlist search page. */
#mlist_form>.roundframe {
padding: 8px;
text-align: center;
border: 1px solid #c8c8c8;
border-radius: 7px;
}
#mlist_form #search {
width: 230px;
margin: 9px 6px 0 6px;
}
#mlist_form #submit {
margin: 9px 6px 0 6px;
}
#mlist_form .reset {
max-width: 34em;
margin: 12px auto;
}
#mlist_form .reset li {
width: 45%;
margin: 3px -0.15em;
display: inline-block;
text-align: initial;
}
#mlist_form .reset li:nth-child(3) {
width: 90.15%;
}
/* The main memberlist page. */
/* Pages, letters and sorting links. */
#mlist_wrapper .pagesection {
margin: 0;
padding: 0;
}
#mlist_wrapper .pagelinks {
margin: 3px;
}
#mlist_letters {
padding: 4px;
text-align: right;
}
#mlist_letters a:link, #mlist_letters a:visited {
padding: 4px 9px;
display: inline-block;
background: #f5f5f5;
text-align: center;
border: 1px solid #e4e4e4;
}
#mlist_letters a:hover {
background: #2ecc71;
color: #fff;
text-decoration: none;
}
#mlist_sort_links {
margin: 0;
padding: 4px;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
#mlist_sort_links>li {
margin: 2px 0;
display: inline-block;
}
#mlist_sort_links a:link, #mlist_sort_links a:visited {
padding: 4px 9px;
display: block;
background: #425d78;
color: #fff;
font-size: 0.929em;
white-space: nowrap;
border-radius: 4px;
}
#mlist_sort_links a:hover {
background: #2ecc71;
text-decoration: none;
}
/* Start of the actual member blocks */
#blocksbox {
margin: 0;
padding: 6px 0;
}
#mlist_wrapper #blocksbox {
border-bottom: 1px solid #ccc;
}
.member_block {
margin: 4px 2px;
padding: 7px;
display: inline-block;
background: #fff;
text-align: center;
border-radius: 3px;
}
.member_block .reset {
/* Sets the overall width of the blocks. */
width: 155px;
background: #f5f5f5;
border: 1px solid #e4e4e4;
}
.member_block li {
padding: 0 4px;
}
.member_block h4>a {
padding: 5px 0 1px 0;
display: block;
overflow: hidden;
font-size: 1.1em;
color: #34495e;
white-space: nowrap;
text-overflow: ellipsis;
}
.avatar_block {
/* Make this slightly taller than maximum avatar height. */
height: 125px;
}
.avatar_block .offline_avatar {
opacity: 0.7;
}
.avatar_block .avatar {
width: auto;
height: auto;
/* Adjust these to suit preferred maximum avatar size. */
max-width: 120px;
max-height: 120px;
}
.member_block .who_action {
height: 3em;
overflow: hidden;
text-overflow: ellipsis;
}
.member_block .im_icons {
min-height: 24px;
max-height: 24px;
}
.member_block .im_icons img {
vertical-align: middle;
}
/* ----------------------------------- */
/* End CSS for Dynamic Memberlist mod. */
/* ----------------------------------- */
Come to think of it, I should alter the mod's template to add a selected class for the sorting option buttons. That'd give some more possibilities for styling.
/me likes extra styling possibilities
Mine are wonky, even when I set them to the same min-height :'(
Im testing it right now in my forum. It looks pretty well.
Nice work.
Quote from: Jade Elizabeth on September 05, 2015, 08:59:52 AM
Mine are wonky, even when I set them to the same min-height :'(
Yes, Jade. Which ones are wonky? The ones with two lines of text in the membergroup field. I did mention your incredibly long member group names breaking to two lines of text were what was causing that the other night, when you first installed the mod on your test site. It had never occurred to me that anyone would use member group names that long. There are four things you can do about it.
1/ Use a sensible name for the group. I'm not sure you really need ones called "Oh great, I'm in the long ranks" and "Not sure why I'm still here..."
2/ Set all blocks to have a double height on that li. Using .member_block .membergroup {min-height: 3em;} or thereabouts should do it.
3/ Use white-space: nowrap; and text-overflow: ellipsis; to stop the text breaking to two lines.
4/ Use smaller text in that field, so it fits on one line. Using .member_block .membergroup {font-size: 0.8em;} or whatever, for example.
Oh yeah, you could also:
5/ Use overflow: auto; on that li, just to make it really ugly. :D
6/ Use custom coding to call membergroup badges of a standard size, instead of text.
Given that it's Sunday morning and I'm just into my first cup of coffee, I'm sure there are other options too. :)
The point is that it's not a bug in the mod, as such. It's something specific to your site, that you will have to think of a solution for if you wish to use group names that long.
Does anyone use this mod along with the @mention member mod (http://custom.simplemachines.org/mods/index.php?mod=3860) without any problem? I have installed both in my forum(smf2.0.11 with customized curve theme) but the mention mod does not work properly. I just thought that the issue might be because of a conflict between these two mods. Unfortunately, I do not remember which one has been installed first.
I never tested this with the mentions mod. It's probably not hard to get it working, since I imagine it would only take a simple insertion into the memberlist template. Ask the author of that mod about it.
How can I customize, I can't seem to find the information or do it myself
I don't know how can I complete that successfully by myself.
Quote from: H0MiCiDE on July 12, 2017, 07:19:30 AM
How can I customize, I can't seem to find the information or do it myself
can anyone help me with this? still trying to achieve custom results!
more useful if you said how you want to customise it ....
Quote from: BryanD on July 13, 2017, 01:35:16 PM
more useful if you said how you want to customise it ....
change the color of the member block
still looking for a resolution, can someone help me out :)
All we know is you want to change the colour of something. Might be useful if you said what you wanted to change it to.
Also please note that we aren't mind readers and can't just know what you want it to do without you telling us...
I feel like a mind reader most of the time in IT... from sales people to clients people give me a couple words and need to figure out or has me ask for more information which they should have provided in the first place instead of having to go back and forth wasting time.
Funny fact when I built a support system I decided to try to force people enter a minimum number of words to force people to explain more... people ended just putting in jibberish after there couple word reply ending up having to scrap that idea.
Quote from: Arantor on July 18, 2017, 08:56:52 AM
All we know is you want to change the colour of something. Might be useful if you said what you wanted to change it to.
Also please note that we aren't mind readers and can't just know what you want it to do without you telling us...
How much more information can I give, I've already described it to the best of my ability. I remember before that a memberblock image was included with the download but now it's no longer available. I am trying to change the color of the
memberblock to a darker color to better fit the theme.
There are 16,777,216 possible colours. More guidance than "darker" is kind of needed. And that's before we get into whether it's a gradient between colours.
Quote from: Arantor on July 19, 2017, 08:45:29 AM
There are 16,777,216 possible colours. More guidance than "darker" is kind of needed. And that's before we get into whether it's a gradient between colours.
Forget about what color I want, I just want to know how can I change it to any color. As stateed before the mod used to come with a memberblock image that would change the color when you replaced it with the image in the package now it's no longer included, all I'm trying to do is figure out how to change the color doesn't matter which color for now just want to know how to change it
well the background is a gradiented image so in index.css look for .memblock reset and you need to alter this code
background-image: linear-gradient(to top, #E3EDF7 0, #fff 100%);
Now if you can tell me more like what color etc then I can tell you better
Quote from: BryanD on July 20, 2017, 01:20:41 PM
well the background is a gradiented image so in index.css look for .memblock reset and you need to alter this code
background-image: linear-gradient(to top, #E3EDF7 0, #fff 100%);
Now if you can tell me more like what color etc then I can tell you better
so the block is no longer an image? I want to make it a dark color to match with the overall look of the forum preferably a solid color, don't want the gradient effect.
Thanks!
Quote from: Antechinus on March 19, 2009, 11:50:07 AM
- Block background image changed to a png for better compression.
- Memberblock_images.zip added to the download page.
- Memberblock_images.zip contains a PSD (dark and light defaults) plus png images for the Outline and Mystic Jade themes.
- Turkish language strings added ( thanks to [Daydreamer] (http://www.simplemachines.org/community/index.php?action=profile;u=124605) ).
The memberblock used to be an image you could edit to change the color now it is no longer the case, any solutions? (https://custom.simplemachines.org/mods/index.php?action-download;mod=1718;id=244170;image)
nevermind i figured it out, can a mod delete all of my recent post in this thread including this one?
sorry but I need a bit of help ??? O:)
so this worked fine on a modified curve theme but not so much for a modified NightBreeze theme, 2.0.15
thank you for any help, attached a picture to show what happened
[edit] nevermind I figured it out, this theme has an index.min.css file that I needed to also add the css too :D
thanks anyways
Yes he does that with his themes. Good idea, but a bit of a trap if you're not expecting it.
I've gone through this thread but can't find the answer to my small problem...
Attached is a pic of my memberlist, which displays Avatars in a 'faded' form, not the same as the darker contrast in the original Avatar? (compared in the same pic)... can someone direct me to what I need to do to fix this please?
Sure. I threw in a bit of CSS to fade the avatars if the member is not online. So online = no fade, offline = faded.
If you don't want that effect, find this bit in index.css:
.avatar_block .offline_avatar {
opacity: 0.7;
}
...and remove the opacity line.
You can use the same bit of code to do other things for online and offline if you want to.
For example, this would put a green border around the avatar if the member was online:
/* Invisible border for offline members. */
.avatar_block .offline_avatar {
border: 4px solid transparent;
}
.avatar_block .avatar {
width: auto;
height: auto;
/* Adjust these to suit preferred maximum avatar size. */
max-width: 120px;
max-height: 120px;
/* Green border by for online members. */
border-color: green;
}
Great, thanks so much!
Is this mod still reapirable?
Dynamic_Memberlist_3_0
https://custom.simplemachines.org/mods/index.php?mod=1718
is not working on 2.0.17 and has errors ..is there anyway to repair it?
is there a similar on to it pls ?
need a bit more info, how is it not working, what errors?
I use this mod just fine on several 2.0.17 forums
do you mean when you try to install it gives you errors? you'll need to fix those errors as either your template is different than the default template, or you have installed mods that changed things...so you will need to edit this mod to work with your theme and other mods
I just installed this on 2.0.17 and it works just fine
Well, phooey. I did manual edits and got this to display just fine in 2.1RC3 beautifully, with no errors.... as long as I didn't have Custom Profile icons appearing in the memberlist. Once I changed the settings to show them there, the error log blew up. :(
This is gonna take a while..... *sigh*
(Love this mod and love Antechinus. So if I can sort it, it'll be worth it.) :)
This looks great and I tried installing, but it failed on ./Themes/default/Memberlist.template.php
The Test Failed boxes gave me:
1. Add after
/**
* Simple Machines Forum (SMF)
*
* @package SMF
* @author Simple Machines
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
*/
// The Dynamic_Memberlist template replaces the standard SMF template.
// The relevant css classes are at the end of default/css/index.css.
// The following section is the separate page for the search function.
function template_search()
{
global $context, $settings, $options, $scripturl, $txt;
// Start the submission form for search, show the header bar with view/search links.
echo '
<form id="mlist_form" action="', $scripturl, '?action=mlist;sa=search" method="post" accept-charset="', $context['character_set'], '">
<div class="cat_bar">
<h3 class="catbg">';
foreach ($context['sort_links'] as $link)
{
echo '
<a href="' . $scripturl . '?action=mlist' . (!empty($link['action']) ? ';sa=' . $link['action'] : '') . '">', $link['label'], '</a>';
}
// Close the header bar then display the input boxes for the search form.
echo '
</h3>
</div>
<div class="roundframe">
<label for="search">', $txt['search_for'], '<input id="search" type="text" name="search" value="', $context['old_search'], '" size="35" /></label><input id="submit" type="submit" name="submit" class="button_submit" value="' . $txt['search'] . '" />
<ul class="reset">';
foreach ($context['search_fields'] as $id => $title)
{
echo '
<li>
<label for="fields-', $id, '"><input type="checkbox" name="fields[]" id="fields-', $id, '" value="', $id, '" ', in_array($id, $context['search_defaults']) ? 'checked="checked"' : '', ' class="input_check" /> ', $title, '</label>
</li>';
}
echo '
</ul>
</div>
</form>';
}
// This next section is the main memberlist.
function template_main()
{
global $context, $settings, $options, $scripturl, $txt;
// Show the header bar with view/search links.
echo '
<div id="mlist_wrapper">
<div class="cat_bar">
<h3 class="catbg">';
foreach ($context['sort_links'] as $link)
{
echo '
<a href="' . $scripturl . '?action=mlist' . (!empty($link['action']) ? ';sa=' . $link['action'] : '') . '">', $link['label'], '</a>';
}
echo '
</h3>
</div>';
// Display page numbers and the a-z links for sorting by name, if not a result of a search.
if (!isset($context['old_search']))
{
echo '
<div class="pagesection">
<div class="pagelinks">', $context['page_index'], '</div>
<div id="mlist_letters">', $context['letter_links'] . '</div>
</div>
<ul id="mlist_sort_links">';
// Display each of the buttons for sorting options.
foreach ($context['columns'] as $column)
{
// This is a selected option, so it has an icon.
if ($column['selected'])
echo '
<li><a href="' . $column['href'] . '" rel="nofollow">' . $column['label'] . ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" style="vertical-align: middle;" alt="" /></a></li>';
// This is just some button. Show the link and be done with it.
else
echo '
<li>', $column['link'], '</li>';
}
echo '
</ul>';
}
// If this is a result of a search then just show the page numbers.
else
echo '
<div class="pagesection"><div class="pagelinks">', $context['page_index'], '</div></div>';
// This <ul> contains the individual member blocks.
echo '
<ul id="blocksbox">';
foreach ($context['members'] as $member)
{
echo '
<li class="member_block" >
<ul class="reset smalltext">
<li class="member_link"><h4>',$member['link'] , '</h4></li>
<li class="avatar_block">';
// The avatar
echo '
<a href="'.$scripturl.'?action=profile;u='.$member['id'].'" title="',$txt['profile_of'],' ', $member['name'],' "', $member['online']['is_online'] ? '' : ' class="offline_avatar"', '>
', !empty($member['avatar']['image']) ? $member['avatar']['image'] : '<img src="'. $settings['images_url'] . '/default_avatar_block.png" class="avatar" alt="" />', '
</a>
</li>
<li class="membergroup">';
// Show the member's primary group (like 'Administrator') if they have one.
if (isset($member['group']) && $member['group'] != '')
echo '
', $member['group'];
else
echo '
', $member['post_group'];
echo '
</li>';
// Number of posts, and date registered, on two separate lines.
echo '
<li class="postcount">
', $txt['posts_made'] ,': ', $member['posts'], '
</li>
<li class="registered_date">
',$txt['joined'] ,': ', $member['registered_date'], '
</li>
<li class="im_icons">';
if ($context['can_send_pm'] )
echo '
<a href="' . $member['online']['href'] . '" title="' . $member['online']['text'] . ' | ',$txt['pm_menu_send'] ,' ">
<img src="' . $member['online']['image_href'] . '" alt="' . $member['online']['text'] . '" />
</a>';
// Don't show the email address if they want it hidden.
if (in_array($member['show_email'], array('yes', 'yes_permission_override', 'no_through_forum')))
echo '
', $member['show_email'] == 'no' ? '' : '<a href="' . $scripturl . '?action=emailuser;sa=email;uid=' . $member['id'] . '" rel="nofollow"><img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt['email'] . '" title="' . $txt['email'] . ' ' . $member['name'] . '" /></a>', '';
// Website, if any.
if ($member['website']['url'] != '' && !isset($context['disabled_fields']['website']))
echo '
', $member['website']['url'] != '' ? '<a href="' . $member['website']['url'] . '" target="_blank" class="new_win"><img src="' . $settings['images_url'] . '/www.gif" alt="' . $member['website']['title'] . '" title="' . $member['website']['title'] . '" /></a>' : '', '';
// ICQ?
if (!isset($context['disabled_fields']['icq']))
echo '
', $member['icq']['link'], '';
// AIM?
if (!isset($context['disabled_fields']['aim']))
echo '
', $member['aim']['link'], '';
// YIM?
if (!isset($context['disabled_fields']['yim']))
echo '
', $member['yim']['link'], '';
// The following code is for compatibility with the Quick Buddies mod.
// It will not cause any errors if that mod is not installed.
// Can they add this member as a buddy?
if (!empty($modSettings['qb_on_memberlist']) && $context['user']['is_logged'] && $member['id'] <> $context['user']['id'])
{
$is_buddy = in_array( ($id = $member['id']), $user_info['buddies']);
echo '
<a href="', $scripturl, '?action=buddy;u=', $member['id'], ';' . $tmp_mlist . ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/', ($is_buddy ? 'del' : 'add'), '_buddy.png" title="', str_replace('%s', $member['name'], $txt['buddy_' . ($is_buddy ? 'remove' : 'add')]), '" alt="'. ($is_buddy ? '-' : '+') . '" />';
}
echo'
</li>
</ul>
</li>';
}
echo '
</ul>';
// Display page numbers, then close the wrapper div.
echo '
<div class="pagesection"><div class="pagelinks">', $context['page_index'], '</div></div>
</div>';
}
/*
2. Add Before
?>
*/
Not sure why :(
What I'd really like to do, is run this mod on one alternative theme and not the default, but I don't know if that is even possible?
Actually, it should be, as we don't use the default theme, so as long as I only tick the boxes for the theme that I'd like it to work on I should be fine?
Cheers
Mike
PS: my current Memberlist template attached.
Every mod should be installed into the default theme. You should have no option to exclude it.
It doesn't matter if you USE the default theme or not, because most themes do not actually define ALL of the template files -- and, if the theme does not define a specific file as "altered", then the system uses the default theme version of that template file.
Yes, I understand that thanks Kindred, same with all mods :)
My fails are on the default in this case.
Found it 8)
The mod was looking for "@version 2.0" in the template and mine had "@version 2.0.16".
I removed the .16 from the template and the mod then installed without any problems and is working as it should.
It's the simple things that keep you on your toes ;D
Ok, I can fix that easily enough. I haven't updated this thing for ages.
TBH I could easily do a better job of the coding these days. By using flex I could make the blocks fill the space evenly on any resolution, and I could do the same presentation on default markup too (ie: no tempate edits required, and fully compatible with any extra fields added by mods).
Oh, dang... I saw this thread had been hit on and I ran over singing "Custom Profile Fields, Custom Profile Fields"..... and now my song is done. (https://321goodbye.com/Smileys/default/cryariver.gif)
(https://321goodbye.com/Smileys/default/blushing1.gif)
Lol. That's what I mean about "fully compatible with any extra fields added". I can do that easily with the CSS available these days. You would even be able to re-order elements within each block via CSS.
I'll whip up some code. :)
Quote from: Antechinus on September 20, 2021, 03:42:11 PMOk, I can fix that easily enough. I haven't updated this thing for ages.
TBH I could easily do a better job of the coding these days. By using flex I could make the blocks fill the space evenly on any resolution, and I could do the same presentation on default markup too (ie: no tempate edits required, and fully compatible with any extra fields added by mods).
Awesome 8)
Quote from: Antechinus on September 20, 2021, 04:19:40 PMI'll whip up some code. :)
You, Sir, rock and roll..... simultaneously! (https://321goodbye.com/Smileys/default/rockon.gif)
This looks awesome but I can't get it to install on SMF 2.1.3. Any chance there is a workaround?
Would need recoding for 2.1. I suppose I really should make a 2.1 version. It wouldn't be that difficult. I can't do much about it this coming week, but I'll have some time the following week. I'll see if I can get motivated then.
How to make this mod work on 2.1.4?
Quote from: Antechinus on January 28, 2023, 05:43:31 PMWould need recoding for 2.1. I suppose I really should make a 2.1 version. It wouldn't be that difficult. I can't do much about it this coming week, but I'll have some time the following week. I'll see if I can get motivated then.
Did you succeed?
No. I haven't actually been using SMF for anything myself, so completely forgot about updating this mod.
If I was going to do it I would ditch the old custom template, and just do the lot with custom CSS on default markup (flex and/or grid would do it). Which isn't at all difficult to do, and would be more versatile, but right at the moment I don't really have the motivation. :)
how do i fix?
Screenshot 2025-05-17 at 1.25.56 AM.png