11.12.2017, 19:27
Jak poprawić ten błąd lub nie dogodność żeby można było kliknąć i zobaczyć kto odpowiedział w danym temacie bo w danym momencie nie można tego zrobić
(11.12.2017, 19:33)Divir napisał(a): [ -> ]Zmienna{$findposts} i{$findthreads} ? Nie mam pojęcia co masz na myśli, strzelam.
(11.12.2017, 21:00)Divir napisał(a): [ -> ]No to dałem ci zmienne od tego.
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1804"></script>
</head>
<body>
{$header}
<div class="profcontainer">
<div class="left-sidebar">
<div class="sidebar-container">
<div class="sidebar-inner">
<span class="float_left clr_drk">{$lang->joined}</span>
<span class="float_right">{$memregdate}</span><br />
<span class="float_left clr_drk">Posts:</span>
<span class="float_right">{$memprofile['postnum']}</span><br />
<span class="float_left clr_drk">Threads:</span>
<span class="float_right">{$memprofile['threadnum']}</span><br />
{$referrals}
{$buddy_options}
{$ignore_options}
{$report_options}
</div>
</div>
<div class="sidebar-container">
<div class="sidebar-inner">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor...
</div>
</div>
</div>
<div class="profheading">
<div class="ava-hs">{$avatar}</div>
<div>
<span class="fw-fn">{$formattedname}</span><br />
<span style="font-weight: 400;">{$usertitle}</span><br />
<span>{$groupimage}</span>
</div>
</div>
<div class="resp ib-hs">
<div class="sidebar-container">
<div class="sidebar-inner">
<span class="float_left clr_drk">{$lang->joined}</span>
<span class="float_right">{$memregdate}</span><br />
<span class="float_left clr_drk">Posts:</span>
<span class="float_right">{$memprofile['postnum']}</span><br />
<span class="float_left clr_drk">Threads:</span>
<span class="float_right">{$memprofile['threadnum']}</span><br />
{$referrals}
{$buddy_options}
{$ignore_options}
{$report_options}
</div>
</div>
<div class="sidebar-container">
<div class="sidebar-inner">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor...
</div>
</div>
<br />
</div>
<div class="tabs-wrap">
<ul class="tabs">
<li class="tab-link current" data-tab="tab-1">{$lang->users_forum_info}</li>
<li class="tab-link" data-tab="tab-2">{$lang->users_additional_info}</li>
<li class="tab-link" data-tab="tab-3">{$lang->users_signature}</li>
<li class="tab-link" data-tab="tab-4">{$lang->users_contact_details}</li>
</ul>
<div id="tab-1" class="tab-content current">
<div>
<div class="profile-ctbox">
<span>{$lang->postbit_status}</span><br />
<span class="clr_gry">{$online_status}</span><br />
</div>
<div class="profile-ctbox">
<span>{$lang->lastvisit}</span><br />
<span class="clr_gry">{$memlastvisitdate}</span>
</div>
{$reputation}
{$warning_level}
<div class="profile-ctbox">
<span>{$lang->timeonline}</span><br />
<span class="clr_lgr">{$timeonline}</span>
</div>
</div>
</div>
<div id="tab-2" class="tab-content">
{$profilefields}
<div class="profile-ctbox">
<span>{$lang->total_posts}</span><br />
<span class="clr_lgr">{$memprofile['postnum']} ({$lang->ppd_percent_total}){$findposts}</span>
</div>
<div class="profile-ctbox">
<span>{$lang->total_threads}</span><br />
<span class="clr_lgr">{$memprofile['threadnum']} ({$lang->tpd_percent_total}){$findthreads}</span>
</div>
{$modoptions}
{$adminoptions}
</div>
<div id="tab-3" class="tab-content">{$signature}</div>
<div id="tab-4" class="tab-content">{$contact_details}</div>
</div>
<br />
</div>
{$awaybit}
{$bannedbit}
<script language="javascript" type="text/javascript">
$('ul.tabs li').click(function(){
var tab_id = $(this).attr('data-tab');
$('ul.tabs li').removeClass('current');
$('.tab-content').removeClass('current');
$(this).addClass('current');
$("#"+tab_id).addClass('current');
});
</script>
{$footer}
</body>
</html>
(12.12.2017, 17:40)Divir napisał(a): [ -> ]Musisz edytować zły szablon lub tego nie widzieć. Testowałem u siebie i działa normalnie po dodaniu domember_profile .
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1800"></script>
</head>
<body>
{$header}
<fieldset>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="75%">
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<span class="smalltext">
({$usertitle})<br />
{$groupimage}
{$userstars}<br />
<br />
<strong>{$lang->registration_date}</strong> {$memregdate}<br />
<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<strong>{$lang->local_time}</strong> {$localtime}<br />
<strong>{$lang->postbit_status}</strong> {$online_status}
</span>
</td>
<td width="25%" align="right" valign="middle">{$avatar}</td>
</tr>
</table>
</fieldset>
<br />
{$awaybit}
<div class="row">
<div class="col-md-6 col-sm-6">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td>
</tr>
<tr>
<td class="trow1" style="width: 30%;"><strong>{$lang->joined}</strong></td>
<td class="trow1">{$memregdate}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<td class="trow2">{$memlastvisitdate}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduser&uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->total_threads}</strong></td>
<td class="trow2">{$memprofile['threadnum']} ({$lang->tpd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&uid={$uid}">{$lang->find_threads}</a>)</span></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->timeonline}</strong></td>
<td class="trow1">{$timeonline}</td>
</tr>
{$referrals}
{$reputation}
{$warning_level}{$newpoints_profile}
</table>
{$contact_details}
<br />
</div>
<div class="col-md-6 col-sm-6">
{$profilefields}
{$signature}
{$modoptions}
{$adminoptions}
<div style="text-align: center">{$buddy_options}{$ignore_options}{$report_options}</div>
</div>
</div>
{$footer}
</body>
</html>