1 (edited by Snowthrower 2005-09-19 01:18)

Topic: Show post title instead of Time.

Is there anyway to show the last post's title as well as the time it was posted on the View Forums page?

Re: Show post title instead of Time.

Anyone?

Re: Show post title instead of Time.

http://punres.org/doku.php?id=how-tos:s … t_on_index

Re: Show post title instead of Time.

1. Are you talking about index.php or viewforum.php?
2. Are you talking about the title of the last replied to topic?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

5 (edited by Paul 2005-09-20 21:20)

Re: Show post title instead of Time.

I think he wants the topic title of the last post displayed on the index page as anything else doens't make sense.

An extemely important topic .....
Today by Fred

Re: Show post title instead of Time.

Thanks all. Connorhd had exactly what I was looking for.

7

Re: Show post title instead of Time.

Anyone know wahts the "dans" line was SUPPOSE to refer to in the code for this:

// If there is a last_post/last_poster.
    if ($cur_forum['last_post'] != '') {
        $idmT = (isset($idmComp)) ? ' title="'.$idmComp.'"' : '';
        $last_post = format_time($cur_forum['last_post']).'<br />dans <a href="viewtopic.php?pid='.$cur_forum['last_post_id']..... etc etc etc....

I just removed it and things work fine....

Re: Show post title instead of Time.

Notch wrote:

Anyone know wahts the "dans" line was SUPPOSE to refer to in the code for this:

// If there is a last_post/last_poster.
    if ($cur_forum['last_post'] != '') {
        $idmT = (isset($idmComp)) ? ' title="'.$idmComp.'"' : '';
        $last_post = format_time($cur_forum['last_post']).'<br />dans <a href="viewtopic.php?pid='.$cur_forum['last_post_id']..... etc etc etc....

I just removed it and things work fine....

According to Google, "dans" is French for "in".

Looking for a certain modification for your forum? Please take a look here before posting.