Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/11/2003, 05:41
Avatar de touza
touza
 
Fecha de Ingreso: febrero-2003
Ubicación: barcelona
Mensajes: 65
Antigüedad: 21 años, 3 meses
Puntos: 0
Por otra parte también está interesante ver los diferentes códigos de portal_body.tpl ( en el caso de mi foro en phpbb, con el mod instalado para ver la última foto subida al álbum) y de home.html, en el caso del foro de 4images.

El mod de phpbb me dice que tengo que añadir esto a portal_body.tpl para que me muestre la última foto subida al álbum:

<a href="{U_ALBUM}">{L_ALBUM}</a><br />

y esto también:

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
_ _ _ _ _<tr>
_ _ _ _ _<td class="catHead" height="25"><span class="genmed">{L_NEWEST_PIC}</span></td>
_ _ _ _ _</tr>
_ _ _ _ _<tr>
_ _ _ _ _<td class="row1" align="left"><span class="gensmall" style="line-height:150%"><center><br /><br /><a href="{U_PIC_LINK}"><img src="{PIC_IMAGE}" border="0" alt="{L_NEWEST_PIC}"></a><br /></center>{PIC_TITLE} by {PIC_POSTER}<br />on {PIC_TIME}<br />&</span></td>
_ _ _ _ _</tr>
_ _ _ _ </table>_ _ _ _

_ _ _ _ <br />

Mientras que el código de home.html para el foro de 4images es este:

{header}
<table width="640" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="640" border="0" cellspacing="0" cellpadding="0" class="tablehead">
<tr>
<td colspan="4"><img src="{template_url}/images/header_top.gif" width="640" height="6" alt="" /></td>
</tr>
<tr>
<td width="6"><img src="{template_url}/images/header_left.gif" width="6" height="60" alt="" /></td>
<td width="405"><img src="{template_url}/images/header_logo.gif" width="405" height="60" alt="" /></td>
<td width="225" align="right">
<form method="post" action="{url_search}">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td>
<input type="text" name="search_keywords" size="15" class="searchinput" />
</td>
<td>
<input type="submit" value="{lang_search}" class="button" name="submit" />
</td>
</tr>
<tr valign="top">
<td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>
</tr>
</table>
</form>
</td>
<td align="right" width="6"><img src="{template_url}/images/header_right.gif" width="6" height="60" alt="" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="bordercolor">
<table width="640" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="tablebgcolor">
<table width="638" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="navbar" height="23">
<table width="636" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />{clickstream}</td>
<td align="right">
<a href="{url_top_images}">{lang_top_images}</a>&
<a href="{url_new_images}">{lang_new_images}</a>&
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="638" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" class="row2" valign="top">
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="row1">{user_box}</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
</table>
{if random_image}
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="row1">
<br />
{random_image}
<br />
<br />
</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
</table>
{endif random_image}
</td>
<td width="1" class="bordercolor" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
<td width="18" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="18" height="18" /></td>
<td width="450" valign="top">
<br />
<span class="title">{site_name}</span>
<br />
<hr size="1" />
{if categories}
<table width="450" border="0" cellspacing="0" cellpadding="1">
<tr>
<td class="head1">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="head1" valign="top">{lang_categories}</td>
</tr>
<tr>
<td class="row2" valign="top">{categories}</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{endif categories}{lang_site_stats}<br />
<br />
{if msg}{msg}<br /><br />{endif msg}
<table width="450" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head1">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td class="head1" valign="top">{lang_new_images}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="head1">{new_images}</td>
</tr>
</table>
<br />
{whos_online}
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{category_dropdown_form}</td>
<td align="right">{setperpage_dropdown_form}</td>
</tr>
</table>
<p>&</p>
</td>
<td width="19" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="19" height="19" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="640" border="0" cellspacing="0" cellpadding="0" class="tablebottom">
<tr>
<td width="6"><img src="{template_url}/images/footer_left.gif" width="6" height="19" alt="" /></td>
<td width="405">&</td>
<td width="225">&</td>
<td width="6"><img src="{template_url}/images/footer_right.gif" width="6" height="19" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
{footer}


En fin, que como se puede ver la cosa está difícil. Conste que no se me pasa por alto un dato fundamental: si funcionara todo esto, lo que se me mostraría en portal.php serían en realidad las últimas fotos subidas en los foros pero A TAMAÑO REAL !!!, cuando yo quiero que se muestren las miniaturas, igual que en el álbum.Lo que pasa es que eso si que ya no sé como lo tengo que indicar en el portal.php, pero sí sé que en mi servidor tienen instaladas las últimas librerías GD, osea que sólo sería cuestión de indicarle a portal.php que haga lo mismo que el álbum, que cree las miniaturas de las fotos que va subiendo la gente a los foros.

En fin, ya me contaréis que os parece todo este rollo, pero yo creo que si lograra alguien hacer este mod sería la releche.

Saludos y hasta pronto.
__________________
Mi web es http:www.jrey.net