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

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

problem z UCP - Revolution

Założony przez  ALP1N3.

wersja skryptu MyBB: 1.8.4
adres forum: www.prawilniaczki.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Styl: Revolution

mam problem ponieważ na stronie głownej ten ucp nie działa, a jak wejde na jakiś post, to działa normalnie.

http://scr.hu/0byr/63tra
co znaczy ten UCP nie dziala? dropdawn? pokaz szablon index skoro nie dziala tylko tam
<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>
<
script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<
script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
<
style type="text/css">
.
buttons12 {
 
   backgroundurl(http://www.prawilniaczki.pl/images/arrowleftt.png) no-repeat;
 
   width16px;
 
   height16px;
 
   displayblock;
 
   cursorpointer;
}

.
clickedbuttons {
 
   backgroundurl(http://www.prawilniaczki.pl/images/arrowrightt.png) no-repeat;
 
   width16px;
 
   height16px;
 
   displayblock;
 
   cursorpointer;
}
</
style>
</
head>
<
body>
{
$header}
{
$serversboard_index}
{
$dvz_shoutbox}
{
$dvz_stream}
<
div style="float: right;">
<
a id="button" class="buttons12"></a>
</
div>
<
table>
<
tr>
<
td width="100%;" valign="top">
{
$forums}
</
td>
 
   <script type="text/javascript">
jQuery.noConflict();
 
   jQuery(function() {
 
       //run the currently selected effect
 
       function runEffect(){
 
           //get effect type from 
 
           var selectedEffect 'slide';
 
           
            
//most effect types need no options passed by default
 
           var options = {};
 
           //check if it's scale or size - they need options explicitly set
 
           if(selectedEffect == 'scale'){  options = {percent0}; }
 
           else if(selectedEffect == 'size'){ options = { to: {width200,height60} }; }
 
           
            
//run the effect
 
           jQuery("#effect").toggle(selectedEffect,options,500);

 
       };
 
       
        
//set effect from select menu value
 
       jQuery("#button").click(function() {
 
           jQuery(this).toggleClass("clickedbuttons")
 
           runEffect();
 
           return false;
 
       });

 
   });
 
   </script>
<
td valign="top">
<
div id="effect" class="ui-widget-content ui-corner-all">
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" width="240">
<
tr>
<
td class="thead">
<
strong></strong>
</
td>
</
tr>
<
tr>
<
td class="trow1">
<
form method="post" 

{$teamonline}
{
$topStats['MostViews']}
{
$topStats['Posters']}
{
$topStats['Reputation']}
{
$topStats['Referrals']}
{
$topStats['TimeOnline']} 
{
$topStats['NewestUsers']}
{
$topStats['Moderators']}

 


</
form>
</
td>
</
tr>
</
table>
</
div>
</
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


Tak dropdawn
<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">
.buttons12 {
    background: url(http://www.prawilniaczki.pl/images/arrowleftt.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}

.clickedbuttons {
    background: url(http://www.prawilniaczki.pl/images/arrowrightt.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}
</style>
</head>
<body>
{$header}
{$serversboard_index}
{$dvz_shoutbox}
{$dvz_stream}
<div style="float: right;">
<a id="button" class="buttons12"></a>
</div>
<table>
<tr>
<td width="100%;" valign="top">
{$forums}
</td>
    <script type="text/javascript">
jQuery.noConflict();
    jQuery(function() {
        //run the currently selected effect
        function runEffect(){
            //get effect type from
            var selectedEffect = 'slide';
            
            //most effect types need no options passed by default
            var options = {};
            //check if it's scale or size - they need options explicitly set
            if(selectedEffect == 'scale'){  options = {percent: 0}; }
            else if(selectedEffect == 'size'){ options = { to: {width: 200,height: 60} }; }
            
            //run the effect
            jQuery("#effect").toggle(selectedEffect,options,500);

        };
        
        //set effect from select menu value
        jQuery("#button").click(function() {
            jQuery(this).toggleClass("clickedbuttons")
            runEffect();
            return false;
        });

    });
    </script>
<td valign="top">
<div id="effect" class="ui-widget-content ui-corner-all">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" width="240">
<tr>
<td class="thead">
<strong></strong>
</td>
</tr>
<tr>
<td class="trow1">
<form method="post"

{$teamonline}
{$topStats['MostViews']}
{$topStats['Posters']}
{$topStats['Reputation']}
{$topStats['Referrals']}
{$topStats['TimeOnline']}
{$topStats['NewestUsers']}
{$topStats['Moderators']}




</form>
</td>
</tr>
</table>
</div>
</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>
te 2 skrypty muszą być ponieważ wtedy nie działa sidebar..
https://webboard.pl/thread-57281.html
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
(10.09.2015, 17:40)Snake_ napisał(a): https://webboard.pl/thread-57281.html
Nie pomogło, teraz otwiera się osobna strona.


&nbsp;&nbsp;<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', null, true); return false;"><font color="#a4a1a1">Przyjaciele <i style="font-size: 14px;" class="fa fa-user fa-fw"></i></font></a> &nbsp;

<a href="{$mybb->settings['bburl']}/usercp.php" title="Panel uzytkownika"><font color="#a4a1a1">Panel uzytkownika <i style="font-size: 14px;" class="fa fa-cube fa-fw"></i></font></a>&nbsp;

<font color="#a4a1a1">Wiadomosci <a href="{$mybb->settings['bburl']}/private.php" id="pm_notification" title="Private Messages"> {$mybb->user['pms_unread']}</a> <i style="font-size: 14px;" class="fa fa-bell-o fa-fw"></i></font>&nbsp;

<div class="float_right"> <a href="usercp.php" id="whatever_name"><font color="#a4a1a1">{$mybb->user['username']}  <i style="font-size: 14px;" class="fa fa-caret-down fa-fw"></i>&nbsp;</font></a>

<a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}" title="Logout"><font color="#a4a1a1">Wyloguj <i style="font-size: 14px;" class="fa fa-times-circle-o fa-fw"></i></font></a>&nbsp; </div>


    <div id="whatever_name_popup" class="popup_menu" style="display: none;">
      <div class="popup_item_container">
      
        
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr><td valign="top" width="55">
<a href="{$mybb->settings['bburl']}/usercp.php?action=avatar"><img class="panelavatar" style="vertical-align: middle; margin-top:10px; border: 2px solid #000;" src="{$mybb->user['avatar']}" height="55" width="55"></a>
</td>
<td>&nbsp;</td>
<td valign="top">

  <a href="{$mybb->settings['bburl']}/usercp.php?action=profile" class="popup_item"><font color="#686868">Edytuj profil</font></a>
  <a href="{$mybb->settings['bburl']}/usercp.php?action=options" class="popup_item"><font color="#686868">Zmien opcje</font></a>
  <a href="{$mybb->settings['bburl']}/usercp.php?action=avatar" class="popup_item"><font color="#686868">Zmien avatar</font></a>
  
     {$admincplink}
  
</td>
<td>&nbsp;</td>
<td valign="top">
  
  <a href="{$mybb->settings['bburl']}/usercp.php?action=editsig" class="popup_item"><font color="#686868">Zmien sygnature</font></a>
  <a href="{$mybb->settings['bburl']}/usercp.php?action=forumsubscriptions" class="popup_item"><font color="#686868">Subskrypcje tematow</font></a>
  <a href="{$mybb->settings['bburl']}/member.php?action=profile" class="popup_item"><font color="#686868">Zobacz moj profil</font></a>
  
  {$modcplink}
  </td>
</tr>
</table>
        
        
      </div>
  </div>

<script type="text/javascript">
// <!--
    if(use_xmlhttprequest == "1")
    {
        $("#whatever_name").popupMenu();
    }
// -->
</script>


Konto testowe

L: alp1n3test
H: asd123123
znalazłem jeszcze taki błąd: http://scr.hu/0byr/8j6ka


#Przepraszam za doublepost'a, jak ktoś może nich je połączy ;(
znalazlem jeszcze jeden blad z jS a minowicie jak najade na "inne" to tak jakby nie byl przypisany do niego zaden jS i oczywiscie sie nie wysuwa

http://scr.hu/0byr/uz0xn



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

3 gości