Webboard

Pełna wersja: Ranga zakrywa nick, i napis nicku
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: MyBB 1.6.9.
adres forum: www.cs-gibon.pl
na czym polega problem (screen, opis, komunikaty): No więc na screen 1 ( z rangą ), nie wiem czemu, ale obrazek rangi, nachodzi ( zakrywa ) nick :(

na 2 screen jak zrobić, żeby zamiast zwykłego napisu nicku pokazywało, ten aktualny napis nicku, a mianowicie, czerwony napis z cieniem itd.

Pomoc
Ad 2. https://webboard.pl/thread-16911.html

Ad 1. Pokaż member_profile (ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Podgląd profilu)
Skopiowałem i zapisałem w html poprzez notatnik
chyba, że tak nie można, to poszukam normalnie ten plik
Pokaż mi szablon member_profile..
I nigdy nie otwieraj notatnikiem. Zaopatrz się najlepiej w notepad++
A teraz
>.< Pokaż szablon żeby nie grzebać w pliku..
ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Podgląd profilu -> member_profile ..
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<div><div class="thead" style="width: 1000px;"><span style="position:relative;top:10px;left:10px;">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>{$groupimage}</span><br />
    <span>Dołączył {$memregdate}</span><br />
    <div class="userprofile_online">{$online_status}
{$custom_status}
{$custom_status}</div><br />
    {$userstars}<br />
    </div></div>
<div id="userprofile-tabs">

    <ul id="userprofile-tabs-nav">
    <li><a href="#generalinfo">Forum</a></li>
    <li><a href="#contactinfo">Kontakt</a></li>
    <li><a href="#additionalinfo">Inne opcje</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&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;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}</div><br />
{$warning_level}
</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&amp;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&amp;imtype=aim&amp;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&amp;imtype=yahoo&amp;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&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>


    </div></div>
    
    <div class="tab" id="more">
<div class="tab_content">
    {$profilefields}
{$signature}<div style="position: relative;
top: 10px;
left: 10px;">{$buddy_options}</div>
{$adminoptions}
{$modoptions}
    </div></div>

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

o to chodzi ?!
Spróbuj taki:
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<div><div class="thead" style="width: 1000px;"><span style="position:relative;top:10px;left:10px;">Profil użytkownika.</span></div>
    <div id="userprofile-maininfo"><div class="userprofile_avatar">{$avatar}</div>
    <div style="padding:20px;"><h2>{$formattedname}<br /></h2>  
<br />  
    {$awaybit}
    <span>{$groupimage}</span><br />
    <span>Dołączył {$memregdate}</span><br />
    <div class="userprofile_online">{$online_status}
{$custom_status}
{$custom_status}</div><br />
    {$userstars}<br />
    </div></div>
<div id="userprofile-tabs">

    <ul id="userprofile-tabs-nav">
    <li><a href="#generalinfo">Forum</a></li>
    <li><a href="#contactinfo">Kontakt</a></li>
    <li><a href="#additionalinfo">Inne opcje</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&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;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}</div><br />
{$warning_level}
</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&amp;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&amp;imtype=aim&amp;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&amp;imtype=yahoo&amp;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&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>


    </div></div>
    
    <div class="tab" id="more">
<div class="tab_content">
    {$profilefields}
{$signature}<div style="position: relative;
top: 10px;
left: 10px;">{$buddy_options}</div>
{$adminoptions}
{$modoptions}
    </div></div>

</div>
<script type="text/javascript">
var tabber1 = new Yetii({
id: 'userprofile-tabs'
});
</script>
</div><br class="clearboth">
{$footer}
</body>
</html>
Działa Wielkie dzięki :)