Log in

View Full Version : Horizontal Member List


.Tim
01-02-2006, 06:00 AM
Maybe I'm doing this wrong, but I'm trying to get the list to show up horizontally, like 5 users per row for example. I can get it to look somewhat how I want but it lines them all up vertically and I can't figure out how to fix it. Any suggestion? Am I going about it all wrong? This is my memberlist resultbit template:

<table class="tcat" cellpadding="1" cellspacing="0" border="0"><tr align="center"><td class="alt2" width="175" border="0"><div><if condition="$show['avatar']"><a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" /></a><else />&nbsp;</if><br/>
$userinfo[musername]</div>

<div>Last Online At: $userinfo[lastvisit]</div>
<div>Post: $userinfo[posts]</div>

<div><a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a>
</div></td></tr></table>

Okay I was able to get it horizontal this way:

<div class="tcat" cellpadding="1" cellspacing="0" border="0"><td class="alt2"><div><if condition="$show['avatar']"><a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" /></a><else />&nbsp;</if><br/>
$userinfo[musername]</div>

<div>Last Online At: $userinfo[lastvisit]</div>
<div>Post: $userinfo[posts]</div>

<div><a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a>
</div></td></div>

Now I just need to know how to split it up in rows of say 5 for example.

2shae
01-02-2006, 02:04 PM
i agree i really want this

PennylessZ28
01-03-2006, 12:40 AM
you figure out how to do that and I'll give you my advanced search

.Tim
01-09-2006, 02:21 AM
Well, I can say I'm officially stumped on this. I doubt it's that difficult, anybody have any ideas?

PennylessZ28
01-16-2006, 04:15 AM
Well, I can say I'm officially stumped on this. I doubt it's that difficult, anybody have any ideas?

I've seen it done, but heck if I can get the guy to share his templates with me.

I want this too.

.Tim
01-16-2006, 04:24 PM
Yeah, hopefully someone who has done it before will decide to share. Or I have some revelation that gets it to work. :D

rootnik
01-17-2006, 10:38 PM
I'm looking for something similar. I really like the vbuddies layout and think it would make a good format for a members list.

http://www.friendcodes.com/forums/buddies.php?u=28&pp=9

Anyway, I am soon to be in desperate need of a new memberlist layout. Going out of town early Thursday morning, but can start working on something Monday. One of you said that you have seen working example. Can you post a link, just so I can have a better idea what you are talking about?

Steve Moore
01-19-2006, 05:25 AM
Try this:
<div class="tcat" cellpadding="1" cellspacing="0" border="0">
<div>
<table class="tborder" cellpadding="$stylevar[cellpadding]"
cellspacing="$stylevar[cellspacing]" border="0" width="100%"
align="center">
<tbody>
<tr>
<td style="vertical-align: top;"><if condition="$show['avatar']"><a
href="member.php?$session%5Bsessionurl%5Du=$userinfo%5Bu serid%5D"><img
src="$avatarurl" border="0" $avwidth="" $avheight="" alt="&lt;phrase 1="
$userinfo[username="">$vbphrase[xs_avatar]</a></if><a
href="member.php?$session%5Bsessionurl%5Du=$userinfo%5Bu serid%5D">"
/&gt;</a><else> <br>
</else></td>
</tr>
<tr>
<td style="vertical-align: top;">$userinfo[musername]</td>
</tr>
<tr>
<td style="vertical-align: top;">
<div>Last Online At: $userinfo[lastvisit]</div>
</td>
</tr>
<tr>
<td style="vertical-align: top;">Post: $userinfo[posts]</td>
</tr>
<tr>
<td style="vertical-align: top;"><a
href="private.php?$session%5Bsessionurl%5Ddo=newpm&amp;u=$us erinfo%5Buserid%5D"
target="_blank" rel="nofollow"><img
src="$stylevar%5Bimgdir_button%5D/sendpm.gif" alt="sendpm.gif"
title="&lt;phrase 1=" $userinfo[username="">$vbphrase[send_private_message_to_x]"
border="0" /&gt;</a></td>
</tr>
</tbody>
</table>
<if condition="$show['avatar']"></if><else></else><br>
<br>
</div>
<div><br>
</div>
<div><a
href="private.php?$session%5Bsessionurl%5Ddo=newpm&amp;u=$us erinfo%5Buserid%5D"
target="_blank" rel="nofollow"><br>
</a></div>
</div>

JaeTea
01-23-2006, 01:22 AM
The above code doesn't even validate.

notsonormal
01-23-2006, 06:50 AM
i would like this too...

PennylessZ28
01-27-2006, 06:44 PM
Tim I believe this has to be done with a file edit and not just a template edit.

I attempted this with the memberlist and who's online. No success setting colums.

After studying the ARRANGE FORUMS IN COLUMS plugin, thats all I can come up with.

It would be nice if someone would make this.

MissKalunji
01-27-2006, 07:16 PM
i realised that you need to edit the memberlist.php its a loop

.Tim
01-27-2006, 09:33 PM
Tim I believe this has to be done with a file edit and not just a template edit.

I attempted this with the memberlist and who's online. No success setting colums.

After studying the ARRANGE FORUMS IN COLUMS plugin, thats all I can come up with.

It would be nice if someone would make this.

Oh yeah I realized that and have been trying to figure it out. I'll get it one day! :o