Show New Thread

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Get Involved
Locked
Marcum28
Registered User
Posts: 3
Joined: Mon Nov 24, 2008 9:18 pm

Show New Thread

Post by Marcum28 »

Hey all,

Just started using phpBB and am getting a better sense on how to use it. Right now, I'm altering the Last Post table, and I am curious to know how to make it show the latest thread rather than the poster. So instead of saying:

Tue Jun 17, 2008 1:25 am
By: {Username}

It says
Tue June 17, 2008 1:25 am
In: {Latest Thread Name}
By: {Username}

Any help would be greatly appreciated.

Thanks,
Marcum28
Marcum28
Registered User
Posts: 3
Joined: Mon Nov 24, 2008 9:18 pm

Re: Show New Thread

Post by Marcum28 »

Any help would be great please.
User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: Show New Thread

Post by prototech »

In forumlist_body.html, find:

Code: Select all

<!-- ELSE -->{L_NO_POSTS}<!-- ENDIF -->
Replace with:

Code: Select all

<br /><!-- ELSE -->{L_NO_POSTS}<!-- ENDIF --> {L_IN} {forumrow.LAST_POST_SUBJECT}
Refresh your template - ACP => Styles => Style Components => Templates.
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.
Marcum28
Registered User
Posts: 3
Joined: Mon Nov 24, 2008 9:18 pm

Re: Show New Thread

Post by Marcum28 »

Thank you very much. It worked.

One more thing - is there any way to remove the Re: after every response post? It looks bad.
David Sims
Registered User
Posts: 112
Joined: Fri Apr 25, 2008 12:26 am

Re: Show New Thread

Post by David Sims »

I tried this modification too, but when I came to refresh the template, I ended up with the following error message...
General Error
Could not open ./../styles/prosilver/template/colour_swatch.html
...and I still haven't got the new thread titles shown as I wanted. Any thoughts?

Here is my board - www.mgs2000.co.uk
David
My board > http://www.mgs2000.co.uk < many thanks for all of your help & assistance!
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Scotland
Name: Kenny Cameron
Contact:

Re: Show New Thread

Post by stickerboy »

Marcum28 wrote:Thank you very much. It worked.

One more thing - is there any way to remove the Re: after every response post? It looks bad.
http://www.phpbb.com/kb/article/remove-re-from-replies/
:)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
obsessio
Registered User
Posts: 16
Joined: Thu Feb 07, 2008 12:37 pm

Re: Show New Thread

Post by obsessio »

prototech wrote:In forumlist_body.html, find:

Code: Select all

<!-- ELSE -->{L_NO_POSTS}<!-- ENDIF -->
Replace with:

Code: Select all

<br /><!-- ELSE -->{L_NO_POSTS}<!-- ENDIF --> {L_IN} {forumrow.LAST_POST_SUBJECT}
Refresh your template - ACP => Styles => Style Components => Templates.
I added this code to my "Last Post" column at forumlistbody. But it takes full name and this is normal. But I want use this shorten. For example I want put a limit like 25 characters, than continue with dots.

Any suggestion?
obsessio
Registered User
Posts: 16
Joined: Thu Feb 07, 2008 12:37 pm

Re: Show New Thread

Post by obsessio »

Locked

Return to “[3.0.x] Styles Support & Discussion”