wersja skryptu MyBB: 1.6
adres forum: nima.
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Witam, jak zmienić panele logowania itd na portalu? domyślnie są na lewej stronie i chcem przenieść na prawą, jak to zrobić? Oraz jak w mybb utworzyć wybieranie perfiksów w tematach?
No dobrze, ja wiem, tylko chodzi mi jak na prawą strone przestawić?
No to jednak nie wiesz... Pokaż szablon portal
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_announcements} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php?portal=1" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_announcements} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?portal=1&type=atom1.0" />
{$headerinclude}
</head>
<body id="portal">
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Latest News
</strong></td>
</tr>
<td valign="right" width="200">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td valign="right" width="200">
{$welcome}
{$pms}
{$latestthreads}
{$stats}
{$whosonline}
</td>
<td> </td>
<td valign="top">
{$announcements}
{$multipage}
</td>
</tr>
</table>
{$footer}
</body>
</html>
I jak zrobić żeby zamiast tych wszystkich paneli po lewej stronie zrobić np. 2 zwykłe boczne tabelki po prawej stronie?
Nie wiem czy zadziała. Podmień szablony.
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_announcements} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php?portal=1" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_announcements} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?portal=1&type=atom1.0" />
{$headerinclude}
</head>
<body id="portal">
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Latest News
</strong></td>
</tr>
<td valign="right" width="200">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td valign="right" width="200"> </td>
<td> </td>
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Tytuł
</strong></td>
</tr>
<tr>
<td>
Treść
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</table>
</tr>
</table>
{$footer}
</body>
</html>
Nie, nie działa, nawet zrobileś tak że żadnych napisanych postów nie widać.
Ale powinno widać tabelkę po prawej.
Jest tak porypane bo wszystko na siebie zaszło wszystkie tabelki.