Webboard

Pełna wersja: Nie działa javascript
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.8
adres forum: http://pixel-games.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): javascript nie działa

Witam, potrzebuję osobę, która naprawi mi javascript.
Naprzykład, nie działa przycisk reputacji, nie działa moderacja zbiorowa.

test admin, czy co potrzebne na pw osobie która by chciała pomoc.

LikeLoveHate

Bo masz pomieszane wszystko... Nic nie powinno działać poprawnie.

Pokaż szablon index oraz headerinclude
Pomieszane, a czysto wgrana paczka nic nie grzebane hmm.

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}
<center><b><font size="5">Nie masz własnego serwera a chcesz zagrać mecz? Zamów darmowy serwer na http://freegamehosting.eu Tickrate 128!</font></b></center><br>
<center><b><font size="4">Jak zamówić serwer + potrzebne komedny rcon w dziale poradniki!</font></b></center><br><br>
{$changfcb} <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="forums" style="float: left;width: 80%;">

    {$forums}
    
</div>
<div class="sidebar" style="float: right;width: 19%;">
  <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder border_table" style="clear: both;">
<tr>
<td class="thead_sidebox" colspan="2">

Kontakt

</td>
</tr>
<tr>
<td class="trow2">

    <b>STEAM: <a href="http://steamcommunity.com/id/grompit/">KLIK</a></b>

</td>
</tr>
</table>
</div>

<div class="sidebar" style="float: right;width: 19%;">
  <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder border_table" style="clear: both;">
<tr>
<td class="thead_sidebox" colspan="2">

PIXEL-GAMES

</td>
</tr>
<tr>
<td class="trow2">

    <b>GRUPA STEAM: <a href="http://steamcommunity.com/groups/pixelgamespl">KLIK</a></b>

</td>
</tr>
</table>
</div>

<br class="clear" />
{$boardstats}
<!--
<dl class="forum_legend smalltext">
    <dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
    <dd>{$lang->new_posts}</dd>

    <dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
    <dd>{$lang->no_new_posts}</dd>

    <dt><span class="forum_status forum_offlock" title="{$lang->forum_locked}"></span></dt>
    <dd>{$lang->forum_locked}</dd>

    <dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
    <dd>{$lang->forum_redirect}</dd>
</dl>
-->
{$footer}
</body>
</html>
<!-- stat.4u.pl NiE KaSoWaC -->
<a target=_top href="http://stat.4u.pl/?pitbull" title="statystyki stron WWW"><img alt="stat4u" src="http://adstat.4u.pl/s4u.gif" border="0"></a>
<script language="JavaScript" type="text/javascript">
<!--
function s4upl() { return "&amp;r=er";}
//-->
</script>
<script language="JavaScript" type="text/javascript" src="http://adstat.4u.pl/s.js?pitbull"></script>
<script language="JavaScript" type="text/javascript">
<!--
s4uext=s4upl();
document.write('<img alt="stat4u" src="http://stat.4u.pl/cgi-bin/sn.cgi?i=pitbull&p=0'+s4uext+'" width="1" height="1">')
//-->
</script>
<noscript><img alt="stat4u" src="http://stat.4u.pl/cgi-bin/sn.cgi?i=pitbull&amp;p=0&amp;r=ns" width="1" height="1"></noscript>
<!-- stat.4u.pl KoNiEc -->


Kod:
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1800"></script>
<script type="text/javascript">jQuery.noConflict();</script>
{$stylesheets}
<script type="text/javascript">
<!--
    lang.unknown_error = "{$lang->unknown_error}";

    lang.select2_match = "{$lang->select2_match}";
    lang.select2_matches = "{$lang->select2_matches}";
    lang.select2_nomatches = "{$lang->select2_nomatches}";
    lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
    lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
    lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
    lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
    lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
    lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
    lang.select2_loadmore = "{$lang->select2_loadmore}";
    lang.select2_searching = "{$lang->select2_searching}";

    var cookieDomain = "{$mybb->settings['cookiedomain']}";
    var cookiePath = "{$mybb->settings['cookiepath']}";
    var cookiePrefix = "{$mybb->settings['cookieprefix']}";
    var deleteevent_confirm = "{$lang->deleteevent_confirm}";
    var removeattach_confirm = "{$lang->removeattach_confirm}";
    var loading_text = '{$lang->ajax_loading}';
    var saving_changes = '{$lang->saving_changes}';
    var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
    var my_post_key = "{$mybb->post_code}";
    var rootpath = "{$mybb->settings['bburl']}";
    var imagepath = "{$theme['imgdir']}";
      var yes_confirm = "{$lang->yes}";
    var no_confirm = "{$lang->no}";
    var MyBBEditor = null;
    var spinner_image = "{$theme['imgdir']}/spinner.gif";
    var spinner = "<img src='" + spinner_image +"' alt='' />";
