pokaż szablon member_profile (podgląd profilu).
Kod:
<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 id="forums">
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr>
<td valign="top" width="25%">
<div class="proi">
<center><div class="proav">{$avatar}</div></center>
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<span class="smalltext">
({$usertitle})<br />
{$groupimage}
{$userstars}<br />
<br />
<strong>Join date:</strong> {$memregdate}<br />
<strong>D.O.B:</strong> {$membday} {$membdayage}<br />
<strong>Czas:</strong> {$localtime}<br />
</span>
</div>
{$adminoptions}
{$modoptions}
</td>
<td> </td>
<td valign="top">
{$online_status}
<!-- tabs -->
<div class="pcss3t pcss3t-height-auto">
<input type="radio" name="pcss3t" checked id="tab1"class="tab-content-first">
<label for="tab1"><i class="icon-bolt"></i>Forum info</label>
<input type="radio" name="pcss3t" id="tab2" class="tab-content-2">
<label for="tab2"><i class="icon-picture"></i>Dane kontaktowe</label>
<input type="radio" name="pcss3t" id="tab3" class="tab-content-3">
<label for="tab3"><i class="icon-cogs"></i>O sobie</label>
<input type="radio" name="pcss3t" id="tab5" class="tab-content-last">
<label for="tab5"><i class="icon-globe"></i>Extra link</label>
<ul>
<li class="tab-content tab-content-first typography">
<p><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<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}
</table>
<div class="float_left">{$buddy_options}{$ignore_options}{$report_options} </div>
{$signature}
</p>
</li>
<li class="tab-content tab-content-2 typography">
<p><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
<colgroup>
<col style="width: 30%;" />
</colgroup>
<tr>
<td class="trow1"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="{$bgcolors['pm']}"><strong>{$lang->pm}</strong></td>
<td class="{$bgcolors['pm']}"><a href="private.php?action=send&uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
{$contact_fields['icq']}
{$contact_fields['aim']}
{$contact_fields['yahoo']}
{$contact_fields['skype']}
{$contact_fields['google']}
</table></p>
</li>
<li class="tab-content tab-content-3 typography">
<p>{$profilefields}</p>
</li>
<li class="tab-content tab-content-last typography">
<div class="typography">
<p>Zawartość tutaj</p>
</div>
</li>
</ul>
</div>
<!--/ tabs -->
</td>
</tr>
</table>
{$footer}
</body>
Kod PHP:
<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 id="forums">
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr>
<td valign="top" width="25%">
<div class="proi">
<center><div class="proav">{$avatar}</div></center>
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<span class="smalltext">
({$usertitle})<br />
{$groupimage}
{$userstars}<br />
<br />
<strong>Join date:</strong> {$memregdate}<br />
<strong>D.O.B:</strong> {$membday} {$membdayage}<br />
<strong>Czas:</strong> {$localtime}<br />
</span>
</div>
{$adminoptions}
{$modoptions}
</td>
<td> </td>
<td valign="top">
{$online_status}
<!-- tabs -->
<div class="pcss3t pcss3t-height-auto">
<input type="radio" name="pcss3t" checked id="tab1"class="tab-content-first">
<label for="tab1"><i class="icon-bolt"></i>Forum info</label>
<input type="radio" name="pcss3t" id="tab2" class="tab-content-2">
<label for="tab2"><i class="icon-picture"></i>Dane kontaktowe</label>
<input type="radio" name="pcss3t" id="tab3" class="tab-content-3">
<label for="tab3"><i class="icon-cogs"></i>O sobie</label>
<input type="radio" name="pcss3t" id="tab5" class="tab-content-last">
<label for="tab5"><i class="icon-globe"></i>Extra link</label>
<ul>
<li class="tab-content tab-content-first typography">
<p><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<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}
</table>
<div class="float_left">{$buddy_options}{$ignore_options}{$report_options} </div>
{$signature}
</p>
</li>
<li class="tab-content tab-content-2 typography">
<p><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
<colgroup>
<col style="width: 30%;" />
</colgroup>
{$contact_details}
{$contact_fields['icq']}
{$contact_fields['aim']}
{$contact_fields['yahoo']}
{$contact_fields['skype']}
{$contact_fields['google']}
</table></p>
</li>
<li class="tab-content tab-content-3 typography">
<p>{$profilefields}</p>
</li>
<li class="tab-content tab-content-last typography">
<div class="typography">
<p>Zawartość tutaj</p>
</div>
</li>
</ul>
</div>
<!--/ tabs -->
</td>
</tr>
</table>
{$footer}
</body>
Co zmieniles? Tak dla mnie info
Takie cos wyskakuje:
Wystąpiły następujące problemy:
W tym szablonie została wykryta potencjalna luka bezpieczeństwa. Zweryfikuj szablon lub skontaktuj się z twórcami MyBB w celu uzyskania pomocy.
Kod PHP:
<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 id="forums">
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr>
<td valign="top" width="25%">
<div class="proi">
<center><div class="proav">{$avatar}</div></center>
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<span class="smalltext">
({$usertitle})<br />
{$groupimage}
{$userstars}<br />
<br />
<strong>Join date:</strong> {$memregdate}<br />
<strong>D.O.B:</strong> {$membday} {$membdayage}<br />
<strong>Czas:</strong> {$localtime}<br />
</span>
</div>
{$adminoptions}
{$modoptions}
</td>
<td> </td>
<td valign="top">
{$online_status}
<!-- tabs -->
<div class="pcss3t pcss3t-height-auto">
<input type="radio" name="pcss3t" checked id="tab1"class="tab-content-first">
<label for="tab1"><i class="icon-bolt"></i>Forum info</label>
<input type="radio" name="pcss3t" id="tab2" class="tab-content-2">
<label for="tab2"><i class="icon-picture"></i>Dane kontaktowe</label>
<input type="radio" name="pcss3t" id="tab3" class="tab-content-3">
<label for="tab3"><i class="icon-cogs"></i>O sobie</label>
<input type="radio" name="pcss3t" id="tab5" class="tab-content-last">
<label for="tab5"><i class="icon-globe"></i>Extra link</label>
<ul>
<li class="tab-content tab-content-first typography">
<p><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<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}
</table>
<div class="float_left">{$buddy_options}{$ignore_options}{$report_options} </div>
{$signature}
</p>
</li>
<li class="tab-content tab-content-2 typography">
<p><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
{$contact_details}
{$contact_fields['icq']}
{$contact_fields['aim']}
{$contact_fields['yahoo']}
{$contact_fields['skype']}
{$contact_fields['google']}
</table></p>
</li>
<li class="tab-content tab-content-3 typography">
<p>{$profilefields}</p>
</li>
<li class="tab-content tab-content-last typography">
<div class="typography">
<p>Zawartość tutaj</p>
</div>
</li>
</ul>
</div>
<!--/ tabs -->
</td>
</tr>
</table>
{$footer}
</body>
A tak?
dodałem {$contact_details}
Dajej to samo :/ POMOCY !!
No to poczekamy, aż udostępnisz nam forum, wtedy więcej doradzę, mam nadzieję.
A to na pewno tutaj jest, a nie w innym pliku? Nie udostepnie bo mam na localhostu, pisalem
Gdybyśmy mieli kod na widoku, to byśmy napisali, czy to na pewno tu, to jest tak jakby "strzał"...
To piszcie gdzie to moze byc ja posprawdzam