Can I delete the LAST POST column?

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
Kerrith
Registered User
Posts: 490
Joined: Mon Mar 28, 2005 10:16 am
Location: Pahoa, Hawaii
Contact:

Can I delete the LAST POST column?

Post by Kerrith »

Can I delete the LAST POST column so that I just have ANNOUNCEMENTS REPLIES and VIEWS? That, or, can I manually change the original posting date?

We have dozens of posts with posting dates from 2011, posts containing content that is still accurate. The old dates suggest that the topic is dead or is no longer appropriate.

Thanks,
Kerry

phpBB 3.2.7
Windows 10 Pro
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26455
Joined: Fri Aug 29, 2008 9:49 am

Re: Can I delete the LAST POST column?

Post by Mick »

Can you explain the first request a bit more please, possibly with a screencap? It may well be that one needs moving to another forum.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
Kerrith
Registered User
Posts: 490
Joined: Mon Mar 28, 2005 10:16 am
Location: Pahoa, Hawaii
Contact:

Re: Can I delete the LAST POST column?

Post by Kerrith »

LAST POST.PNG
LAST POST.PNG (9.49 KiB) Viewed 2844 times
I don't want the Last Post column.
Attachments
LAST POST.PNG
LAST POST.PNG (9.49 KiB) Viewed 2844 times
LAST POST.PNG
LAST POST.PNG (9.49 KiB) Viewed 2844 times
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: Can I delete the LAST POST column?

Post by 3Di »

An extension can render the "last post" column as blank (not remove it but blank it)
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5850
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Can I delete the LAST POST column?

Post by thecoalman »

Moving this to styles discussion.

It's possible to remove it entirely but you need to make some edits to the template file and CSS. Since your concern is the date the simpler solution is just remove the date. This applies to to 3.3.3 files but edits should be similar for 3.2 files.

Open /styles/prosilver/template/viewforum_body.html on around line 190, near the end of the line find:

Code: Select all

<a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}"><time datetime="{topicrow.LAST_POST_TIME_RFC3339}">{topicrow.LAST_POST_TIME}</time></a>
Replace with:

Code: Select all

<a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">Go to last post</a>

---------------------------

On or around line 235 Find and delete:

Code: Select all

						<br /><time datetime="{topicrow.LAST_POST_TIME_RFC3339}">{topicrow.LAST_POST_TIME}</time>
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
Post Reply

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