Página 1 de 1

Agregar "más vistos."

Publicado: 23 Ago 2014, 14:24
por Nor7on
Buenas.

Este bloque muestra tres opciones: Anuncios Recientes, Más Comentados, Temas Recientes.
Como puedo cambiar "Anuncios Recientes" por "Más Vistos"?

Osea que muestre la lista de los temas con más vistas.
Aquí pongo el codigo que tengo actualmente.

Código: Seleccionar todo

<!-- IF .latest_announcements or .latest_hot_topics or .latest_topics -->
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<table class="tablebg" cellspacing="1" width="100%">
	<tr class="cat">
		<!-- IF .latest_announcements --><td><strong>{L_PORTAL_RECENT_ANN}</strong></td><!-- ENDIF -->
		<!-- IF .latest_hot_topics --><td><strong>{L_PORTAL_RECENT_HOT_TOPIC}</strong></td><!-- ENDIF -->
		<!-- IF .latest_topics --><td><strong>{L_PORTAL_RECENT_TOPIC}</strong></td><!-- ENDIF -->
	</tr>
	<tr>
		<!-- IF .latest_announcements -->
		<td class="row1" width="33%" valign="top">
			<!-- BEGIN latest_announcements -->
						<a href="{latest_announcements.U_VIEW_TOPIC}" title="{latest_announcements.FULL_TITLE}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{latest_announcements.TITLE}</a><br />
			<!-- END latest_announcements -->
		</td>
		<!-- ENDIF -->
		<!-- IF .latest_hot_topics -->
		<td class="row1" width="33%" valign="top">
			<!-- BEGIN latest_hot_topics -->
				<a href="{latest_hot_topics.U_VIEW_TOPIC}" title="{latest_hot_topics.FULL_TITLE}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{latest_hot_topics.TITLE}</a><br />
			<!-- END latest_hot_topics -->
		</td>
		<!-- ENDIF -->
		<!-- IF .latest_topics -->
		<td class="row1" width="33%" valign="top">
			<!-- BEGIN latest_topics -->
				<a href="{latest_topics.U_VIEW_TOPIC}" title="{latest_topics.FULL_TITLE}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{latest_topics.TITLE}</a><br />
			<!-- END latest_topics -->
		</td>
		<!-- ENDIF -->
	</tr>
</table>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
<!-- ENDIF -->
Gracias!

Re: Agregar "más vistos."

Publicado: 23 Ago 2014, 17:24
por ThE KuKa
Creo que te saldrá más a cuenta instalar TOP Stats: http://www.phpbb3bbcodes.com/viewtopic.php?f=45&t=1351

Re: Agregar "más vistos."

Publicado: 23 Ago 2014, 18:21
por Nor7on
Era exactamente lo que no quería hehehe, por lo que he visto que son bloques independiente, osea que si quiero ver mas recientes y mas vistos, este muestra dos bloques, en cambio el que tengo ahora es un solo bloque que se divide en 3.

En fin, voy a instalarlo a ver que tal queda, espero quede bien con mi stylo Se_Gamer_Dark.

Re: Agregar "más vistos."

Publicado: 23 Ago 2014, 18:59
por Nor7on
Efectivamente, no es lo que esperaba, los bloques me los pone en el foro y no en el portal, y no es para mi estylo ya que tiene otros colores que no van con mi plantilla.

Haber si alguien me hacer el grandísimo favor de hacer un código para ponerlo a mi bloque.