Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-02-2006, 06:00 AM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Horizontal Member List

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:

Code:
<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:

Code:
<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.
Reply With Quote
  #2  
Old 01-02-2006, 02:04 PM
2shae 2shae is offline
 
Join Date: Apr 2005
Location: ireland
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i agree i really want this
Reply With Quote
  #3  
Old 01-03-2006, 12:40 AM
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Location: North America
Posts: 737
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you figure out how to do that and I'll give you my advanced search
Reply With Quote
  #4  
Old 01-09-2006, 02:21 AM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I can say I'm officially stumped on this. I doubt it's that difficult, anybody have any ideas?
Reply With Quote
  #5  
Old 01-16-2006, 04:15 AM
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Location: North America
Posts: 737
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by .Tim
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.
Reply With Quote
  #6  
Old 01-16-2006, 04:24 PM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, hopefully someone who has done it before will decide to share. Or I have some revelation that gets it to work.
Reply With Quote
  #7  
Old 01-17-2006, 10:38 PM
rootnik rootnik is offline
 
Join Date: Jun 2002
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #8  
Old 01-19-2006, 05:25 AM
Steve Moore Steve Moore is offline
 
Join Date: Jan 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this:
Code:
<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%5Buserid%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%5Buserid%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=$userinfo%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=$userinfo%5Buserid%5D"
 target="_blank" rel="nofollow"><br>
</a></div>
</div>
Reply With Quote
  #9  
Old 01-23-2006, 01:22 AM
JaeTea JaeTea is offline
 
Join Date: Jan 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The above code doesn't even validate.
Reply With Quote
  #10  
Old 01-23-2006, 06:50 AM
notsonormal notsonormal is offline
 
Join Date: Nov 2005
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i would like this too...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04700 seconds
  • Memory Usage 2,268KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete