MyBB Community Forums
remove the view count field - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: remove the view count field (/thread-210121.html)



remove the view count field - metulburr - 2017-04-30

I would like to remove the view count field from view. It is totally useless due to counting guests.....which could include bots, spam, and trolls purposely trying to increase your view count (for example). 

And i currently have a troll that finds it humorous to have a bot increase my view count on a thread.


RE: remove the view count field - .m. - 2017-04-30

forumdisplay_threadlist template
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>

forumdisplay_thread template
<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>

you can remove above two code segments and adjust columns alignment display (width % / colspan)
instead of removing the columns completely, you may just remove the variables content (by keeping td cells code)

Edit: replies here might be helpful


RE: remove the view count field - metulburr - 2017-04-30

thanks again for the help.

is there actually a way to disable guest from increasing the counter?