Is there any way to remove the number of views for posts?
2 posters
Page 1 of 1
Re: Is there any way to remove the number of views for posts?
Hello,
Actually there is no option to disable topic views but you can do it via template editing if you are using phpBB2 or punBB.
Actually there is no option to disable topic views but you can do it via template editing if you are using phpBB2 or punBB.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Is there any way to remove the number of views for posts?
ankillien wrote:Hello,
Actually there is no option to disable topic views but you can do it via template editing if you are using phpBB2 or punBB.
Okay. Are there instructions somewhere on how to do this?
Re: Is there any way to remove the number of views for posts?
Since you're using phpBB2, you should go the template editing route since it's the best and easiest way to accomplish your task.
But for the record, removing the topic views column can be done on any forumotion board, not just on phpBB2 and punBB. What you need is advanced knowledge of javascript/DOM and the ability to think outside the box.
Now, to answer your last question. There is no instruction manual for template editing. Without some knowledge of HTML coding, playing with templates is tricky at best and disastrous at worst. If you're not comfortable doing the editing yourself, I suggest that you make a request and hope that someone will help you. Otherwise, you'll need to pay someone to make the changes to your templates.
But for the record, removing the topic views column can be done on any forumotion board, not just on phpBB2 and punBB. What you need is advanced knowledge of javascript/DOM and the ability to think outside the box.
Now, to answer your last question. There is no instruction manual for template editing. Without some knowledge of HTML coding, playing with templates is tricky at best and disastrous at worst. If you're not comfortable doing the editing yourself, I suggest that you make a request and hope that someone will help you. Otherwise, you'll need to pay someone to make the changes to your templates.
Guest- Guest
Re: Is there any way to remove the number of views for posts?
Dion wrote:Since you're using phpBB2, you should go the template editing route since it's the best and easiest way to accomplish your task.
But for the record, removing the topic views column can be done on any forumotion board, not just on phpBB2 and punBB. What you need is advanced knowledge of javascript/DOM and the ability to think outside the box.
Now, to answer your last question. There is no instruction manual for template editing. Without some knowledge of HTML coding, playing with templates is tricky at best and disastrous at worst. If you're not comfortable doing the editing yourself, I suggest that you make a request and hope that someone will help you. Otherwise, you'll need to pay someone to make the changes to your templates.
I'm pretty familiar with HTML. What area would I need to edit the template in? I'm viewing the templates but don't see which area I should try to edit for the views.
Re: Is there any way to remove the number of views for posts?
Well, the tricks that Dion is talking about require advanced knowledge of JS and DOM etc.
Here I tell you a simple way of removing topic views column.
Go to Admin CP > Display > Templates > General > topics_list_box.
Find out this part of code...
You just need to remove it. Now find out this part of code...
Remove this part too and save the changes. After saving it, hit the '+' (Publish) button to make the changes work.
Be very careful while editing the template and make sure that you've found the exact piece of code that I've shown above.
If you make any mistake, you can always restore the template by deleting the changes.
Here I tell you a simple way of removing topic views column.
Go to Admin CP > Display > Templates > General > topics_list_box.
Find out this part of code...
- Code:
<th align="center" nowrap="nowrap" width="50">&nbsp;{topics_list_box.row.L_VIEWS}&nbsp;</th>
You just need to remove it. Now find out this part of code...
- Code:
<td class="row2" align="center" valign="middle"><span class="postdetails">{topics_list_box.row.VIEWS}</span></td>
Remove this part too and save the changes. After saving it, hit the '+' (Publish) button to make the changes work.
Be very careful while editing the template and make sure that you've found the exact piece of code that I've shown above.
If you make any mistake, you can always restore the template by deleting the changes.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

» How to Hide/Delete the Number of Views in Posts
» How To Remove The Number Of Posts,Topics and Latest Posts Beside The Categories
» I want remove the number of users and posts
» How to remove replies, views, latest posts and forum image columns on forum.
» Number of views
» How To Remove The Number Of Posts,Topics and Latest Posts Beside The Categories
» I want remove the number of users and posts
» How to remove replies, views, latest posts and forum image columns on forum.
» Number of views
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum