Webboard

Pełna wersja: Opcje administratora wyrównane do moderatora.
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.6
adres forum: fungaming.xaa.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): [Obrazek: WHnZBoQ.png]
Jak mogę opcje Administratora przenieś do lewej i wyrównać do opcji Moderatora? Żeby opcje admina były równe z opcjami moda.

Gdzie zmienic te informacje:
SEX: Location: Bio:
Pokaż szablon member_profile oraz member_profile_adminoptions z podglądu profilu.
Member_profile
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<div><div class="thead belkatlo"><span>Profil użytkownika</span></div>
    <div id="userprofile-maininfo"><div class="userprofile_avatar">{$avatar}</div>
    <div style="padding:20px;"><h2>{$formattedname}<br /></h2>    
    {$awaybit}
    <span>{$groupimage}</span><br />
    <span>Członek od <b style="color: #bcbcbc;">{$memregdate}</b></span><br />
    <div class="userprofile_online">{$online_status}
{$custom_status}</div><br />
    {$userstars}<br />
    </div></div>
<div id="userprofile-tabs">

    <ul id="userprofile-tabs-nav">
    <li><a href="#generalinfo">Informacje na forum</a></li>
    <li><a href="#contactinfo">Kontakt</a></li>
    <li><a href="#additionalinfo">Inne</a></li>
    </ul>

    <div class="tab" id="generalinfo">
<div class="tab_content">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="userprofile_table">
<tr>
<td colspan="2" class="tcat"><strong>{$lang->users_forum_info}</strong></td>
</tr>
<tr>
<td class="userprofile_trow"><strong>{$lang->joined}</strong></td>
<td class="userprofile_trow">{$memregdate}</td>
</tr>

<tr>
<td class="userprofile_trow"><strong>{$lang->date_of_birth}</strong></td>
<td class="userprofile_trow">{$membday} {$membdayage}</td>
</tr>

<tr>
<td class="userprofile_trow"><strong>{$lang->local_time}</strong></td>
<td class="userprofile_trow">{$localtime}</td>
</tr>
<tr>
<td class="userprofile_trow"><strong>{$lang->lastvisit}</strong></td>
<td class="userprofile_trow">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>
<tr>
<td class="userprofile_trow"><strong>{$lang->total_posts}</strong></td>
<td class="userprofile_trow">{$memprofile['postnum']} ({$lang->ppd_percent_total}) <span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>
<tr>
<td class="userprofile_trow"><strong>{$lang->timeonline}</strong></td>
<td class="userprofile_trow">{$timeonline}</td>
</tr>
</table>
<div class="right" style="width: 24%;">
<div class="userprofile_statsbutton userprofile_referrals">{$referrals}<img src="{$mybb->settings['bburl']}/images/infinity/users.png"></div><br />
{$warning_level}<!-- ProfileComments -->{$pf_statistics}<!-- /ProfileComments -->
</div>
</div>    
</div>
    
    <div class="tab" id="contactinfo">
<div class="tab_content">

    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="userprofile_table">
<tr>
<td colspan="2" class="tcat"><strong>{$lang->users_contact_details}</strong></td>
</tr>
<tr>
<td class="userprofile_trow" width="40%"><strong>{$lang->homepage}</strong></td>
<td class="userprofile_trow">{$website}</td>
</tr>
<tr>
<td class="userprofile_trow"><strong>{$lang->pm}</strong></td>
<td class="userprofile_trow"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
{$sendemail}
<tr>
<td class="userprofile_trow"><strong>{$lang->icq_number}</strong></td>
<td class="userprofile_trow">{$memprofile['icq']}</td>
</tr>
<tr>
<td class="userprofile_trow"><strong>{$lang->aim_screenname}</strong></td>
<td class="userprofile_trow"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>
<tr>
<td class="userprofile_trow"><strong>{$lang->yahoo_id}</strong></td>
<td class="userprofile_trow"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>
<tr>
<td class="userprofile_trow"><strong>{$lang->msn}</strong></td>
<td class="userprofile_trow"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>


    </div></div>
    
    <div class="tab" id="more">
<div class="tab_content">
    {$profilefields}
{$signature}{$memprofile['ougc_awards']}<div style="position: relative;
top: 10px;
left: 10px;">{$buddy_options}</div>{$adminoptions}
<br />{$buddylist}{$modoptions}<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->
    </div></div>

</div>
<script type="text/javascript">
var tabber1 = new Yetii({
id: 'userprofile-tabs'
});
</script>
</div><br class="clearboth">
{$footer}
</body>
</html>

member_profile_adminoptions
Kod:
<br /><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" class="userprofile_table" style="float: right;
width: 24%;">
<tr>
<td colspan="2" class="tcat"><strong>{$lang->admin_options}</strong></td>
</tr>
<tr class="userprofile_trow">
<td class="userprofile_trow">
<ul>
<li><a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php?module=user/users&amp;action=edit&amp;uid={$uid}">{$lang->admin_edit_in_acp}</a></li>
<li><a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php?module=user/banning&amp;uid={$uid}">{$lang->admin_ban_in_acp}</a></li>
</ul>
</td>
</tr>
</table>
member_profile_adminoptions
Kod PHP:
<br /><table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}width="100%" class="userprofile_table" style="float: left;width: 24%;">
<
tr>
<
td colspan="2" class="tcat"><strong>{$lang->admin_options}</strong></td>
</
tr>
<
tr class="userprofile_trow">
<
td class="userprofile_trow">
<
ul>
<
li><a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php?module=user/users&amp;action=edit&amp;uid={$uid}">{$lang->admin_edit_in_acp}</a></li>
<
li><a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php?module=user/banning&amp;uid={$uid}">{$lang->admin_ban_in_acp}</a></li>
</
ul>
</
td>
</
tr>
</
table
jak wyrównać do moderatora?
[Obrazek: i57vMHb.png]
I jak moge zmienić to Sex, location,bio?
W szablonie member_profile_modoptions odszukaj w pierwszych linijkach jaką ma wartość width i zamień na taką w member_profile_adminoptions.