News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Avatar on Member List

Started by Gary, April 25, 2007, 03:29:12 PM

Previous topic - Next topic

et10yl

Quote from: Gazmanafc on October 19, 2010, 06:30:34 AM
Probably very doubtful. Too busy.

Would you mind if I took a stab at updating this for RC3 then?

Thanks!

Gary

The version I answered was for RC3 which is now out of date.

My situation hasn't changed. I'm still far too busy. I have three university assignments due in before Christmas, and one after.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

et10yl

Hey, I definitely understand your other work commitments. I was just wondering if you'd mind if I tried updating it for RC3? Since it's your mod and you're active on the site, I figured I'd ask permission to help you with this before I undertook any work. Would you mind if I lent a hand in updating this for RC3?

Thanks!

Gary

I misread what you said. Sure, it'd do me a favour.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

et10yl

I made some mods and tested it on my forum. Seems to display fine in FF 3.6 and IE (I think it's version 7).
I've moved the avatar field to next to the right of the username field (it was right next to MSN info field before).
Am toying around with moving it to the left of username, but not sure yet where I want it.

If anyone wants to test this and report back, I'd appreciate the help.
Attached is the zip file with the mod for SMF 2.0 RC3.


Gary

It still had me as ALM? Man, that is old. :P

Anyway, I had an install of it, and failed on Curve, but worked on Core.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Gary

Alright. I managed to get around to do a quick update on the mod. Thanks to et10yl for his help in getting me motivated. :P

The mod supports both Curve and Core.

Since I'm personally not supporting 1.1 anymore, neither does the mod. :P
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Vincent Volmer

Quote from: Gazmanafc on November 29, 2010, 07:27:01 PM
Alright. I managed to get around to do a quick update on the mod. Thanks to et10yl for his help in getting me motivated. :P

The mod supports both Curve and Core.

Since I'm personally not supporting 1.1 anymore, neither does the mod. :P

Hey great!! Thank you very mutch!

I found one small issue: when I click on the column name to sort the avatars (see all avatars on top of the list) I get this error:

URL: http://digiscrap.nl/index.php?pretty;action=mlist&sort=avatar;start=0
The database value you're trying to insert does not exist: sort
Function: MLAll
File: /home/digiscrap/domains/digiscrap.nl/public_html/Sources/Memberlist.php
Line: 393


Maybe it is because we're using the PrettyURLs mod?

Thanks again!!

Digiscrap.nl
Vincent Volmer

Gary

I figured that would still apply, I didn't really look into fixing that. The best advice I can give is to not sort the avatars as realistically, it's not possible. :P
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

SomaliDoc

Can you point me how to remove the hyper-link of the avatar column's name so that members don't try to sort it since it's not working.

Thanks


Vincent Volmer

Hello,

Is this mod compatible with SMF2.0RC5?

Thanks,

Vincent

Gary

Should be. You'll probably need to emulate it though.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Vincent Volmer

Quote from: Gazmanafc on March 10, 2011, 07:17:24 AM
Should be. You'll probably need to emulate it though.
Okay, I'll try that.

thanks!!

Ilkharnos

Hello

I started to use this mod and I have a question.

The cells which include the avatars become larger because of avatar size (they are at least 100x100). I think 100px height is too much for me for a single row. Is it possible to resize the avatars in the member list? Lets say 50x50 for example? (but only the ones in the memberlist) So that row height would be smaller and there would be less idle spaces. I think it would create a better view for my page. I'm not good at coding and I couldn't manage to do it by myself. I would be grateful If you can help me.

Gary

Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Ilkharnos

I'm sorry for being unaware of your earlier explanation. Thank you very much. My page looks much better now.

tMicky

Quote from: Gary on May 10, 2007, 03:48:23 PM
To move the cell the avatar is in. You'll need to move things around.

<td class="windowbg2">', $member['avatar']['image'], '</td>

Contains the avatar obviously, so relocate that to where you want it in  in $themedir/Memberlist.template.php, but you'll also need to move


'avatar' => array(
'label' => $txt['avatar'],

To the same place in $sourcedir/Memberlist.php

For sizes try:

<td class="windowbg2"><img src="', $member['avatar']['href'], '" width="40" height="40" alt="" /></td>
in Memberlist.template.php and change the width/height.

-ALM
Please where do we post the code to change the sizes. I added it to the button of Memberlist.template.php and got an error.

thank you

Wutzmann

I can't find

Quote<td class="windowbg2"><img src="', $member['avatar']['href'], '" width="40" height="40" alt="" /></td>

in Memberlist.template.php to change the width/height  :o

Gary

That's because it's not there by default. You'll need to make some modifications first as I outlined here: http://www.simplemachines.org/community/index.php?topic=167413.msg1087510#msg1087510
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Padre gremista

Here, is working in SMF 2.0.7 version.
www.gremioemfoco.info - A comunidade gremista na internet.

Advertisement: