Remove posts, topics, replies and views column

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

Remove posts, topics, replies and views column

Post by Tom49er »

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 »

I think I upload the pictures here, so some one can understand what I mean
post.jpg
reply.jpg
You do not have the required permissions to view the files attached to this post.
Last edited by Tom49er on Tue Dec 08, 2015 4:38 am, edited 1 time in total.
User avatar
Elias
Registered User
Posts: 5152
Joined: Sat Feb 25, 2006 4:31 pm
Name: Elias

Re: Remove posts, topics, replies and views colum

Post by Elias »

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
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Remove posts, topics, replies and views colum

Post by david63 »

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!

I now no longer support any of my extensions but they will start to become available here
Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

Re: Remove posts, topics, replies and views column

Post by Tom49er »

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 »

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: 69228
Joined: Mon May 02, 2005 3:11 am

Re: Remove posts, topics, replies and views colum

Post by Lumpy Burgertushie »

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>
				
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

Re: Remove posts, topics, replies and views colum

Post by Tom49er »

Thanks.
User avatar
Elias
Registered User
Posts: 5152
Joined: Sat Feb 25, 2006 4:31 pm
Name: Elias

Re: Remove posts, topics, replies and views column

Post by Elias »

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

Re: Remove posts, topics, replies and views colum

Post by Rhino.Freak »

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: 69228
Joined: Mon May 02, 2005 3:11 am

Re: Remove posts, topics, replies and views column

Post by Lumpy Burgertushie »

Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
loxawadi
Registered User
Posts: 63
Joined: Tue Jan 05, 2016 3:14 am

Re: Remove posts, topics, replies and views colum

Post by loxawadi »

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
You do not have the required permissions to view the files attached to this post.
mark5228
Registered User
Posts: 58
Joined: Thu May 14, 2015 1:07 pm

Re: Remove posts, topics, replies and views colum

Post by mark5228 »

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

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