Ver Mensaje Individual
Antiguo 31-12-1969, 20:00:00   #5
Giovanni
Senior Member
Top 1000
 
Fecha de Ingreso: May 2003
Ubicación: Marbella, España
Edad: 43
Mensajes: 2.604
Predeterminado

Otra sugerencia:

Que en la página principal, aprate de salir quien fue el ultimo en postear, apareciera en que topic... así

Antes


Después


yo no cacho ná!, pero parece que estos son los comandos para hacer eso...


$grantsql = "SELECT* *phpbb_topics.topic_title,
* ** ** ** *phpbb_topics.topic_id,
* ** ** ** *phpbb_posts.topic_id,
* ** ** ** *phpbb_posts.post_id
* ** *FROM* ** *phpbb_posts,
* ** ** ** *phpbb_topics
* ** *WHERE* ** *phpbb_posts.post_id=" . $forum_data[$j]['forum_last_post_id'] . "
* ** ** *AND* *phpbb_posts.topic_id=phpbb_topics.topic_id";
if ( !($grant_result = $db->sql_query($grantsql)) )
{
* *message_die(GENERAL_ERROR, 'Tell Grant he is a looser.', '', __LINE__, __FILE__, $sql);
}
$grant_row = $db->sql_fetchrow($grant_result);

and lastly...

$last_post .= '<a href="' . append_sid("viewtopic.$phpEx?"* . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '">[img]' . $images['icon_latest_reply'] . '[/img]
' . $grant_row[0] . '</a>';



:wink:
Giovanni está offline   Responder Con Cita