← WordPress

[Ajuda] Ajuda com plugin

Lida 8425 vezes

Offline

kimgage 
Membro
Mensagens 25 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Avatar

Boas, estou com um problema no meu blog, utilizo um plugin para fazer login e registar utilizadores budypress, mas após umas actualizações de tema e plugins deixou de funcionar correctamente.
O plugin é este BuddyPress Sliding Login Panel e o tema que utilizo é este icommunity da themekraft já tentei o suporte de ambos mas sem resposta, por isso estou a tentar aqui.

O problema é o seguinte, quando carrego no login, aquilo faz o slide para baixo mas fica atrás da head do blog, o que não acontecia antes...
Se me souberem dar uma dica para um fix nisto fico muito agradecido, ou então sugerirem um plugin alternativo, tendo em conta que este não leva update à mais de 200 dias, mas vejo muita a gente a usá-lo sem problemas, mesmo após os updates do wordpress.

O endereço do meu blog para testarem: http://www.vozesdomundo.eu

Cumprimentos
Offline

kimgage 
Membro
Mensagens 25 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Avatar

Já tentei isto
Código: [Seleccione]
<?php if(function_exists(updateHeader)) updateHeader(); ?> na header.php do tema e nada,
isto também no wp-config.php
Código: [Seleccione]
define( 'BP_DISABLE_ADMIN_BAR', true );
Encontrei uma pessoa com o mesmo problema e a resposta do dev foi "You’ll have to make some z-index adjustments to your theme.", alguém me pode explicar exactamente o que devo fazer ?

Ou melhor, onde encontro o o z-index.

Se alguém quiser dar uma vista de olhos para me ajudar, aqui o dev fala sobre isso http://wordpress.org/support/topic/plugin-buddypress-sliding-login-panel-not-working-any-ideas?replies=23
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

tens de tirar o z-index do #header.
Offline

kimgage 
Membro
Mensagens 25 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Avatar

tens de tirar o z-index do #header.

No header do tema não encontro nenhuma div com o z-index :S
Obrigado pela dica, só me falta encontrá-lo, sou meio nabo  #-o

 :obrigado:

Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

Não é no header do tema, é na div com o id=header
Offline

kimgage 
Membro
Mensagens 25 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Avatar

Não é no header do tema, é na div com o id=header

Desculpa a minha ignorância, até estou com vergonha a fazer reply, mas não encontro nada disso, sou um pouco verde na matéria  :-#
Se me conseguires explicar melhor a localização e o que tenho de mudar exactamente ficava eternamente grato :S
Ou se eu precisar de dar mais alguma informação que precises avisa.

Entretanto vou continuar a tentar resolver, as vezes tá a solução está mesmo a nossa frente e não vemos.

Sorry, Cumprimentos.
Offline

kimgage 
Membro
Mensagens 25 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Avatar

header.php

Citar
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
   <head profile="http://gmpg.org/xfn/11">
      <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
      
      <?php do_action('favicon') ?>
      
      <title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
      
      <?php do_action( 'bp_head' ) ?>
      <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
      <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

      <?php wp_head(); ?>
   </head>

   <body <?php body_class() ?> id="cc">
 <div id="outerrim">
 
    <?php do_action( 'bp_before_header' ) ?>
   
   <div id="header">   
   
       <?php wp_nav_menu( array( 'container_class' => 'menu menu-top', 'theme_location' => 'menu_top','container' => 'div', 'fallback_cb' => false ) ); ?>
   
      <?php if( ! dynamic_sidebar( 'headerfullwidth' )) :?>
      <?php endif; ?>

      <?php if (is_active_sidebar('headerleft') ){ ?>
         <div class="widgetarea cc-widget">
            <?php dynamic_sidebar( 'headerleft' )?>
           </div>
      <?php } ?>

        <?php if (is_active_sidebar('headercenter') ){ ?>
         <div <?php if(!is_active_sidebar('headerleft')) { echo 'style="margin-left:350px !important"'; } ?> class="widgetarea cc-widget">
            <?php dynamic_sidebar( 'headercenter' ) ?>
           </div>
        <?php } ?>

        <?php if (is_active_sidebar('headerright') ){ ?>
         <div class="widgetarea cc-widget cc-widget-right">
            <?php dynamic_sidebar( 'headerright' ) ?>
           </div>
        <?php } ?>
        
      <?php do_action( 'bp_before_access')?>
            
      <div id="access">
          <div class="menu">
   
            <?php do_action('bp_menu') ?>

            <?php /* Our navigation menu.  If one isn't filled out, wp_nav_menu falls back to wp_page_menu.  The menu assiged to the primary position is the one used.  If none is assigned, the menu with the lowest ID is used.  */ ?>
            <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary','container' => '' ) ); ?>

         </div>
      </div>
      
      <?php do_action( 'bp_after_header_nav' ) ?>
      
      <div class="clear"></div>
   
   </div><!-- #header -->

   <?php do_action( 'bp_after_header' ) ?>      
   <?php do_action( 'bp_before_container' ) ?>

   <div id="container">
   <?php do_action('sidebar_left');?>

