wersja skryptu MyBB: 1.6.14
adres forum:
http://associationteamsfutbolcup.cba.pl/index.php
na czym polega problem (screen, opis, komunikaty, nazwa i wersja wtyczki):
Chcę aby na stronie głównej avatary były po prawej stronie informacji, a nie lewej.
Pokaż szablon forumbit_depth2_forum
Kod PHP:
<tr>
<td rowspan="2" class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td rowspan="2" class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']} {$subforums}</div>
</td>
<td colspan="2" class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap" width="260">{$lastpost}</td>
</tr>
<tr height="1">
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap" width="130">Postów: {$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap" width="130">Wątków: {$threads}{$unapproved['unapproved_threads']}</td>
</tr>
Pokaż szablon forumbit_depth2_forum_lastpost
jest w Opis działu
Kod PHP:
<span class="smalltext">{$forum['lastposteravatar']}
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date} {$lastpost_time}<br />{$lang->by} {$lastpost_profilelink}</span>
Spróbuj tak:
Kod PHP:
<span class="smalltext">
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date} {$lastpost_time}<br />{$lang->by} {$lastpost_profilelink}</span><span style="float: right;">{$forum['lastposteravatar']}</span>
Niezbyt dobrze to wyszło. Sam zobacz.
Kod PHP:
<span style="float: right;">{$forum['lastposteravatar']}</span><span class="smalltext" style="float: left; margin-left: 30px;">
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date} {$lastpost_time}<br />{$lang->by} {$lastpost_profilelink}</span>
Chciałbym żeby info o ostatnim poście było przy samym avatarze.
No to zwiększ: margin-left: 30px;