Nie wyświetla postów ani tematów w profilu

Błąd   Założony przez  Ironek12.

Witam mam problem ponieważ nie wyświetla mi postów ani tematów w stylu game vision zanim tu napisałem znalazłem w necie jakiś tut zrobiłem wszystko jak kazali i dalej nie działa wie ktoś jak to naprawić ?
Jak to? Podstrona korzysta z GamesVision.css. Spróbuj CTRL+F5.
   
Cytat:w pół dnia stałeś się lepszym pytonistą niż kawenanowo kiedykolwiek programisto :3 ~ Riess 13.11.2018 16:28
Cytat:ale z tą nazwą to fyeem ma racje  ~ Divir 29.07.2019 16:08
Wstaw zawartość member_profile
Wsparcie poza forum - odpłatne.
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1804"></script>
<style>
.profil_body{
    background-color: #111;
    background-image: url({$userfields['fid5']}), url({$mybb->asset_url}/images/GamesVision/bgbody.png);
    background-attachment: fixed;
    position: absolute;
    background-repeat: repeat;
    background-position: center;
    width:100%;
}
    
.profil_opacity {
    opacity: 0.95;
}
    

</style>
</head>
<body class="profil_body">
<section>
{$header}

<table class="tborder border_table profil_opacity" border="0" cellspacing="0" cellpadding="5" style="width:100%">
<tbody><tr>
<td class="thead">
    <span class="profil_thead_bg profil_left">Profil użytkownika - {$memprofile['username']}</span>
    <span class="profil_thead_bg profil_right">{$online_status}</span>
</td>
</tr>
<tr>
<td class="trow1">
    
<div class="profil_user">
    <div class="profil_user_belka">
        <span style="font-size:18px;">{$formattedname}</span></br></br>
    <div class="profil_avatar">{$avatar}</div></br>
    <span class="smalltext">
    <div class="author_infouser"><div class="author_ikonki"><i class="fa fa-plus-square"></i></div><span>{$lang->joined}</span><div class="author_txt"> {$memregdate}</div></div>
<div class="author_infouser"><div class="author_ikonki"><i class="fa fa-birthday-cake"></i></div><span>Wiek: </span><div class="author_txt"> {$membday} {$membdayage}</div></div>
<div class="author_infouser"><div class="author_ikonki"><i class="fa fa-comment"></i></div><span>{$lang->total_posts}</span><div class="author_txt">{$memprofile['postnum']} </div></div>
    <div class="author_infouser"><div class="author_ikonki"><i class="fa fa-comments"></i></div><span>{$lang->total_threads}</span><div class="author_txt">{$memprofile['threadnum']} </div></div>
    </span>
        {$buddy_options}{$ignore_options}{$report_options}
</div>
    </br>{$profileVisitors}
    </div>
    
<div class="profil_statystyki">
<ul class="tabs">
    <li><a href="#tab1">O mnie</a></li>
    <li><a href="#tab2">Kontakt</a></li>
    <li><a href="#tab3">Aktywność</a></li>
    <li><a href="#tab4">Posty</a></li>  
    <li><a href="#tab5">Tematy</a></li>    
    </ul>
    <br>
<div id="tab1" class="tab_content">
    {$profilefields}
    {$signature}
    {$modoptions}
    {$adminoptions}
    </div>
<div id="tab2" class="tab_content">
        {$contact_details}</div>
<div id="tab3" class="tab_content">
      <table class="tborder border_table" border="0" cellspacing="0" cellpadding="5" style="width:100%" >
<tbody><tr>
<td class="thead" colspan="2">
{$lang->users_forum_info}
</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}){$findposts}</td>
                </tr>
                <tr>
                    <td class="trow2"><strong>{$lang->total_threads}</strong></td>
                    <td class="trow2">{$memprofile['threadnum']} ({$lang->tpd_percent_total}){$findthreads}</td>
                </tr>
                <tr>
                    <td class="trow1"><strong>{$lang->timeonline}</strong></td>
                    <td class="trow1">{$timeonline}</td>
                </tr>

</td>
</tr>
    </tbody></table></div>
<div id="tab4" class="tab_content">
           WKRÓTCE!</div>
    <div id="tab5" class="tab_content">
           WKRÓTCE!

    </div>

</td>
</tr>
</tbody></table>
{$footer}
</section>
</body>
</html>
Dla postów dodaj odpowiednio zmienne
<tr>
<td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total}){$findposts}</td>
</tr>
dla tematów:

<tr>
<td class="trow2"><strong>{$lang->total_threads}</strong></td>
<td class="trow2">{$memprofile['threadnum']} ({$lang->tpd_percent_total}){$findthreads}</td>
</tr>

