In phpBB's core, the code that shows how many times a topic has been viewed is not available for topics by default. So, you will need to edit the core files. In other words, you will have to do this every time you update. But don't worry, it won't even take a minute.
To do this, go to the root directory where you installed phpBB. Find the viewtopic.php file there and open it.
Then find the following line, probably on line 786.
Code: Select all
'TOPIC_POSTER' => $topic_data['topic_poster'],
Code: Select all
'VIEWS' => $topic_data['topic_views'],
{VIEWS}
anywhere in /template/viewtopic_body.html file of your style. For example, you can use this option if want to create a special topic title.Do you think it is necessary to do this in topics? What do you think is the best type of use?