Webboard

Pełna wersja: Profil użytkownika, jak zmienić wygląd?
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: Najnowsza
adres forum: Pride-fox.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Witam chciałbym przerobić panel użytkownika czy jest jakiś plugin czy też kod, który mi to umożliwi? Wystarczy przesunąć tabele a dać na jej miejsce awatar a pole zaznaczone usunąć.

http://i.imgur.com/W5dkvr2.png
Wszystko zrobisz w szablonie member_profile (podgląd profilu). Z czym konkretnie masz problem?
Mój kod profilu jest poniżej co będę musiał zmienić żeby profil wyglądał jak na screnie w 1 poście?

Kod:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<div><div class="thead">&nbsp;<span>{$lang->profile}</span></div>
    <div id="userprofile-maininfo">
<div id="userprofile-tabs">
<div class="userprofile_avatar">{$avatar}</div>
    <div id="userprofile-tabs-nav">
    <li><a href="#generalinfo">Ogólne</a></li>
<li><a href="#more">Więcej ...</a></li>
    </div>

    <div class="tab" id="generalinfo">
<div class="tab_content">
<span class="profile_PW button2"></a>&nbsp;<a href="private.php?action=send&amp;uid={$memprofile['uid']}">PW</a></span>
{$sendemail}
<span class="profile_find button2"></a>&nbsp;<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a></span>
<div class="profile_info">
    <h1>{$formattedname}</h1>
{$groupimage}
    {$awaybit}<br />    
{$online_status} {$lang->lastvisit} {$memlastvisitdate} {$memlastvisittime}<br />
</div>    
<br />
<div class="member_box">
<ul>
<h3><strong>{$lang->users_forum_info}</strong></h3>
<li class="trow_member"><span class="trow_title"><strong>{$lang->joined}</strong></span><span class="trow_text">{$memregdate}</span></li>
<li class="trow_member"><span class="trow_title"><strong>{$lang->date_of_birth}</strong></span><span class="trow_text">{$membday} {$membdayage}</span></li>
<li class="trow_member"><span class="trow_title"><strong>{$lang->local_time}</strong></span><span class="trow_text">{$localtime}</span></li>
<li class="trow_member"><span class="trow_title"><strong>{$lang->lastvisit}</strong></span><span class="trow_text">{$memlastvisitdate} {$memlastvisittime}</span></li>
<li class="trow_member"><span class="trow_title"><strong>{$lang->total_posts}</strong></span><span class="trow_text">{$memprofile['postnum']}</span></li>
<li class="trow_member"><span class="trow_title" style="width:130px;"><strong>{$lang->timeonline}</strong></span><span class="trow_text">{$timeonline}</span></li>
<li class="trow_member">{$warning_level}</li>
<li class="trow_member"><span class="trow_text">{$memprofile['usernotes']}</span></li>
</ul>
</div>
<div class="member_box">
<ul>
<h3><strong>Sygnatura</strong></h3>
<li class="trow_member">{$signature}</li>
</ul>
</div>
<div class="float_right" style="width:30%;bottom:258px;position:relative;">
{$reputation}<div class="member_box2">
<ul>
<h3><strong>Opcje:</strong></h3>
<span class="box_text">
{$adminoptions}
{$modoptions}
</span></ul></div>
<div class="right">
{$referrals}</div>
</div>
</div>
</div>
<div class="tab" id="more">
<div class="tab_content">
<div class="member_box2">
<ul>
<h3><strong>{$lang->users_forum_info}</strong></h3>
<li class="trow_member" style="float:left;"><span class="trow_title" style="display:inline-block;"><strong>{$lang->icq_number}</strong></span><span class="trow_text">{$memprofile['icq']}</span></li>
<li class="trow_member" style="float:left;"><span class="trow_title" style="display:inline-block;"><strong>{$lang->homepage}</strong></span><span class="trow_text">{$website}</span></li>
</ul>
</div>
</div>
</div>

</div>
<script type="text/javascript">
var tabber1 = new Yetii({
id: 'userprofile-tabs'
});
</script>
</div><br class="clear">
{$footer}
</body>
</html>
Kod PHP:
<html>
<
head>
<
title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{
$headerinclude}
</
head>
<
body>
{
$header}
<
div><div class="thead">&nbsp;<span>{$lang->profile}</span></div>
    <
div id="userprofile-maininfo">
<
div id="userprofile-tabs">
    <
div id="userprofile-tabs-nav">
    <
div class="userprofile_avatar">{$avatar}</div>
    <
li><a href="#generalinfo">Ogólne</a></li>
<
li><a href="#more">Więcej ...</a></li>
    </
div>

    <
div class="tab" id="generalinfo">
<
div class="tab_content">
<
span class="profile_PW button2"></a>&nbsp;<a href="private.php?action=send&amp;uid={$memprofile['uid']}">PW</a></span>
{
$sendemail}
<
span class="profile_find button2"></a>&nbsp;<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a></span>
<
div class="profile_info">
    <
h1>{$formattedname}</h1>
{
$groupimage}
    {
$awaybit}<br />    
{
$online_status} {$lang->lastvisit} {$memlastvisitdate} {$memlastvisittime}<br />
</
div>    
<
br />
<
div class="member_box">
<
ul>
<
h3><strong>{$lang->users_forum_info}</strong></h3>
<
li class="trow_member"><span class="trow_title"><strong>{$lang->joined}</strong></span><span class="trow_text">{$memregdate}</span></li>
<
li class="trow_member"><span class="trow_title"><strong>{$lang->date_of_birth}</strong></span><span class="trow_text">{$membday} {$membdayage}</span></li>
<
li class="trow_member"><span class="trow_title"><strong>{$lang->local_time}</strong></span><span class="trow_text">{$localtime}</span></li>
<
li class="trow_member"><span class="trow_title"><strong>{$lang->lastvisit}</strong></span><span class="trow_text">{$memlastvisitdate} {$memlastvisittime}</span></li>
<
li class="trow_member"><span class="trow_title"><strong>{$lang->total_posts}</strong></span><span class="trow_text">{$memprofile['postnum']}</span></li>
<
li class="trow_member"><span class="trow_title" style="width:130px;"><strong>{$lang->timeonline}</strong></span><span class="trow_text">{$timeonline}</span></li>
<
li class="trow_member">{$warning_level}</li>
<
li class="trow_member"><span class="trow_text">{$memprofile['usernotes']}</span></li>
</
ul>
</
div>
<
div class="member_box">
<
ul>
<
h3><strong>Sygnatura</strong></h3>
<
li class="trow_member">{$signature}</li>
</
ul>
</
div>
<
div class="float_right" style="width:30%;bottom:258px;position:relative;">
{
$reputation}<div class="member_box2">
<
ul>
<
h3><strong>Opcje:</strong></h3>
<
span class="box_text">
{
$adminoptions}
{
$modoptions}
</
span></ul></div>
<
div class="right">
{
$referrals}</div>
</
div>
</
div>
</
div>
<
div class="tab" id="more">
<
div class="tab_content">
<
div class="member_box2">
<
ul>
<
h3><strong>{$lang->users_forum_info}</strong></h3>
<
li class="trow_member" style="float:left;"><span class="trow_title" style="display:inline-block;"><strong>{$lang->icq_number}</strong></span><span class="trow_text">{$memprofile['icq']}</span></li>
<
li class="trow_member" style="float:left;"><span class="trow_title" style="display:inline-block;"><strong>{$lang->homepage}</strong></span><span class="trow_text">{$website}</span></li>
</
ul>
</
div>
</
div>
</
div>

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