Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Umieszczenie elementu w innym miejscu.

Założony przez  ThomasGrand.

wersja skryptu MyBB:1,8,5
adres forum: www.fast-gaming.eu
Styl [1.8] Splat Dark pobrany stąd https://webboard.pl/thread-62527.html (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

[Obrazek: 61135423853472968382.jpg]
[Obrazek: 73335700678411030569.jpg]

[b]Witam, mam problem z pluginem "OSTATNIE TEMATY"
Chciałbym go przenieść w miejsce pod kalendarzem.
Wie ktoś jak go umieścić w tym miejscu ? :)
Nie jest to rozsądne wyjście, bo po prostu ta tabelka nie zmieści się w panelu bocznym... No, ale jak chcesz, to zapewne szablon index (strona główna) i zmienną przenieś w <div-a> o klasie sidebar.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Przepraszam, w tej kwestii jestem akurat zielony. Możesz mi ten kod podesłać czy coś ? :)
Tylko jaki kod? Nie mam Twojego index-u.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}{$recentthread_headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body id="forums">
{$header}
{$changfcb} <br />
        <div class="thead" id="th303">
            <span class="expcolimage expcol_close"><img src="images/Splat_dark/collapse.png"></span>
<span style="display:none;" class="expcolimage expcol_open"><img src="images/Splat_dark/collapse_collapsed.png"></span>
<div><strong>Serwery</strong></div>
            </div><div id="expcol_box303">
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
        <tbody><tr>
            
        </tr>
        <tr>
        <td class="row1"><span class="gen">

        <table class="table_forum" border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
        <tbody><tr>
        <td class="trow2" style="padding: 5px;" align="center"><b>Gra</b></td>
        <td class="trow2" style="padding: 5px;" align="center"><b>Nazwa</b></td>
        <td class="trow2" style="padding: 5px;" align="center"><b>Monitoring</b></td>
        <td class="trow2" style="padding: 5px;" align="center"><b>Sloty</b></td>
        <td class="trow2" style="padding: 5px;" align="center"><b>Adres IP</b></td>
        <td class="trow2" style="padding: 5px;" align="center"><b>Połącz</b></td>
        </tr>
<tr>
            <td class="trow2" align="center"><img src="images/Splat_dark/cstrike.gif" title="Counter-Strike 1.6" alt="cs"></td>
            <td class="trow2" align="center"><span class="ipsBadge ipsBadge_green">FAST-GAMING ONLY DD2 [VIP]</span></td>
            <td class="trow2" align="center"><a href="http://www.gametracker.com/server_info/46.29.21.218:27361/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/46.29.21.218:27361/b_350_20_692108_381007_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></td>
            <td class="trow2" align="center">18</td>
            <td class="trow2" align="center">46.29.21.218:27361</td>
            <td class="trow2" align="center"><span class="ipsButton_secondary"><a href="steam://connect/46.29.21.218:27361"><img src="images/Splat_dark/cstrike.gif" alt="cs" style="margin: 0px 3px -4px -3px;">Połącz</a></span></td>
        </tr>
<tr>
            <td class="trow2" align="center"><img src="images/Splat_dark/cstrike.gif" title="Counter-Strike 1.6" alt="cs"></td>
            <td class="trow2" align="center"><span class="ipsBadge ipsBadge_green">FAST-GAMING TP [ESL MAPS]</span></td>
            <td class="trow2" align="center"><a href="http://www.gametracker.com/server_info/46.29.21.218:27331/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/46.29.21.218:27331/b_350_20_692108_381007_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></td>
            <td class="trow2" align="center">18</td>
            <td class="trow2" align="center">46.29.21.218:27331</td>
            <td class="trow2" align="center"><span class="ipsButton_secondary"><a href="steam://connect/46.29.21.218:27331"><img src="images/Splat_dark/cstrike.gif" alt="cs" style="margin: 0px 3px -4px -3px;">Połącz</a></span></td>
        </tr>
<tr>
            <td class="trow2" align="center"><img src="images/Splat_dark/cstrike.gif" title="Counter-Strike 1.6" alt="cs"></td>
            <td class="trow2" align="center"><span class="ipsBadge ipsBadge_green">FAST-GAMING TS3</span></td>
            <td class="trow2" align="center"><a href="http://www.gametracker.com/server_info/178.217.191.220:6390/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/178.217.191.220:6390/b_350_20_692108_381007_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></td>
            <td class="trow2" align="center">100</td>
            <td class="trow2" align="center">fast-gaming.eu</td>
            <td class="trow2" align="center"><span class="ipsButton_secondary"><a href="steam://connect/fast-gaming.eu"><img src="images/Splat_dark/cstrike.gif" alt="cs" style="margin: 0px 3px -4px -3px;">Połącz</a></span></td>
        </tr>

        </tbody></table>

        </span></td>
        </tr>
        </tbody></table> </div>
    
    <br>
    
    <a class="buttons" style="float: right;"><i class="fa fa-angle-right"></i></a>
    <a class="clickedbuttons" style="float: right;"><i class="fa fa-angle-left"></i></a>

<div class="sidebar" style="float: right;width: 19%;">
    
    <div class="thead" id="th34">
        <span class="expcolimage expcol_close"><a class="mod_links">×</a></span>
        <span style="display:none;" class="expcolimage expcol_open"><a class="mod_links">...</a></span>
    <div><span class="fbits"><strong>Kalendarz</strong></span></div>
</div>
<div id="expcol_box34">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
    <tr>
<td class="trow1"><span class="smalltext"><div id="404kal">trwa inicjalizacja, prosze czekac...</div><script type="text/javascript" src="http://404bajery.pl/kalendarz/kal.php?tlo=FED556&czcionka=333333&nag=FFA500&dni=FCBD01&dzis=FF8C00&szer=160"></script></span></td>
<div><span class="fbits"><strong>Licznik Odwiedzin</strong></span></div>
<div id="404l">trwa inicjalizacja, prosze czekac...</div></div><script type="text/javascript" src="http://404bajery.pl/licznik/licz.php?id=00153839&start=0&min=5&mode=views&typ=1"></script>
</tr>

<tr>
    <td class="tfoot" style="text-align: right">
        <span class="smalltext">
            GPP
        </span>
    </td>
</tr>
</tbody>
</table>
</div>
    
</div>
<div class="forums" style="float: left;width: 80%;">
{$forums}<div id="recentthreads">{$recentthreadtable}</div>
</div>
    <br class="clear">
{$boardstats}

<br class="clear" />
{$footer}
</body>
</html>[/php]
Spróbuj do index dodać ten kod:
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
  <div class="ipsBox table_wrap">
    <div class="ipsBox_container">
     <table width="100%" cellspacing="0" cellpadding="0" border="0">
     <td class="border_solid">
       <table width="100%" cellpadding="0" cellspacing="0" border="0" class="thead">
    <tr>
        <th width="100%" class="thspecial" colspan="3" align="left">
{$topStats['LastThreads']}
{$topStats['LastActiveThreads']}
{$topStats['MostViews']}
{$topStats['Posters']}
{$topStats['reputation']}
{$topStats['Referrals']}
{$topStats['Timeonline']}
{$topStats['NewestUsers']}
    </tr>
        </table>
</div></div</div>
Co będziesz chciał to sobie wyrzucisz,a co nie to nie:) A i zaistaluj ten plugin
http://community.mybb.com/mods.php?action=view&pid=269 (chyba, że go instalowałeś.
Rób jak uważasz, ja twierdzę, że będzie fatalnie wyglądać...
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}{$recentthread_headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body id="forums">
{$header}
{$changfcb} <br />
        <div class="thead" id="th303">
            <span class="expcolimage expcol_close"><img src="images/Splat_dark/collapse.png"></span>
<span style="display:none;" class="expcolimage expcol_open"><img src="images/Splat_dark/collapse_collapsed.png"></span>
<div><strong>Serwery</strong></div>
            </div><div id="expcol_box303">
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
        <tbody><tr>
            
        </tr>
        <tr>
        <td class="row1"><span class="gen">

        <table class="table_forum" border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
        <tbody><tr>
        <td class="trow2" style="padding: 5px;" align="center"><b>Gra</b></td>
        <td class="trow2" style="padding: 5px;" align="center"><b>Nazwa</b></td>
        <td class="trow2" style="padding: 5px;" align="center"><b>Monitoring</b></td>
        <td class="trow2" style="padding: 5px;" align="center"><b>Sloty</b></td>
        <td class="trow2" style="padding: 5px;" align="center"><b>Adres IP</b></td>
        <td class="trow2" style="padding: 5px;" align="center"><b>Połącz</b></td>
        </tr>
<tr>
            <td class="trow2" align="center"><img src="images/Splat_dark/cstrike.gif" title="Counter-Strike 1.6" alt="cs"></td>
            <td class="trow2" align="center"><span class="ipsBadge ipsBadge_green">FAST-GAMING ONLY DD2 [VIP]</span></td>
            <td class="trow2" align="center"><a href="http://www.gametracker.com/server_info/46.29.21.218:27361/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/46.29.21.218:27361/b_350_20_692108_381007_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></td>
            <td class="trow2" align="center">18</td>
            <td class="trow2" align="center">46.29.21.218:27361</td>
            <td class="trow2" align="center"><span class="ipsButton_secondary"><a href="steam://connect/46.29.21.218:27361"><img src="images/Splat_dark/cstrike.gif" alt="cs" style="margin: 0px 3px -4px -3px;">Połącz</a></span></td>
        </tr>
<tr>
            <td class="trow2" align="center"><img src="images/Splat_dark/cstrike.gif" title="Counter-Strike 1.6" alt="cs"></td>
            <td class="trow2" align="center"><span class="ipsBadge ipsBadge_green">FAST-GAMING TP [ESL MAPS]</span></td>
            <td class="trow2" align="center"><a href="http://www.gametracker.com/server_info/46.29.21.218:27331/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/46.29.21.218:27331/b_350_20_692108_381007_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></td>
            <td class="trow2" align="center">18</td>
            <td class="trow2" align="center">46.29.21.218:27331</td>
            <td class="trow2" align="center"><span class="ipsButton_secondary"><a href="steam://connect/46.29.21.218:27331"><img src="images/Splat_dark/cstrike.gif" alt="cs" style="margin: 0px 3px -4px -3px;">Połącz</a></span></td>
        </tr>
<tr>
            <td class="trow2" align="center"><img src="images/Splat_dark/cstrike.gif" title="Counter-Strike 1.6" alt="cs"></td>
            <td class="trow2" align="center"><span class="ipsBadge ipsBadge_green">FAST-GAMING TS3</span></td>
            <td class="trow2" align="center"><a href="http://www.gametracker.com/server_info/178.217.191.220:6390/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/178.217.191.220:6390/b_350_20_692108_381007_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></td>
            <td class="trow2" align="center">100</td>
            <td class="trow2" align="center">fast-gaming.eu</td>
            <td class="trow2" align="center"><span class="ipsButton_secondary"><a href="steam://connect/fast-gaming.eu"><img src="images/Splat_dark/cstrike.gif" alt="cs" style="margin: 0px 3px -4px -3px;">Połącz</a></span></td>
        </tr>

        </tbody></table>

        </span></td>
        </tr>
        </tbody></table> </div>
    
    <br>
    
    <a class="buttons" style="float: right;"><i class="fa fa-angle-right"></i></a>
    <a class="clickedbuttons" style="float: right;"><i class="fa fa-angle-left"></i></a>

<div class="sidebar" style="float: right;width: 19%;">
    
    <div class="thead" id="th34">
        <span class="expcolimage expcol_close"><a class="mod_links">×</a></span>
        <span style="display:none;" class="expcolimage expcol_open"><a class="mod_links">...</a></span>
    <div><span class="fbits"><strong>Kalendarz</strong></span></div>
</div>
<div id="expcol_box34">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
    <tr>
<td class="trow1"><span class="smalltext"><div id="404kal">trwa inicjalizacja, prosze czekac...</div><script type="text/javascript" src="http://404bajery.pl/kalendarz/kal.php?tlo=FED556&czcionka=333333&nag=FFA500&dni=FCBD01&dzis=FF8C00&szer=160"></script></span></td>
<div><span class="fbits"><strong>Licznik Odwiedzin</strong></span></div>
<div id="404l">trwa inicjalizacja, prosze czekac...</div></div><script type="text/javascript" src="http://404bajery.pl/licznik/licz.php?id=00153839&start=0&min=5&mode=views&typ=1"></script>
</tr>

<tr>
    <td class="tfoot" style="text-align: right">
        <span class="smalltext">
            GPP
        </span>
    </td>
</tr>
</tbody>
</table>
<br />
<div id="recentthreads">{$recentthreadtable}</div>
</div>
<div class="forums" style="float: left;width: 80%;">
{$forums}
</div>
    <br class="clear">
{$boardstats}

<br class="clear" />
{$footer}
</body>
</html>
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.



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

1 gości