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

Reply
 
Thread Tools Display Modes
  #1  
Old 11-03-2011, 12:12 PM
Tonje! Tonje! is offline
 
Join Date: Oct 2011
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Change member list layout

I have a bit of a problem with my member list. As you can see in the picture it doesn't relly look very good at the moment.



I want to move the "Registrert" field and the "Innleg" field to the left, so that it is lined up from the left side and not the right. The way it looks now just makes it confusing to see which collumns belong to which title.

I tried editing the memberlist CSS, but couldn't figure it out. Here's the code:

HTML Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
<title>{vb:rawphrase members_list} - {vb:raw vboptions.bbtitle}</title>

{vb:raw headinclude}

{vb:cssfile memberlist.css}

{vb:raw headinclude_bottom}
</head>
<body>

{vb:raw header}

{vb:raw navbar}

<div id="pagetitle">
    <h1>{vb:rawphrase members_list}</h1>
</div>

<dl id="charnav" class="stats floatcontainer">
    <dt>{vb:rawphrase filter_results}</dt>
    {vb:raw letterbits}
</dl>

<div id="above_memberlist" class="floatcontainer">
	<vb:if condition="$pagenav">
		<div id="pagination_top">
			{vb:raw pagenav}
		</div>
 	</vb:if>
    
    <vb:if condition="!$show['usergroup']">
    <vb:comment>memberlist quick search form</vb:comment>
    <div class="popupgroup" id="memberlist_menus">
        <div class="popupmenu" id="memberlist_search">
            <h6><a href="{vb:raw relpath}#memberlist_search" class="popupctrl">{vb:rawphrase search_members}</a></h6>
            <form action="memberlist.php" method="post">
				<ul class="popupbody popuphover">
					<li>
						<input type="text" class="searchbox" value="{vb:rawphrase search_dots}" name="ausername" tabindex="1" />
						<input type="submit" class="button" value="{vb:rawphrase search}" tabindex="1" />
					</li>
					<li class="formsubmit">
						
						<vb:if condition="$show['advancedlink']">
						<div><a class="advancedsearchlink" href="memberlist.php?{vb:raw session.sessionurl}do=search">{vb:rawphrase advanced_search}</a></div>
						</vb:if>
					</li>
				</ul>
				<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
				<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
				<input type="hidden" name="do" value="getall" />
            </form>
        </div>
    </div>
    </vb:if>        
</div>

<vb:if condition="$show['usergroup']">
<form action="profile.php?do=deleteusergroups&amp;usergroupid={vb:raw usergroupid}" method="post">
    <input type="hidden" name="do" value="deleteusergroups" />
    <input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
    <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="usergroupid" value="{vb:raw usergroupid}" />
