Remove Replies and Views columns from forum

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved

Remove Replies and Views columns from forum

Postby gauravsonline » Wed Jul 15, 2009 7:27 pm

Hi,

I want to Remove Replies and Views columns from the forums for Registered users. Also, Replies and Views columns should be visible only to Administrators.
Having done that, the view of the page should remain the same. I am working with phpBB 3.0.0 and have Board3 Portal MOD installed.

Would appreciate if you folks could help me in this task.

Best Regards,
Techie
gauravsonline
Registered User
 
Posts: 6
Joined: Wed Jul 15, 2009 7:11 pm

Re: Remove Replies and Views columns from forum

Postby gauravsonline » Thu Jul 16, 2009 5:30 am

Any help or reference to achieve this would be good help...
gauravsonline
Registered User
 
Posts: 6
Joined: Wed Jul 15, 2009 7:11 pm

Re: Remove Replies and Views columns from forum

Postby gauravsonline » Thu Jul 16, 2009 8:30 am

Any inputs on this request please???
gauravsonline
Registered User
 
Posts: 6
Joined: Wed Jul 15, 2009 7:11 pm

Re: Remove Replies and Views columns from forum

Postby gauravsonline » Thu Jul 16, 2009 8:46 am

Support Request Template
What version of phpBB are you using? phpBB 3.0.0
What is your board's URL? at home
Who do you host your board with? no one
How did you install your board? I used the download package from phpBB.com
Is your board a fresh install or a conversion? Fresh Install
Do you have any MODs installed? Yes
What MODs do you have installed? Board 3 Portal
When did your problem begin? I don't have a problem. I want help in customizing the view. I want to hide Views and Replies column on each page of the forum
Please describe your problem. I don't have a problem. I want help in customizing the view. I want to hide Views and Replies column on each page of the forum
What styles do you currently have installed? No answer given
What language(s) is your board currently using? Englist
Which database type/version are you using? MySQL 4
What is your level of experience? New to PHP and phpBB
Generated by SRT Generator ($Rev: 3036 $)
gauravsonline
Registered User
 
Posts: 6
Joined: Wed Jul 15, 2009 7:11 pm

Re: Remove Replies and Views columns from forum

Postby COD3M4ST3R-X » Thu Jul 16, 2009 10:12 am

Open:styles/prosilver/template/viewforum_body.html
Find:
Code: Select all
<dd class="posts">{L_REPLIES}</dd>

Add Before:
Code: Select all
<!-- IF U_ACP --> 

Find:
Code: Select all
<dd class="views">{L_VIEWS}</dd

Add After:
Code: Select all
<!-- ENDIF --> 

Find:
Code: Select all
<dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd

Add Before:
Code: Select all
<!-- IF U_ACP --> 

Find:
Code: Select all
<dd class="views">{topicrow.VIEWS} <dfn>{L_VIEWS}</dfn></dd

Add After:
Code: Select all
<!-- ENDIF --> 

Don,t forget to refresh your styles :)
Astrill-Best VPN for Expats
Image
“Need and struggle are what excite and inspire us.”
User avatar
COD3M4ST3R-X
Registered User
 
Posts: 2269
Joined: Sat Aug 02, 2008 5:47 am
Location: Lahore,Pakistan

Re: Remove Replies and Views columns from forum

Postby gauravsonline » Fri Jul 17, 2009 5:52 am

Hey Thanks for help. This works smoothly.
Please mark the post as closed.
gauravsonline
Registered User
 
Posts: 6
Joined: Wed Jul 15, 2009 7:11 pm


Return to 3.0.x Support Forum

Who is online

Users browsing this forum: gwax23, kacper3355 and 86 guests