Estilo etech con bug. (SOLUCIONADO)

Espacio para plantear dudas, escribir sugerencias, proponer soluciones, para todo lo relacionado con la versión 3 del sistema de foros phpBB

Moderador: fabriciano

Estilo etech con bug. (SOLUCIONADO)

Notapor tokaii el 12-05-2008 21:23

Ya estoy de nuevo por aqui con otro problema en cuanto a los dichosos estilos.

Estoy usando desde hace tiempo el etech y me acaban de avisar que no hay ninguna opcion para que se registren los nuevos usuarios (con razon no aumentaba el numero). He vuelto a cargar el estilo y veo que es un bug que se ha producido. Aunque la pagina de donde lo he sacado tiene foro, este no habla nada del tema y ademas hace tiempo que esta parado.

Busque en el overal_header del estilo y no encuentro la solucion. ¿Alguien a quien le ha pasado lo mismo me puede dar una indicacion de donde esta el problema?.

Ah se me olvidaba, el foro esta AQUI.

Saludos.
Avatar de Usuario
tokaii
Junior
 
Mensajes: 16
Registrado: 08-03-2008 11:17

Re: Estilo etech con bug.

Notapor fabriciano el 12-05-2008 22:24

Está claro que el estilo no ofrece la opción de registro, un fallo muy grave por parte de sus diseñadores, lo que es bastante extraño.

Una pregunta: tus foros están en la versión phpBB3, ¿no es así?

Un saludo.
Fabriciano González
Webmaster de batiburrillo.net
Avatar de Usuario
fabriciano
Administrador
 
Mensajes: 8136
Registrado: 04-09-2001 15:34
Ubicación: Lugo

Re: Estilo etech con bug.

Notapor tokaii el 13-05-2008 09:39

Efectivamente Fabriciano, el foro en cuestion es phpBB3 ver. 3.0.0. Por eso habia posteado mi duda en esta seccion.

Saludos.
Avatar de Usuario
tokaii
Junior
 
Mensajes: 16
Registrado: 08-03-2008 11:17

Re: Estilo etech con bug.

Notapor fabriciano el 13-05-2008 18:30

Localiza en el overall_header.html de tu estilo algo similar a lo siguiente y ponlo exactamente como aparece:

Código: Seleccionar todo
<ul class="linklist rightside">
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}</a></li>
<!-- ENDIF -->
</ul>

Un saludo.
Fabriciano González
Webmaster de batiburrillo.net
Avatar de Usuario
fabriciano
Administrador
 
Mensajes: 8136
Registrado: 04-09-2001 15:34
Ubicación: Lugo

Re: Estilo etech con bug.

Notapor tokaii el 13-05-2008 19:31

Te paso el codigo del bloque del overall_header que corresponde al que tu me has mandado pero en este estilo.

Código: Seleccionar todo
............................
<tr>
   <td class="navrow">
      <!-- IF not S_IS_BOT -->
         <!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a> &#8226; <!-- ENDIF -->
         <!-- IF S_USER_LOGGED_IN -->
            <!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a> &#8226; <!-- ENDIF -->
         <!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a> &#8226; <!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> &#8226; <!-- ENDIF -->
      <a href="{U_FAQ}">{L_FAQ}</a>
      <!-- IF S_DISPLAY_SEARCH --> &#8226; <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
      <!-- IF not S_IS_BOT -->
         <!-- IF S_DISPLAY_MEMBERLIST --> &#8226; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF not S_IS_BOT --> &#8226; <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
   </td>
</tr>
......................


Como veras si que esta implementada la opcion de registro:

Código: Seleccionar todo
..................................
         <!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a> &#8226; <!-- ENDIF -->
...........................


pero por alguna extraña razon no funciona. Dime algo cuando puedas.

Ah por cierto, estoy haciendo pruebas con la implementacion de los mapas de Google sin usar API, ya contare cosas en el tema correspondiente cuando empiece a ver la luz.

Saludos.
Avatar de Usuario
tokaii
Junior
 
Mensajes: 16
Registrado: 08-03-2008 11:17

Re: Estilo etech con bug.

Notapor fabriciano el 14-05-2008 19:08

Te explico lo que hice. Copié el código que has puesto en el mensaje anterior en el overall_header.html del estilo de mi foro (en local). Borré la caché de los foros y... funcionó. Está activa y visible la opción de Registrarse.

Prueba a borrar la caché de tus foros y comprueba si funciona.

Un saludo.
Fabriciano González
Webmaster de batiburrillo.net
Avatar de Usuario
fabriciano
Administrador
 
Mensajes: 8136
Registrado: 04-09-2001 15:34
Ubicación: Lugo

Re: Estilo etech con bug.

Notapor tokaii el 15-05-2008 01:44

He probado a hacer lo que comentas sin resultado. Posteriormente he instado una copia del soft y de la DB en local, lo he rodado borrado la cache de todos los estilos que hay instalados (de todos por si las moscas), me he deslogueado y no aparece la opcion de registro por ningun lado. Por si las moscas tambien, lo he probado con los cinco navegadores que suelo utilizar despues de haber borrado tambien la cache de estos y nada de nada. ¿Se te ocurre que mas puedo hacer?.

Saludos.
Avatar de Usuario
tokaii
Junior
 
Mensajes: 16
Registrado: 08-03-2008 11:17

Re: Estilo etech con bug.

Notapor fabriciano el 15-05-2008 18:01

Pues no lo entiendo.

He copiado el código que has puesto. Exactamente:

Código: Seleccionar todo
<table><tr>
<td class="navrow">
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a> &#8226; <!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a> &#8226; <!-- ENDIF -->
<!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a> &#8226; <!-- ENDIF -->
<!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> &#8226; <!-- ENDIF -->
<a href="{U_FAQ}">{L_FAQ}</a>
<!-- IF S_DISPLAY_SEARCH --> &#8226; <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --> &#8226; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT --> &#8226; <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
</td>
</tr></table>

Lo he puesto en overall_header.html, justo debajo de la llamada a la cabecera de mis foros. Y me ha salido lo siguiente:

Imagen

¿Alguien lo entiende?
Fabriciano González
Webmaster de batiburrillo.net
Avatar de Usuario
fabriciano
Administrador
 
Mensajes: 8136
Registrado: 04-09-2001 15:34
Ubicación: Lugo

Re: Estilo etech con bug.

Notapor tokaii el 16-05-2008 02:00

Pues yo tampoco se que es lo que puede pasar. He estado ruteando el fichero en ejecucion y deberia de aparecer la opcion de registro, en mi caso en el centro de la pantalla, la primera opcion de la izquierda, pero no aparece. El tema es que si que pasa por el condicional y si que hace la llamada correctamente, pero como digo no visualiza la opcion de registro.

Te voy a pasar el overall_header completo y si eres tan amable cuando puedas le pegas un vistazo y/o lo pruebas y me dices algo. Yo mientras seguire haciendo mas pruebas en local a ver si doy con el problema.

Saludos.

Código: Seleccionar todo
<!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" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<!-- INCLUDE ca_config.html -->
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} - <!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}</title>

<!-- IF T_STYLESHEET_LINK -->
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<!-- ELSE -->
<style type="text/css">
{T_THEME_DATA}
</style>
<!-- ENDIF -->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="{T_THEME_PATH}/ie7.css" />
<![endif]-->

<script type="text/javascript">
// <![CDATA[

<!-- IF S_USER_PM_POPUP -->
   if ({S_NEW_PM})
   {
      popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
   }
<!-- ENDIF -->

function popup(url, width, height, name)
{
   if (!name)
   {
      name = '_popup';
   }

   window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
   return false;
}

function jumpto()
{
   var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
   var perpage = '{PER_PAGE}';
   var base_url = '{A_BASE_URL}';

   if (page !== null && !isNaN(page) && page > 0)
   {
      document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * perpage);
   }
}

/**
* Find a member
*/
function find_username(url)
{
   popup(url, 760, 570, '_usersearch');
   return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
   var parent = document.getElementById(id);
   if (!parent)
   {
      eval('parent = document.' + id);
   }

   if (!parent)
   {
      return;
   }

   var rb = parent.getElementsByTagName('input');
   
   for (var r = 0; r < rb.length; r++)
   {
      if (rb[r].name.substr(0, name.length) == name)
      {
         rb[r].checked = state;
      }
   }
}

<!-- IF ._file -->

   /**
   * Play quicktime file by determining it's width/height
   * from the displayed rectangle area
   *
   * Only defined if there is a file block present.
   */
   function play_qt_file(obj)
   {
      var rectangle = obj.GetRectangle();

      if (rectangle)
      {
         rectangle = rectangle.split(',')
         var x1 = parseInt(rectangle[0]);
         var x2 = parseInt(rectangle[2]);
         var y1 = parseInt(rectangle[1]);
         var y2 = parseInt(rectangle[3]);

         var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
         var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
      }
      else
      {
         var width = 200;
         var height = 0;
      }

      obj.width = width;
      obj.height = height + 16;

      obj.SetControllerVisible(true);

      obj.Play();
   }
<!-- ENDIF -->

if(navigator.userAgent && navigator.userAgent.indexOf('Mac OS X') > 0)
{
   document.write('<link rel="stylesheet" href="{T_THEME_PATH}/mac.css" type="text/css" />');
}

// ]]>
</script>
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<table border="0" cellspacing="0" cellpadding="0" width="{$CA_WIDTH}" id="maintable" align="center">
<tr>
   <td id="logorow" align="center"><div id="logotop">
      <a href="{U_INDEX}">{SITE_LOGO_IMG}</a>
   </div></td>
</tr>
<tr>
   <td class="navrow">
      <!-- IF not S_IS_BOT -->
         <!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a> &#8226; <!-- ENDIF -->
         <!-- IF S_USER_LOGGED_IN -->
            <!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a> &#8226; <!-- ENDIF -->
         <!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a> &#8226; <!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> &#8226; <!-- ENDIF -->
      <a href="{U_FAQ}">{L_FAQ}</a>
      <!-- IF S_DISPLAY_SEARCH --> &#8226; <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
      <!-- IF not S_IS_BOT -->
         <!-- IF S_DISPLAY_MEMBERLIST --> &#8226; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF not S_IS_BOT --> &#8226; <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
   </td>
</tr>
<tr>
   <td id="contentrow">

<!-- IF not S_IS_BOT && not $CA_SKIP_PM_NOTIFY && S_USER_LOGGED_IN && S_DISPLAY_PM -->
   <!-- IF S_USER_NEW_PRIVMSG -->
      <div class="pm-notify-new"><div class="pm-notify-header">{L_PRIVATE_MESSAGES}</div><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></div>
   <!-- ELSEIF S_USER_UNREAD_PRIVMSG -->
      <div class="pm-notify-unread"><div class="pm-notify-header">{L_PRIVATE_MESSAGES}</div><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></div>
   <!-- ENDIF -->
<!-- ENDIF --> 

<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
   <div class="pm-notify-new"><div class="pm-notify-header">{L_INFORMATION}</div>{L_BOARD_DISABLED}</div>
<!-- ENDIF -->

<table width="100%" cellspacing="0">
<tr>
   <td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
   <td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
</tr>
</table>

   <!-- IF S_DISPLAY_SEARCH -->
   <p class="searchbar">
      <span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
      <!-- IF S_USER_LOGGED_IN -->
      <span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
      <!-- ENDIF -->
   </p>
   <!-- ENDIF -->

   <br style="clear: both;" />

   <!-- INCLUDE breadcrumbs.html -->

   <br />


Avatar de Usuario
tokaii
Junior
 
Mensajes: 16
Registrado: 08-03-2008 11:17

Re: Estilo etech con bug.

Notapor fabriciano el 16-05-2008 19:47

He visto que hay una llamada a un archivo que el estilo prosilver no existe. Está en la primera línea de <head>

Código: Seleccionar todo
<!-- INCLUDE ca_config.html -->

¿No estará la clave en ese archivo? Habría que revisar su contenido.

Un saludo.
Fabriciano González
Webmaster de batiburrillo.net
Avatar de Usuario
fabriciano
Administrador
 
Mensajes: 8136
Registrado: 04-09-2001 15:34
Ubicación: Lugo

Siguiente




Volver a Foros phpBB (Versión 3)

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 0 invitados