podwójne forum

Założony przez  acxx.

wersja skryptu MyBB: 1.6.4
adres forum: http://piekno-natury.ugu.pl/
na czym polega problem:
Witam.
Mam problem dokładnie tak jak wtym temacie, lecz u mnie to "forum" się podwoiło, a nie sidebox.
Proszę kod acp->szablon->strona główna->index.php
<html>
<
head>
<
title>{$mybb->settings['bbname']}</title>
{
$headerinclude}
<
script type="text/javascript">
<!--
    
lang.no_new_posts "{$lang->no_new_posts}";
    
lang.click_mark_read "{$lang->click_mark_read}";
// -->
</script>
<
style type="text/css">
.
buttons {
    
backgroundurl(images/arrowright.pngno-repeat;
    
width16px;
    
height16px;
    
displayblock;
    
cursorpointer;
}

.
clickedbuttons {
    
backgroundurl(images/arrowleft.pngno-repeat;
    
width16px;
    
height16px;
    
displayblock;
    
cursorpointer;
}
</
style>
</
head>
<
body>
{
$header}
<
class="buttons" style="float: right;"></a>
<
class="clickedbuttons" style="float: right;"></a>
<
br class="clear" />
<
div class="sidebar" style="float: right;width: 19%;">
{
$sb_welcome}{$sb_search}{$sb_stats}{$sb_latestthreads}{$sb_additional}
</
div>
<
div class="forums" style="float: left;width: 80%;">
{
$forums}
</
div>
<
br class="clear" />
<
table width="100%"  border="0">
  <
tr>
    <
td width="75%" valign="top">{$forums}</td>
  </
tr>
</
table>
{
$boardstats}

<
dl class="forum_legend smalltext">
    <
dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}title="{$lang->new_posts}style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <
dd>{$lang->new_posts}</dd>

    <
dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}title="{$lang->no_new_posts}style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <
dd>{$lang->no_new_posts}</dd>

    <
dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}title="{$lang->forum_locked}style="vertical-align: middle;" /></dt>
    <
dd>{$lang->forum_locked}</dd>
</
dl>
<
br style="clear: both" />
{
$footer}
</
body>
</
html
wklej to:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
<style type="text/css">
.buttons {
background: url(images/arrowright.png) no-repeat;
width: 16px;
height: 16px;
display: block;
cursor: pointer;
}

.clickedbuttons {
background: url(images/arrowleft.png) no-repeat;
width: 16px;
height: 16px;
display: block;
cursor: pointer;
}
</style>
</head>
<body>
{$header}
<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Latest News
</strong></td>
</tr>
<tr>
<td class="trow1">
You can put some news stuff here
</td>
</tr>
</table>
</div>
<div class="forums" style="float: left;width: 80%;">
{$forums}
</div>
<br class="clear" />
{$boardstats}

<dl class="forum_legend smalltext">
<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->new_posts}</dd>

<dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->no_new_posts}</dd>

<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
<dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>
krzysztof903 dzięki. Wszytko działa jak należy.
Mam jeszcze pytanie odnośnie 'cellpic' czyli to.
Chciałbym aby wyglądało takie jak jest oryginalne ze stylu.
Więc u mnie w stylu wygląda to tak:
Cytat:.theadmain {
background: url(images/blackevo4-nature/thead_bg.gif) top left repeat-x;

height: 29px;
line-height: 30px;
margin: 0 8px 0 8px;
gdzie thead_bg jest to obrazek jak wygląda cellpic.
i nie wiem jak to wstawić w kod sidebox.
btw.
Sory, ale dopiero zaczynam z mybb i nie orientuje się.
to podmień <td class="thead"><strong> na theadmain a plugin wyrzuć zbędny jest bo to zwykłym html osiągniesz przez kopiowanie jednej regułki, zaoszczędzisz na czasie i masz wszystko pod ręka.
Działa lecz tylko Napis "aktualności" reszta bez zmian:
nawet po zmianie
<td class="trow1">
{$sb_welcome}{$sb_search}{$sb_stats}{$sb_latestthreads}{$sb_additional}
</td>
na <td class="theadmain">
co do pluginu na razie zostawię, bo dopiero stawiam forum.
bo musisz wszedzie zminić z thead
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="theadmain"><strong>
Latest News
</strong></td>
a jak pod kategorach to masz w portalu thead, więc to nie wina html tylko lokalizacji
Za bardzo tego nie ogarniam i nie wiem jak to do końca zrobić, ale chodzi mi o to (jest to chyba twoje forum ;) ) tutaj tam po prawej .
ja używam samego html i css bez pluginu
A mógłbyś udostępnić ten #kod, ponieważ było by to wtedy bardziej przejrzyste.
https://webboard.pl/zwijany-panel-jak-w-...szy-sposob



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

1 gości