wersja skryptu MyBB:1.6.6
adres forum:Rocznik96.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Witajcie chciałem zrobić ikony online i offline przy postach i zrobiłem Mazuluka grafikę umieścił.
W global.css dodałem
Kod:
.online_button {
margin-left: -125px;
margin-top: -33px;
}
A w postbit_online
Kod:
<div class="online_button"><!-- start: postbit_online -->
<a href="online.php" title="Online"><img src="images/online.png" border="0" alt="Online"></a>
<!-- end: postbit_online --></div>
I gdy to dodałem zrobił mi się odstęp miedzy nazwą a tytułem użytkownika awatarem i resztą widać to na SS
Jak wygląda Twój szablon postbit_classic?
Zrobiłem
w
postbit_classic podmieniłem stary kod na
Kod:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tr>
<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<span class="largetext"><div style="margin-top: 11px;">{$post['profilelink']}</div></span>{$post['onlinestatus']}
<span class="smalltext">
<div style="margin-top: -22px;">{$post['usertitle']}<br />
{$post['groupimage']}
{$post['useravatar']}
<div class="dane_usera">
{$post['user_details']}
</div></span>
</td>
<td class="{$altbg}" valign="top">
<table width="100%">
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
<br />
<div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
{$post['download_system']}{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
{$post['iplogged']}
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
<td class="{$altbg}" style="vertical-align: middle;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote_fast']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
</tr>
</table>
</td>
</tr>
</table>
Gdzie znajdę postbit+classic - sorry, za odświeżenie tematu ;/
ACP -> Style i szablony -> Szablony -> Twój -> Opis posta - Szablony
Pomoże ktoś bo ja nie mam zwykłego układu postu i nie działa postbit_classic
Od układu poziomego jest postbit.
Ale mi chodzi o kod czy ten sam będzie pasował do poziomego też ??
A mógł by ktoś pomóc i przynajmniej zarys lub gotowy kod napisać ?
Dodaj tak jak w pierwszym poście do tego w klasie .onlinebutton dodaj
. Pobaw się marginesami, jeżeli będziesz miał dalej jakieś problemy, to załóż oddzielny wątek.