26.06.2015, 18:36
wersja skryptu MyBB: 1.8.4
adres forum: Gramy-Zabijamy.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Mam problem z dodanie trzech elementów w wyglądzie profilu
Tak wygląd obecny wygląd profilu:
http://iv.pl/images/60605525466621427704.png
a oto jego kod:
]
Po prawo, a dokładnie tutaj gdzie zaznaczone:http://iv.pl/images/30529375831153061771.pngChciałbym dodać coś takiego:
http://iv.pl/images/20486087400304986557.png
Chce to wziąć z tego kodu:
]
Lecz efekt jest całkiem inny.. a dokładnie taki: http://iv.pl/images/74270529740511946745.png
Proszę o pomoc! [/php]
Ktoś pomoże, czy coś?
adres forum: Gramy-Zabijamy.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Mam problem z dodanie trzech elementów w wyglądzie profilu
Tak wygląd obecny wygląd profilu:
http://iv.pl/images/60605525466621427704.png
a oto jego kod:
Kod:
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<div class="podglad">
<h3 class="thead podglad_nazwa_bel"><span class="podglad_nazwa">{$memprofile['username']}</span></h3>
<div class="info_podglad">
<div class="calosc_podglad">
<div class="lewa_podglad">
<div class="avatar_podglad">
{$avatar}{$memprofile['reputationlevel']}
</div>
<ul class="tabs">
<li><a href="#tab1">Przegląd</a></li>
<li><a href="#tab3">Posty</a></li>
<li style="border-bottom: none !important;"><a href="#tab4">Tematy</a></li>
</ul>
</div>
<div class="prawa_podglad">
<div class="tab_container">
<span class="info_top">
<h1 class="nick_usera">{$formattedname}</h1>
<span class="info_o_userze">
<ul>
<li>{$lang->registration_date} {$memregdate}</li>
<li>{$online_status}</li>
</ul>
</span>
<span style="float: right; margin-right: 100px;">
{$buddy_options}</span><br />
</span>
<div id="tab1" class="tab_content">
<div class="podglad_wrapper">
<div class="lewa_content">
<div class="tabela_podglad">
<h3>{$lang->users_forum_info}</h3>
<ul class="staty_podglad">
<li class="clear clearfix">
<span class="row_title">Grupa:</span>
<span class="row_data">{$grupa}{$namegroup['groupname']}</span>
</li>
<li class="clear clearfix">
<span class="row_title">{$lang->total_posts}</span>
<span class="row_data">{$memprofile['postnum']}</span>
</li>
<li class="clear clearfix">
<span class="row_title">Czas online:</span>
<span class="row_data">{$timeonline}</span>
</li>
<li class="clear clearfix">
<span class="row_title">Tytuł:</span>
<span class="row_data">{$usertitle}</span>
</li>
<li class="clear clearfix">
<span class="row_title">Wiek</span>
<span class="row_data">{$membday} {$membdayage}</span>
</li>
<li class="clear clearfix">
<span class="row_title"><strong>{$lang->reputation}</strong></span>
<span class="row_data">{$reputation}</span>
</li>
<li class="clear clearfix">
<span class="row_title">Strona:</span>
<span class="row_data"><a href="{$website}" alt="" title="">przejdź</a></span>
</li>
</ul>
</div>
</span>
{$myprofile_buddylist}{$myprofile_visitors}{$contact_details}
{$profilefields}
{$signature}<!-- <div class="tabela_podglad">
<h3>Sygnatura</h3>
<div style="padding: 9px;margin-top: -14px; overflow: scroll;">
{$signature_info}
</div>
</div>-->
{$modoptions}{$myprofile_comments}
{$adminoptions}
</div>
{$buddy_list}
</div>
</div>
</div>
<div id="tab2" class="tab_content">
<div class="tabela_podglad" style="margin-top: 95px;">
<div>
<h3>Friends</h3>
Lista przyjaciół
</div>
<br>
</div>
</div>
<div id="tab3" class="tab_content">
{$lastpost}
</div>
<div id="tab4" class="tab_content">
{$lastthread}
</div>
<!-- <div id="tab5" class="tab_content">
Reputacja
</div>
<div id="tab6" class="tab_content">
Shoutbox
</div>-->
</div>
</div>
</div>
</div>
</div>
{$footer}
</body>
</html>
Po prawo, a dokładnie tutaj gdzie zaznaczone:http://iv.pl/images/30529375831153061771.pngChciałbym dodać coś takiego:
http://iv.pl/images/20486087400304986557.png
Chce to wziąć z tego kodu:
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>Data rejestracji {$memregdate}</span><br />
<div class="userprofile_online">{$online_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>
<li><a href="#statusinfo">Status</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&uid={$uid}">{$lang->find_threads}</a> — <a href="search.php?action=finduser&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_reputation">{$reputation}</div><br />
<div class="userprofile_statsbutton userprofile_referrals">{$referrals}<img src="{$mybb->settings['bburl']}/images/deflection/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&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&imtype=aim&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&imtype=yahoo&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&imtype=msn&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>
</div></div>
<div class="tab" id="more">
<div class="tab_content">
{$profilefields}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" class="userprofile_table">
<tr>
<td class="tcat"><strong>STEAM</strong></td>
</tr>
<tr>
<td class="trow1"><span id="custom_status"><center><a href="http://steamsignature.com"><img src="http://steamsignature.com/status/polish/{$userfields['fid4']}.png" alt="" title="" /></a><a href='steam://friends/add/{$userfields['fid4']}'><img src='http://steamsignature.com/AddFriend.png'></a></center></span></td>
</tr>
</table><br />
{$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 class="tab" id="statusinfo">
<div class="tab_content">
{$custom_status}
</div></div>
</div>
<script type="text/javascript">
var tabber1 = new Yetii({
id: 'userprofile-tabs'
});
</script>
</div><br class="clearboth">
{$footer}
</body>
</html>
Lecz efekt jest całkiem inny.. a dokładnie taki: http://iv.pl/images/74270529740511946745.png
Proszę o pomoc! [/php]
Ktoś pomoże, czy coś?