w miejsce

<div id="tab4" class="tab_content">
          WKRÓTCE!</div>
   <div id="tab5" class="tab_content">
          WKRÓTCE!

   </div>

Wygląd i położenie edytujesz dowolnie.
Wsparcie poza forum - odpłatne.
Działa tylko jest jeden problem

http://imgur.com/pyTfDiz
Szogi1910 napisał 31.05.2017, 21:25:
Wszelkie zrzuty z ekranu należy dodawać w postaci załącznika. Zabronione jest zamieszczanie grafik / plików umieszczonych na serwerach zewnętrznych.
Musisz to odpowiednio umieścić w #tab, prawdopodobnie tak:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1804"></script>
<style>
.profil_body{
    background-color: #111;
    background-image: url({$userfields['fid5']}), url({$mybb->asset_url}/images/GamesVision/bgbody.png);
    background-attachment: fixed;
    position: absolute;
    background-repeat: repeat;
    background-position: center;
    width:100%;
}

.profil_opacity {
    opacity: 0.95;
}


</style>
</head>
<body class="profil_body">
<section>
{$header}

<table class="tborder border_table profil_opacity" border="0" cellspacing="0" cellpadding="5" style="width:100%">
<tbody><tr>
<td class="thead">
    <span class="profil_thead_bg profil_left">Profil użytkownika - {$memprofile['username']}</span>
    <span class="profil_thead_bg profil_right">{$online_status}</span>
</td>
</tr>
<tr>
<td class="trow1">

<div class="profil_user">
    <div class="profil_user_belka">
        <span style="font-size:18px;">{$formattedname}</span></br></br>
    <div class="profil_avatar">{$avatar}</div></br>
    <span class="smalltext">
    <div class="author_infouser"><div class="author_ikonki"><i class="fa fa-plus-square"></i></div><span>{$lang->joined}</span><div class="author_txt"> {$memregdate}</div></div>
<div class="author_infouser"><div class="author_ikonki"><i class="fa fa-birthday-cake"></i></div><span>Wiek: </span><div class="author_txt"> {$membday} {$membdayage}</div></div>
<div class="author_infouser"><div class="author_ikonki"><i class="fa fa-comment"></i></div><span>{$lang->total_posts}</span><div class="author_txt">{$memprofile['postnum']} </div></div>
    <div class="author_infouser"><div class="author_ikonki"><i class="fa fa-comments"></i></div><span>{$lang->total_threads}</span><div class="author_txt">{$memprofile['threadnum']} </div></div>
    </span>
        {$buddy_options}{$ignore_options}{$report_options}
</div>
    </br>{$profileVisitors}
    </div>

<div class="profil_statystyki">
<ul class="tabs">
    <li><a href="#tab1">O mnie</a></li>
    <li><a href="#tab2">Kontakt</a></li>
    <li><a href="#tab3">Aktywność</a></li>
    <li><a href="#tab4">Posty</a></li>
    <li><a href="#tab5">Tematy</a></li>
    </ul>
    <br>
 <div id="tab1" class="tab_content">
    {$profilefields}
    {$signature}
    {$modoptions}
    {$adminoptions}
    </div>
 <div id="tab2" class="tab_content">
        {$contact_details}</div>
 <div id="tab3" class="tab_content">
      <table class="tborder border_table" border="0" cellspacing="0" cellpadding="5" style="width:100%" >
<tbody><tr>
<td class="thead" colspan="2">
{$lang->users_forum_info}
</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->timeonline}</strong></td>
                    <td class="trow1">{$timeonline}</td>
                </tr>

 </td>
</tr>
    </tbody></table></div>
 <div id="tab4" class="tab_content">
        <table class="tborder border_table" border="0" cellspacing="0" cellpadding="5" style="width:100%" >
 <tr>
                    <td class="trow1"><strong>{$lang->total_posts}</strong></td>
                    <td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total}){$findposts}</td>
                </tr>
                </table>
 <div id="tab5" class="tab_content">
           <table class="tborder border_table" border="0" cellspacing="0" cellpadding="5" style="width:100%" >

               <tr>
                    <td class="trow2"><strong>{$lang->total_threads}</strong></td>
                    <td class="trow2">{$memprofile['threadnum']} ({$lang->tpd_percent_total}){$findthreads}</td>
                </tr>
</table>
 </div>
</td>
</tr>
</tbody></table>
{$footer}
</section>
</body>
</html>

Ilość postów i tematów masz w #tab3 - przeglądnij kod i edytuj go odpowiednio dla pozostałych tab
Wsparcie poza forum - odpłatne.



Użytkownicy przeglądający ten wątek:

1 gości