É aqui onde assinalei a vermelho ?

É normal estarem ambos ?
Código: [Seleccione]
<?php do_action'bp_after_header' ?>
<?php do_action'bp_before_container' ?>
Offline

kimgage 
Membro
Mensagens 25 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Avatar

Adicionei esta linha
Código: [Seleccione]
<?php if(function_exists(updateHeader)) updateHeader(); ?>
Já fica por cima da head, mas está estático, não faz slide.

Código: [Seleccione]
</div><!-- #header -->
        
        <?php if(function_exists(updateHeader)) updateHeader(); ?>
        <?php do_action'bp_after_header' ?>
        <?php do_action'bp_before_container' ?>

<div id="container">
<?php do_action('sidebar_left');?>

Edit: Não estou a fazer progressos :S
Offline

Ivo Pereira 
Membro
Mensagens 661 Gostos 1
Feedback +7

Troféus totais: 27
Trófeus: (Ver todos)
Linux User Super Combination Combination Topic Starter Level 5 Level 4 Level 3 Level 2 Level 1 500 Posts

Procura no ficheiro style.css isto:

Citar
#header

É nesse id que deves procurar e eliminar o z-index como o Nuno referiu.

Offline

kimgage 
Membro
Mensagens 25 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Avatar

Apenas tenho isto no style:
Código: [Seleccione]
*
Theme Name: Custom Community 
Theme URI: http://themekraft.com/custom-community/
Description: Create your individual website within minutes. Custom Community is a WordPress and BuddyPress theme framework that enables you to build your site with all the features you love. Easy to use jQuery slideshow. List posts under your pages in magazine layouts. Use powerful theme settings to customize every part of the theme. 20 widget areas, 5 special widgets and 2 custom WP 3.0 header menus. 3 predefined colour schemes (white, grey, black) with clean and simple browsersafe css design to start from. Support forum at http://themekraft.com/forums.
Version: 1.8.9.1
Author: Themekraft
Author URI: http://themekraft.com/
Tags: buddypress, translation-ready, dark, light, white, left-sidebar, right-sidebar, two-columns, three-columns, fixed-width, flexible-width, custom-header, custom-menu, custom-colors, custom-background, theme-options
License: GNU General Public License v2.0 / License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Reset browser defaults */
@import url( _inc/css/reset.css );

.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignleft {
float: left;
margin-right: 15px;
}

.alignright {
float: right;
margin-left: 15px;
}

div.post .wp-caption {
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
margin-bottom:12px;
}

div.post dd.wp-caption p.wp-caption-text, div.post .wp-caption p.wp-caption-text {
font-size: 0.9em;
line-height: 17px;
padding: 0 4px 5px 0;
margin: 0;
}]
Offline

Ivo Pereira 
Membro
Mensagens 661 Gostos 1
Feedback +7

Troféus totais: 27
Trófeus: (Ver todos)
Linux User Super Combination Combination Topic Starter Level 5 Level 4 Level 3 Level 2 Level 1 500 Posts

Tens lá alguma pasta /css/?

Se sim, alguma é index.css, style.css, home.css ou algo do género?

Procura nessa se encontrares.
Offline

GhostMaster 
Membro
Mensagens 1374 Gostos 0
Feedback +10

Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 1000 Posts

Apenas tenho isto no style:

Nesse tema tens ficheiros de CSS em _inc e admin
Offline

kimgage 
Membro
Mensagens 25 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Avatar

Já dei a volta aquilo tudo e nada  :-k
Offline

kimgage 
Membro
Mensagens 25 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Avatar

Resolvido, com a ajuda do GhostMaster.

 :obrigado: :+trafego: