wersja skryptu MyBB: 1.6.10
adres forum: http://forum.executors-gaming.pl/index.php
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Nie wiem dlaczego nie działa mi paleta kolorów dzięki której każdy mógł zmienić sobie kolor belek na forum. Wcześniej mi działało a teraz się coś zepsuło i nie wiem co może być tego powodem ;/ Dodam że zauważyłem że nie działa to tylko na stronie głównej
jak dam np pomoc to wtedy paleta działa ;/ a ja chce żeby wszędzie się dało nawet na głównej
Proszę o pomoc jak to naprawić ;/ daję reputacje
Pokaż headerinclude (ACP -> Style i Szablon -> Szablon -> Twój_Szablon -> Niezgrupowane szablony) oraz po czym to się stało?
już wiem że na 100% jest to wina index.html
Stało się to po wgraniu tego ban id po boku albo facebooka, gdy nadpisze ten plik na podstawowy to działa gdy znowu wgram ten index z banid i facebook to dalej nie działa ;/
Co może być nie tak ?
Oto cała zawartość mojego pliku index.html
Kod:
<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>
</head>
<body>
{$header}
<table width="100%" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead" colspan="7" style="text-align:center;"><strong>Promowane serwery</strong>
</td>
</tr>
<tr>
<td width="30" class="tcat" style="text-align:center;"><b></b>
</td>
<td width="65" class="tcat" style="text-align:center;"><b>Sieć</b>
</td>
<td width="140" class="tcat" style="text-align:center;"><b>Rodzaj Serwera</b>
</td>
<td width="140" class="tcat" style="text-align:center;"><b>Adres IP</b>
</td>
<td width="270" class="tcat" style="text-align:center;"><b>Monitoring</b>
</td>
<td width="35" class="tcat" style="text-align:center;"><b>Sloty</b>
</td>
<td width="100" class="tcat" style="text-align:center;"><b>Rodzaj</b>
</td>
</tr>
<tr>
<td class="trow1" style="text-align:center;"><img src="http://cs-gra.pl/img/ts.png" /></td>
<td class="trow1" style="text-align:center;"><b>Cs-Gra.pl</b></td>
<td class="trow1" style="text-align:center;"><b>TeamSpeak3</b></td>
<td class="trow1" style="text-align:center;"><b>ts3.cs-gra.pl</b></td>
<td class="trow1" style="text-align:center;"><a href="http://www.gametracker.com/server_info/178.32.79.228:9987/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/178.32.79.228:9987/b_350_20_0066FF_0066FF_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></td>
<td class="trow1" style="text-align:center;"><b>512</b></td>
<td class="trow1" style="text-align:center;"><b>3.0</b></td>
</tr>
</table>
<br>
<script src="http://code.jquery.com/jquery-1.5.2.min.js" type="text/javascript"></script>
<script src="http://banid.pl/banid-widget.js" type="text/javascript"></script>
<link href="http://banid.pl/banid-widget.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
banidwidget.init({
side: 'left',
action: 'hover',
border: 'white'
});
</script>
<table cellspacing="0" cellpadding="0" border="0">
<td colspan="2" class="thead" style="font-weight:bold;text-align:center;">
Sponsorzy/Partnerzy
</td>
<tr>
<td align="center" valign="top" class="trow2"><a href="xxx" target="_blank"><img src="http://s1.pokazywarka.pl/i/2176431/419865/csgrabanner.jpg" alt="Cs-Gra.pl" width="400px" height="64px"/></a> <br/>
Cs-Gra.pl</td>
<td align="center" valign="top" class="trow2"><a href="xxx" target="_blank"><img src="http://executors-gaming.pl/images/logo.png" alt="eXecutors-Gaming.pl" width="400px" height="64px"/></a> <br/>
eXecutors-Gaming.pl</td>
</tr>
</table>
<br>
{$ps_header_index}
<div class="sidebar" style="float: right;width: 18%;">
{$recenttopics}
{$topStats['LastThreads']}
{$topStats['MostViews']}
{$topStats['Posters']}
{$topStats['Reputation']}
{$topStats['Timeonline']}
</div>
<div class="forums" style="float: left;width: 81%;">
<div id="index_forums">{$custom_status_index}
{$forums}
<br>
</div>
</div>
<br class="clearboth">
{$boardstats}
{$footer}
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<title>Wysuwany widget facebook'a by SoundPlayer</title>
<meta name="Author" content="SoundPlayer">
<meta name="keywords" content="" />
<meta name="description" content="" />
<META NAME="ROBOTS" CONTENT="all">
<META HTTP-EQUIV="Reply-to" CONTENT="">
<META NAME="revisit-after" CONTENT="2 days">
<script type="text/javascript">
(function() {
var s = document.createElement('script');
var root = document.getElementById('fb-root');
window.fbAsyncInit = function() {
FB.init({status: true, cookie: true, xfbml: true});
root.removeChild(s);
};
s.async = true;
s.src = document.location.protocol +
'//connect.facebook.net/pl_PL/all.js';
root.appendChild(s);
}());
</script>
</head>
<style type="text/css">
body{
}
#like-box {
position: fixed;
z-index: 99;
top: 150px; /* jego polozenie od gory */
right: -243px; /* szerokosc wygenerowanego boxa + 4px obramowania */
-webkit-transition: right 0.5s ease-out;
-moz-transition: right 0.5s ease-out;
-o-transition: right 0.5s ease-out;
transition: right 0.5s ease-out;
}
/* wysuniecie like box'a */
#like-box:hover {
right: 0px;
}
/* zewnetrzna ramka boxa */
#like-box .outside {
position: relative;
z-index: 1;
background: #3b5999;
padding: 2px;
min-width: 1px;
float: right;
}
/* wewnetrzne tlo boxa */
#like-box .inside {
position: relative;
z-index: 2;
background: #3b5999;
}
/* pasek z logo FB */
#like-box .belt {
position: relative;
z-index: 9;
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-o-transform: rotate(270deg);
float: left;
width: 100px;
height: 30px;
padding: 9px 0px 0px 20px;
margin-top: 50px;
left: 43px;
background: #3b5999;
color: #fff;
font-weight: bold;
font-family: Verdana;
font-size: 16px;
}
</style>
<body>
<img src="logo-cs.png" />
<div id="like-box">
<div class="outside">
<div class="inside">
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FExecutorsGamingPL&width=236&height=258&show_faces=true&colorscheme=dark&stream=false&show_border=true&header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:236px; height:258px;" allowTransparency="true"></iframe>
</div>
</div>
<div class="belt">facebook</div>
</div>
</body>
</html>
Zamień go na ten:
Kod:
<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>
</head>
<body>
{$header}
<table width="100%" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead" colspan="7" style="text-align:center;"><strong>Promowane serwery</strong>
</td>
</tr>
<tr>
<td width="30" class="tcat" style="text-align:center;"><b></b>
</td>
<td width="65" class="tcat" style="text-align:center;"><b>Sieć</b>
</td>
<td width="140" class="tcat" style="text-align:center;"><b>Rodzaj Serwera</b>
</td>
<td width="140" class="tcat" style="text-align:center;"><b>Adres IP</b>
</td>
<td width="270" class="tcat" style="text-align:center;"><b>Monitoring</b>
</td>
<td width="35" class="tcat" style="text-align:center;"><b>Sloty</b>
</td>
<td width="100" class="tcat" style="text-align:center;"><b>Rodzaj</b>
</td>
</tr>
<tr>
<td class="trow1" style="text-align:center;"><img src="http://cs-gra.pl/img/ts.png" /></td>
<td class="trow1" style="text-align:center;"><b>Cs-Gra.pl</b></td>
<td class="trow1" style="text-align:center;"><b>TeamSpeak3</b></td>
<td class="trow1" style="text-align:center;"><b>ts3.cs-gra.pl</b></td>
<td class="trow1" style="text-align:center;"><a href="http://www.gametracker.com/server_info/178.32.79.228:9987/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/178.32.79.228:9987/b_350_20_0066FF_0066FF_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></td>
<td class="trow1" style="text-align:center;"><b>512</b></td>
<td class="trow1" style="text-align:center;"><b>3.0</b></td>
</tr>
</table>
<br>
<script src="http://banid.pl/banid-widget.js" type="text/javascript"></script>
<link href="http://banid.pl/banid-widget.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
banidwidget.init({
side: 'left',
action: 'hover',
border: 'white'
});
</script>
<table cellspacing="0" cellpadding="0" border="0">
<td colspan="2" class="thead" style="font-weight:bold;text-align:center;">
Sponsorzy/Partnerzy
</td>
<tr>
<td align="center" valign="top" class="trow2"><a href="xxx" target="_blank"><img src="http://s1.pokazywarka.pl/i/2176431/419865/csgrabanner.jpg" alt="Cs-Gra.pl" width="400px" height="64px"/></a> <br/>
Cs-Gra.pl</td>
<td align="center" valign="top" class="trow2"><a href="xxx" target="_blank"><img src="http://executors-gaming.pl/images/logo.png" alt="eXecutors-Gaming.pl" width="400px" height="64px"/></a> <br/>
eXecutors-Gaming.pl</td>
</tr>
</table>
<br>
{$ps_header_index}
<div class="sidebar" style="float: right;width: 18%;">
{$recenttopics}
{$topStats['LastThreads']}
{$topStats['MostViews']}
{$topStats['Posters']}
{$topStats['Reputation']}
{$topStats['Timeonline']}
</div>
<div class="forums" style="float: left;width: 81%;">
<div id="index_forums">{$custom_status_index}
{$forums}
<br>
</div>
</div>
<br class="clearboth">
{$boardstats}
{$footer}
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<title>Wysuwany widget facebook'a by SoundPlayer</title>
<meta name="Author" content="SoundPlayer">
<meta name="keywords" content="" />
<meta name="description" content="" />
<META NAME="ROBOTS" CONTENT="all">
<META HTTP-EQUIV="Reply-to" CONTENT="">
<META NAME="revisit-after" CONTENT="2 days">
<script type="text/javascript">
(function() {
var s = document.createElement('script');
var root = document.getElementById('fb-root');
window.fbAsyncInit = function() {
FB.init({status: true, cookie: true, xfbml: true});
root.removeChild(s);
};
s.async = true;
s.src = document.location.protocol +
'//connect.facebook.net/pl_PL/all.js';
root.appendChild(s);
}());
</script>
</head>
<style type="text/css">
body{
}
#like-box {
position: fixed;
z-index: 99;
top: 150px; /* jego polozenie od gory */
right: -243px; /* szerokosc wygenerowanego boxa + 4px obramowania */
-webkit-transition: right 0.5s ease-out;
-moz-transition: right 0.5s ease-out;
-o-transition: right 0.5s ease-out;
transition: right 0.5s ease-out;
}
/* wysuniecie like box'a */
#like-box:hover {
right: 0px;
}
/* zewnetrzna ramka boxa */
#like-box .outside {
position: relative;
z-index: 1;
background: #3b5999;
padding: 2px;
min-width: 1px;
float: right;
}
/* wewnetrzne tlo boxa */
#like-box .inside {
position: relative;
z-index: 2;
background: #3b5999;
}
/* pasek z logo FB */
#like-box .belt {
position: relative;
z-index: 9;
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-o-transform: rotate(270deg);
float: left;
width: 100px;
height: 30px;
padding: 9px 0px 0px 20px;
margin-top: 50px;
left: 43px;
background: #3b5999;
color: #fff;
font-weight: bold;
font-family: Verdana;
font-size: 16px;
}
</style>
<body>
<img src="logo-cs.png" />
<div id="like-box">
<div class="outside">
<div class="inside">
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FExecutorsGamingPL&width=236&height=258&show_faces=true&colorscheme=dark&stream=false&show_border=true&header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:236px; height:258px;" allowTransparency="true"></iframe>
</div>
</div>
<div class="belt">facebook</div>
</div>
</body>
</html>
Po za tym od kiedy MyBB to I.P.B? o.O i to jest styl Infinity Dark a nie I.P.B Popraw tą stopkę..
Nie wiem jak to zrobiłeś ale działa. Leci reputacja
A i sorki za stopke.. Kolega się bawił i botek pozmieniał..
Już jest wszystko poprawione.
Do zamknięcia