Remove posts, topics, replies and views column

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Ideas Centre
Locked
Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

Remove posts, topics, replies and views column

Post by Tom49er » Sun Dec 06, 2015 12:05 am

Hello everyone,

I want to make two sidebars, so I think I don't need the posts, topics, replies and views column. How can I remove it? Thanks
Last edited by Tom49er on Tue Dec 08, 2015 4:38 am, edited 1 time in total.

Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

Re: Remove posts, topics, replies and views column

Post by Tom49er » Sun Dec 06, 2015 2:26 am

I think I upload the pictures here, so some one can understand what I mean
post.jpg
reply.jpg
Last edited by Tom49er on Tue Dec 08, 2015 4:38 am, edited 1 time in total.

User avatar
Elias
Registered User
Posts: 4612
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias
Contact:

Re: Remove posts, topics, replies and views colum

Post by Elias » Sun Dec 06, 2015 2:57 am

Here try this out:

Open /styles/prosilver/template/forumlist_body.html

Find and remove:

Code: Select all

<dd class="topics">{forumrow.TOPICS} <dfn>{L_TOPICS}</dfn></dd>
					<dd class="posts">{forumrow.POSTS} <dfn>{L_POSTS}</dfn></dd>
Also, find and remove:

Code: Select all

<dd class="topics">{L_TOPICS}</dd>
                  <dd class="posts">{L_POSTS}</dd>
I just tried it out and it worked fine.
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

User avatar
david63
Jr. Extension Validator
Posts: 14570
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Remove posts, topics, replies and views colum

Post by david63 » Sun Dec 06, 2015 1:36 pm

Or preferably make a "child" style then you will not have to re-apply those changes with each update/upgrade
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

Re: Remove posts, topics, replies and views column

Post by Tom49er » Sun Dec 06, 2015 7:36 pm

Thanks for both of you.
Last edited by Tom49er on Tue Dec 08, 2015 4:37 am, edited 1 time in total.

Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

Re: Remove posts, topics, replies and views column

Post by Tom49er » Mon Dec 07, 2015 12:11 am

Hi,
I could not find replies and views. Where can I delete? Thanks
Last edited by Tom49er on Tue Dec 08, 2015 4:37 am, edited 1 time in total.

User avatar
Lumpy Burgertushie
Registered User
Posts: 64696
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Remove posts, topics, replies and views colum

Post by Lumpy Burgertushie » Mon Dec 07, 2015 12:56 am

those are in this section in the viewforum_body.html file:

Code: Select all

					<dd class="posts">{L_REPLIES}</dd>
					<dd class="views">{L_VIEWS}</dd>
					<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
				
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

Re: Remove posts, topics, replies and views colum

Post by Tom49er » Tue Dec 08, 2015 4:34 am

Thanks.

User avatar
Elias
Registered User
Posts: 4612
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias
Contact:

Re: Remove posts, topics, replies and views column

Post by Elias » Wed Dec 09, 2015 3:09 pm

Just a little "fix" on what Lumpy Burgertushie proposed:
To remove the replies and views:

You must find and remove:

Code: Select all

<dd class="posts">{L_REPLIES}</dd>
					<dd class="views">{L_VIEWS}</dd>
					<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
AND
Find and remove:

Code: Select all

<dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
				<dd class="views">{topicrow.VIEWS} <dfn>{L_VIEWS}</dfn></dd>
in the viewforum_body.html file.

Thanks
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

User avatar
Rhino.Freak
Registered User
Posts: 275
Joined: Wed Apr 29, 2015 8:32 am
Contact:

Re: Remove posts, topics, replies and views colum

Post by Rhino.Freak » Tue Dec 29, 2015 4:58 pm

david63 wrote:Or preferably make a "child" style then you will not have to re-apply those changes with each update/upgrade
hey what exactly does that mean?

User avatar
Lumpy Burgertushie
Registered User
Posts: 64696
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Remove posts, topics, replies and views column

Post by Lumpy Burgertushie » Tue Dec 29, 2015 10:54 pm

I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

loxawadi
Registered User
Posts: 63
Joined: Tue Jan 05, 2016 3:14 am

Re: Remove posts, topics, replies and views colum

Post by loxawadi » Sat Jan 16, 2016 8:33 am

Elias wrote:Here try this out:

Open /styles/prosilver/template/forumlist_body.html

Find and remove:

Code: Select all

<dd class="topics">{forumrow.TOPICS} <dfn>{L_TOPICS}</dfn></dd>
					<dd class="posts">{forumrow.POSTS} <dfn>{L_POSTS}</dfn></dd>
Also, find and remove:

Code: Select all

<dd class="topics">{L_TOPICS}</dd>
                  <dd class="posts">{L_POSTS}</dd>
I just tried it out and it worked fine.
Thank for your help.

It worked well, but how can i extend all the information of the Last post column full to capture all empty space due to these above items removed.
forum-list.png
Thank you

mark5228
Registered User
Posts: 58
Joined: Thu May 14, 2015 1:07 pm

Re: Remove posts, topics, replies and views colum

Post by mark5228 » Sun Jan 15, 2017 12:52 pm

loxawadi wrote:
Sat Jan 16, 2016 8:33 am
It worked well, but how can i extend all the information of the Last post column full to capture all empty space due to these above items removed.
I have this issue too i would like the last post column to move futher to the right to allow more space for subfolders

Locked

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

Who is online

Users browsing this forum: No registered users and 9 guests