// -->
</script>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/de4ender/js/jquery.tipTip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/de4ender/js/jquery.tipTip.minified.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/de4ender/js/de4ender.js"></script>
<script type='text/javascript'>
jQuery(function() {
jQuery(".tipTip").tipTip({maxWidth: "auto", edgeOffset: 10,gravity: 'n'});
  });
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
    jQuery.noConflict();
</script>

LikeLoveHate

Poprawny headerinclude:
Kod:
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1800"></script>
{$stylesheets}
<script type="text/javascript">
<!--
    lang.unknown_error = "{$lang->unknown_error}";

    lang.select2_match = "{$lang->select2_match}";
    lang.select2_matches = "{$lang->select2_matches}";
    lang.select2_nomatches = "{$lang->select2_nomatches}";
    lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
    lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
    lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
    lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
    lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
    lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
    lang.select2_loadmore = "{$lang->select2_loadmore}";
    lang.select2_searching = "{$lang->select2_searching}";

    var cookieDomain = "{$mybb->settings['cookiedomain']}";
    var cookiePath = "{$mybb->settings['cookiepath']}";
    var cookiePrefix = "{$mybb->settings['cookieprefix']}";
    var deleteevent_confirm = "{$lang->deleteevent_confirm}";
    var removeattach_confirm = "{$lang->removeattach_confirm}";
    var loading_text = '{$lang->ajax_loading}';
    var saving_changes = '{$lang->saving_changes}';
    var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
    var my_post_key = "{$mybb->post_code}";
    var rootpath = "{$mybb->settings['bburl']}";
    var imagepath = "{$theme['imgdir']}";
    var yes_confirm = "{$lang->yes}";
    var no_confirm = "{$lang->no}";
    var MyBBEditor = null;
    var spinner_image = "{$theme['imgdir']}/spinner.gif";
    var spinner = "<img src='" + spinner_image +"' alt='' />";
// -->
</script>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/de4ender/js/jquery.tipTip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/de4ender/js/jquery.tipTip.minified.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/de4ender/js/de4ender.js"></script>
<script type='text/javascript'>
    jQuery(function(){jQuery(".tipTip").tipTip({maxWidth: "auto", edgeOffset: 10,gravity: 'n'});});
</script>

Poprawny index:
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}
    <div style="font-weight: bold; text-align: center;"><h2>Nie masz własnego serwera a chcesz zagrać mecz? Zamów darmowy serwer na http://freegamehosting.eu Tickrate 128!</h2></div>
    <div style="font-weight: bold; text-align: center;"><h3>Jak zamówić serwer + potrzebne komendy rcon w dziale poradniki!</h3></div>
    <br />
    {$changfcb} <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="forums" style="float: left;width: 80%;">
        {$forums}
    </div>
    <div class="sidebar" style="float: right;width: 19%;">
        <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder border_table" style="clear: both;">
            <tr>
                <td class="thead_sidebox">Kontakt</td>
            </tr>
            <tr>
                <td class="trow2">
                    <b>STEAM: <a href="http://steamcommunity.com/id/grompit/">KLIK</a></b>
                </td>
            </tr>
        </table>
        <br />
        <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder border_table" style="clear: both;">
            <tr>
                <td class="thead_sidebox">PIXEL-GAMES</td>
            </tr>
            <tr>
                <td class="trow2">
                    <b>GRUPA STEAM: <a href="http://steamcommunity.com/groups/pixelgamespl">KLIK</a></b>
                </td>
            </tr>
        </table>
    </div>
    <br class="clear" />
    {$boardstats}
    <!--
    <dl class="forum_legend smalltext">
        <dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
        <dd>{$lang->new_posts}</dd>

        <dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
        <dd>{$lang->no_new_posts}</dd>

        <dt><span class="forum_status forum_offlock" title="{$lang->forum_locked}"></span></dt>
        <dd>{$lang->forum_locked}</dd>

        <dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
        <dd>{$lang->forum_redirect}</dd>
    </dl>
    -->
    {$footer}
</body>
    <!-- stat.4u.pl NiE KaSoWaC -->
    <a target=_top href="http://stat.4u.pl/?pitbull" title="statystyki stron WWW"><img alt="stat4u" src="http://adstat.4u.pl/s4u.gif" border="0"></a>
    <script language="JavaScript" type="text/javascript">
    <!--
    function s4upl() { return "&amp;r=er";}
    //-->
    </script>
    <script language="JavaScript" type="text/javascript" src="http://adstat.4u.pl/s.js?pitbull"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    s4uext=s4upl();
    document.write('<img alt="stat4u" src="http://stat.4u.pl/cgi-bin/sn.cgi?i=pitbull&p=0'+s4uext+'" width="1" height="1">')
    //-->
    </script>
    <noscript><img alt="stat4u" src="http://stat.4u.pl/cgi-bin/sn.cgi?i=pitbull&amp;p=0&amp;r=ns" width="1" height="1"></noscript>
    <!-- stat.4u.pl KoNiEc -->
</html>

Widocznie ktoś tak dobrze zakodował styl ;)