Announcement

Collapse
No announcement yet.

make username column narrower in memberlist

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • make username column narrower in memberlist

    how can i make the username column in the member list so it is not so wide. by default it takes up about 25% of the page width.

  • #2
    One easy solution is to add more columns to the memberlist:

    Admin CP -> vBulletin Options -> User Listing & Profile Viewing -> Member List Field Options

    The default templates for the memberlist don't use set widths for the individual columns because there is a variable number of columns. They just mush around to fill the space. If you want to set specific widths for different columns then you need to edit this template:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Member's List Templates -> memberlist

    For example, add the red code:

    Code:
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr align="center">
    	<td width="20%" class="thead" align="$stylevar[left]" nowrap="nowrap"><a href="$sorturl&amp;order=ASC&amp;sort=username&amp;pp=$perpage&amp;ltr=$ltr$usergrouplink">$vbphrase[username]</a> $sortarrow[username]</td>
    	<if condition="$show['emailcol']"><td class="thead" nowrap="nowrap">$vbphrase[contact]</td></if>
    	<if condition="$show['imicons']"><td class="thead" nowrap="nowrap">$vbphrase[instant_messaging]</td></if>
    	<if condition="$show['homepagecol']"><td class="thead" nowrap="nowrap">$vbphrase[home_page]</td></if>

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X