</vb:if>    
<div id="memberlist" class="block">
    <div id="searchstats">
        <span class="resultcount">{vb:rawphrase showing_results_x_to_y_of_z, {vb:raw first}, {vb:raw last}, {vb:raw totalusers}}</span>
        <span class="resulttimer">{vb:rawphrase search_took_x_seconds, {vb:raw searchtime}}</span>
    </div>
    <h2 class="blockhead">{vb:rawphrase members_of_x, {vb:raw vboptions.bbtitle}}</h2>
    <div class="blockbody">
        <table id="memberlist_table" width="100%">
        <tr class="columnsort">
            <th><a class="blocksubhead" href="{vb:raw sorturl}{vb:if !$show['sorturlnoargs'], '&amp;'}order={vb:raw oppositesort}&amp;sort=username&amp;pp={vb:raw perpage}{vb:raw usergrouplink}">{vb:rawphrase username} {vb:raw sortarrow.username}</a></th>
            <vb:if condition="$show['emailcol']"><th><span class="blocksubhead">{vb:rawphrase contact}</span></th></vb:if>
            <vb:if condition="$show['imicons']"><th><span class="blocksubhead">{vb:rawphrase instant_messaging}</span></th></vb:if>
            <vb:if condition="$show['homepagecol']"><th><span class="blocksubhead">{vb:rawphrase home_page}</span></th></vb:if>
            <vb:if condition="$show['searchcol']"><th><span class="blocksubhead">{vb:rawphrase find_posts_user}</span></th></vb:if>
            <vb:if condition="$show['datejoinedcol']"><th><a class="blocksubhead" href="{vb:raw sorturl}{vb:if !$show['sorturlnoargs'], '&amp;'}order={vb:raw oppositesort}&amp;sort=joindate&amp;pp={vb:raw perpage}{vb:raw usergrouplink}">{vb:rawphrase join_date} {vb:raw sortarrow.joindate}</a></th></vb:if>
            <vb:if condition="$show['postscol']"><th><a class="blocksubhead" href="{vb:raw sorturl}{vb:if !$show['sorturlnoargs'], '&amp;'}order={vb:raw oppositesort}&amp;sort=posts&amp;pp={vb:raw perpage}{vb:raw usergrouplink}">{vb:rawphrase posts} {vb:raw sortarrow.posts}</a></th></vb:if>
            <vb:if condition="$show['lastvisitcol']"><th><a class="blocksubhead" href="{vb:raw sorturl}{vb:if !$show['sorturlnoargs'], '&amp;'}order={vb:raw oppositesort}&amp;sort=lastvisit&amp;pp={vb:raw perpage}{vb:raw usergrouplink}">{vb:rawphrase last_visit} {vb:raw sortarrow.lastvisit}</a></th></vb:if>
            <vb:if condition="$show['reputationcol']"><th><a class="blocksubhead" href="{vb:raw sorturl}{vb:if !$show['sorturlnoargs'], '&amp;'}order={vb:raw oppositesort}&amp;sort=reputation&amp;pp={vb:raw perpage}{vb:raw usergrouplink}">{vb:rawphrase reputation} {vb:raw sortarrow.reputation}</a></th></vb:if>
            <vb:if condition="$show['avatarcol']"><th><span class="blocksubhead">{vb:rawphrase avatar}</span></th></vb:if>
            <vb:if condition="$show['profilepiccol']"><th><span class="blocksubhead">{vb:rawphrase profile_picture}</span></th></vb:if>
            <vb:if condition="$show['birthdaycol']"><th><span class="blocksubhead">{vb:rawphrase birthday}</span></th></vb:if>
            <vb:if condition="$show['agecol']"><th><a class="blocksubhead" href="{vb:raw sorturl}{vb:if !$show['sorturlnoargs'], '&amp;'}order={vb:raw oppositesort}&amp;sort=age&amp;pp={vb:raw perpage}{vb:raw usergrouplink}">{vb:rawphrase age} {vb:raw sortarrow.age}</a></th></vb:if>
            <vb:if condition="$show['customfields']">{vb:raw customfieldsheader}</vb:if>
            <vb:if condition="$show['usergroup']"><th><span class="blocksubhead"><input name="allbox" type="checkbox" value="Check All" title="{vb:rawphrase check_uncheck_all}" onclick="checkall(this.form);" /></span></th></vb:if>
        </tr>
        {vb:raw memberlistbits}
        </table>
    </div>
    <div class="blockfoot">
        <vb:if condition="$show['usergroup']">
            <input type="submit" class="button" value="{vb:rawphrase remove_selected_users}" />
        <vb:else />
            {vb:rawphrase showing_results_x_to_y_of_z, {vb:raw first}, {vb:raw last}, {vb:raw totalusers}}
        </vb:if>
    </div>
</div>
<vb:if condition="$show['usergroup']">
</form>
</vb:if>

<vb:if condition="$pagenav">
<div id="pagination_bottom">
    {vb:raw pagenav}
</div>
</vb:if>

{vb:raw forumjump}

{vb:raw footer}
</body>
</html>
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 05:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05700 seconds
  • Memory Usage 2,213KB
  • 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
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete