Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..

Gracias.

La Administración de phpBB España.

Ayuda!

Foros donde podréis dejar vuestras dudas sobre phpBB 3.0.x
Cerrado

0
No hay votos
 
Votos totales: 0

fucocuso
Observador/a
Mensajes: 5
Registrado: 06 Oct 2009, 08:42

Ayuda!

#1

Mensaje por fucocuso »

URL: http://www.cabreitos.com
Versión phpBB: phpBB3 (3.0.5)
MODs Instalados: Ninguno
Plantilla(s) usada(s): 2Unilever
Servidor: Linux de pago
Actualización desde otra versión: No
Conversión desde otro sistema de foros: No


Algo toqué en el forumlist_body.html para cuadrar los iconos de los foros y ahora tengo descolocadas las palabras "foro", "temas", "mensajes" y "último mensaje" de la página principal, se han movido a la izquierda y donde debía estar "último mensaje" se ha quedado en blanco. Me he quebrado la cabeza cambiando cosas, pero no consigo dar en el clavo. Aquí dejo la captura y el forumlist_body.html por si algún buen samaritano sabe qué es lo que hay que modificar y me echa un cable.

Gracias de antemano... :ok:

Código: Seleccionar todo

 <!-- BEGIN forumrow -->
<!-- IF not forumrow.S_IS_CAT and forumrow.S_FIRST_ROW -->

<table width="100%" cellpadding="0" cellspacing="0" class="catmain">
<tr>

<td width="65%" class="cattext" align="left"><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></td>
</tr>
</table>

<table class="tablebg" cellspacing="1" width="100%">
<tr>

	<td class="row1" colspan="5" align="{S_CONTENT_FLOW_END}"><!-- IF not S_IS_BOT and U_MARK_FORUMS --><a class="nav" href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a><!-- ENDIF -->&nbsp;</td>
</tr>
<tr>
	<th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="50">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50">&nbsp;{L_POSTS}&nbsp;</th>
	<th width="175" nowrap="nowrap">&nbsp;{L_LAST_POST}&nbsp;</th>

</tr>
  <!-- ENDIF -->
      <!-- IF forumrow.S_IS_CAT -->
      <!-- IF not forumrow.S_FIRST_ROW -->
</table>

<br />

<table width="100%" cellpadding="0" cellspacing="0" class="catmain">
<tr>
<td width="65%" class="cattext" align="left"><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></td>
</tr>
</table>

<table class="tablebg" cellspacing="1" width="100%">
<!-- ELSE -->

<table width="100%" cellpadding="0" cellspacing="0" class="catmain">
<tr>
<td width="65%" class="cattext" align="left"><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></td>
</tr>
</table>

<table class="tablebg" cellspacing="1" width="100%">
  <!-- ENDIF -->

      <tr>
              <th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>

              <th width="50">&nbsp;{L_TOPICS}&nbsp;</th>
              <th width="50">&nbsp;{L_POSTS}&nbsp;</th>
              <th width="175" nowrap="nowrap">&nbsp;{L_LAST_POST}&nbsp;</th>
      </tr>

	<!-- ELSEIF forumrow.S_IS_LINK -->
		<tr>
			<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>

			<td class="row2">
				<!-- IF forumrow.FORUM_IMAGE -->
					<div  margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->

			</td>
			<!-- IF forumrow.CLICKS -->
				<td class="row1" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td>
			<!-- ELSE -->
				<td class="row1" colspan="3" align="center">&nbsp;</td>
			<!-- ENDIF -->
		</tr>
	<!-- ELSE -->

		<tr>
			<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row2" width="50"> 
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}:                  5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
                           </td> 

                      <td class="row2" width="100%">                                
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>

				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.MODERATORS -->
					<p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
				<!-- ENDIF -->
				<!-- IF forumrow.SUBFORUMS -->
					<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>

				<!-- ENDIF -->
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<td class="row1" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
			<td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
			<td class="row1" align="left" nowrap="nowrap">
			<!-- IF forumrow.LAST_POST_TIME -->
			<a href="{forumrow.U_LAST_POST}" title="Ir al último mensaje"><img src='{T_THEME_PATH}/images/lastpost.gif' border='0'  alt='Last Post' /></a> <span>{forumrow.LAST_POST_TIME}<br /><b>In:</b>&nbsp;{forumrow.FORUM_NAME}<br /><b>By:</b> <a href='{forumrow.LAST_POSTER_FULL}'>{forumrow.LAST_POSTER_FULL}</a></span></td>
			
				<!-- ELSE -->
					<p class="topicdetails">{L_NO_POSTS}</p>
				<!-- ENDIF -->
			</td>
		</tr>

	<!-- ENDIF -->
<!-- BEGINELSE -->
	<tr>
		<td class="row1" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td>
	</tr>
<!-- END forumrow -->
</table>
Adjuntos
captura.jpg
captura.jpg (57.84 KiB) Visto 1059 veces

Avatar de Usuario
xirox
Ex Staff
Mensajes: 226
Registrado: 13 Feb 2009, 15:37
Género:
Edad: 34

Re: Ayuda!

#2

Mensaje por xirox »

Lo que pasa es que haz modificado la tabla agregando una nueva columna donde están los iconos y la descripción del foro, pero no hiciste lo mismo con la fila donde se encuentran los títulos. Si te fijas esa parte quedo en gris y no posee de fondo la imagen que tienen los encabezados de los foros. Te recomendaría que vuelvas a empezar de cero y esta vez agregues la columna también en la fila de los títulos.

Este es el código original por las dudas no hayas echo backup

Código: Seleccionar todo

<!-- BEGIN forumrow -->
<!-- IF not forumrow.S_IS_CAT and forumrow.S_FIRST_ROW -->

<table width="100%" cellpadding="0" cellspacing="0" class="catmain">
<tr>

<td width="65%" class="cattext" align="left"><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></td>
</tr>
</table>

<table class="tablebg" cellspacing="1" width="100%">
<tr>

	<td class="row1" colspan="5" align="{S_CONTENT_FLOW_END}"><!-- IF not S_IS_BOT and U_MARK_FORUMS --><a class="nav" href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a><!-- ENDIF -->&nbsp;</td>
</tr>
<tr>
	<th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="50">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50">&nbsp;{L_POSTS}&nbsp;</th>
	<th width="175" nowrap="nowrap">&nbsp;{L_LAST_POST}&nbsp;</th>

</tr>
  <!-- ENDIF -->
      <!-- IF forumrow.S_IS_CAT -->
      <!-- IF not forumrow.S_FIRST_ROW -->
</table>
<table width="100%" cellpadding="0" cellspacing="0" class="catmain">
  <tr>
<td width="65%" class="cattext" align="left"><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></td>
</tr>
</table>

<table class="tablebg" cellspacing="1" width="100%">
<!-- ELSE -->

<table width="100%" cellpadding="0" cellspacing="0" class="catmain">
<tr>
<td width="65%" class="cattext" align="left"><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></td>
</tr>
</table>

<table class="tablebg" cellspacing="1" width="100%">
  <!-- ENDIF -->

      <tr>
              <th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>

              <th width="50">&nbsp;{L_TOPICS}&nbsp;</th>
              <th width="50">&nbsp;{L_POSTS}&nbsp;</th>
              <th width="175" nowrap="nowrap">&nbsp;{L_LAST_POST}&nbsp;</th>
      </tr>

	<!-- ELSEIF forumrow.S_IS_LINK -->
		<tr>
			<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>

			<td class="row2">
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->

			</td>
			<!-- IF forumrow.CLICKS -->
				<td class="row1" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td>
			<!-- ELSE -->
				<td class="row1" colspan="3" align="center">&nbsp;</td>
			<!-- ENDIF -->
		</tr>
	<!-- ELSE -->

		<tr>
			<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row2" width="100%">
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>

				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.MODERATORS -->
					<p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
				<!-- ENDIF -->
				<!-- IF forumrow.SUBFORUMS -->
					<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>

				<!-- ENDIF -->
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<td class="row1" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
			<td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
			<td class="row1" align="left" nowrap="nowrap">
			<!-- IF forumrow.LAST_POST_TIME -->
			<a href="{forumrow.U_LAST_POST}" title="Go to the last post"><img src='{T_THEME_PATH}/images/lastpost.gif' border='0'  alt='Last Post' /></a> <span>{forumrow.LAST_POST_TIME}<br /><b>In:</b>&nbsp;{forumrow.FORUM_NAME}<br /><b>By:</b> <a href='{forumrow.LAST_POSTER_FULL}'>{forumrow.LAST_POSTER_FULL}</a></span></td>
			
				<!-- ELSE -->
					<p class="topicdetails">{L_NO_POSTS}</p>
				<!-- ENDIF -->
			</td>
		</tr>

	<!-- ENDIF -->
<!-- BEGINELSE -->
	<tr>
		<td class="row1" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td>
	</tr>
<!-- END forumrow -->
</table>
Usa algún editor para ir agregando las columnas y vas viendo que queden alineadas todas las filas.
¿Necesitas corregir el copyright? mira este tutorial
¿Necesitas trasladar tu foro a otro servidor? mira este tutorial
¿No sabes las reglas del sitio? mira este articulo
¿Queres instalar o exportar emoticones y no sabes como? mira este tutorial
¿No sabes como insertar las sentencias sql? mira este tutorial
¿Recién empezas con phpbb3? mira esta guía
¿Tenes problemas con phpbb 3.0.6? mira esta guía
¿Necesitas instalar phpbb en servidor gratuito? mira esta guía
[/color][/b]

fucocuso
Observador/a
Mensajes: 5
Registrado: 06 Oct 2009, 08:42

Re: Ayuda!

#3

Mensaje por fucocuso »

Lo que pasa es que haz modificado la tabla agregando una nueva columna donde están los iconos y la descripción del foro, pero no hiciste lo mismo con la fila donde se encuentran los títulos.
Gracias por contestar.

La verdad es que lo modifiqué siguiendo las indicaciones de un post de este foro, aunque esas indicaciones seguramente eran para la plantilla prosilver, y yo uso 2Unilever. No sé si es por esto, pero como ves me quedó incompleto y, aunque sé lo que cambié para agregar una nueva columna ahí, no tengo ni idea de donde hay que tocar para agregarla a la fila de los títulos. Te agradecería si pudieras decirme en qué parte del forumlist_body están los datos de esa fila.

Un saludo. :wink:

Avatar de Usuario
xirox
Ex Staff
Mensajes: 226
Registrado: 13 Feb 2009, 15:37
Género:
Edad: 34

Re: Ayuda!

#4

Mensaje por xirox »

Código: Seleccionar todo

<tr>
   <th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>
   <th width="50">&nbsp;{L_TOPICS}&nbsp;</th>
   <th width="50">&nbsp;{L_POSTS}&nbsp;</th>
   <th width="175" nowrap="nowrap">&nbsp;{L_LAST_POST}&nbsp;</th>

</tr>
Deberías hacer lo que hiciste antes, y agregar una columna en esa fila.
¿Necesitas corregir el copyright? mira este tutorial
¿Necesitas trasladar tu foro a otro servidor? mira este tutorial
¿No sabes las reglas del sitio? mira este articulo
¿Queres instalar o exportar emoticones y no sabes como? mira este tutorial
¿No sabes como insertar las sentencias sql? mira este tutorial
¿Recién empezas con phpbb3? mira esta guía
¿Tenes problemas con phpbb 3.0.6? mira esta guía
¿Necesitas instalar phpbb en servidor gratuito? mira esta guía
[/color][/b]

fucocuso
Observador/a
Mensajes: 5
Registrado: 06 Oct 2009, 08:42

Re: Ayuda!

#5

Mensaje por fucocuso »

Vale, muchas gracias, ya está solucionado... he modificado esto:

<!-- ENDIF -->

<tr>
<th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>

<th width="50">&nbsp;{L_TOPICS}&nbsp;</th>
<th width="50">&nbsp;{L_POSTS}&nbsp;</th>
<th width="175" nowrap="nowrap">&nbsp;{L_LAST_POST}&nbsp;</th>
</tr>

<!-- ELSEIF forumrow.S_IS_LINK -->


Donde pone colspan="2", había que poner colspan="3" para agregar una columna.

Cerrado

Volver a “Foros de Soporte 3.0.x”