This section contains detailed articles elaborating on some of the common issues phpBB users encounter while using the product. Articles submitted by members of the community are checked for accuracy by the relevant phpBB Team. If you do not find the answer to your question here, we recommend looking through the Support Section as well as using the Site Wide Search.

Remove 'View Topic' and 'View Forum' From Titles

Description: This article describes the process required to remove "View Topic" and "View Forum" from your board titles.

In Categories:

Link to this article: Select All
[url=https://www.phpbb.com/support/docs/en/3.3/kb/article/remove-view-topic-and-view-forum-from-titles/]Knowledge Base - Remove 'View Topic' and 'View Forum' From Titles[/url]

For various reasons, you may decide you want to remove the words "View Topic" and "View Forum" from your board's titles. Regardless of the reason, it's a rather simple process -- two edits total.

First, open viewforum.php and find the following:

Code: Select all

page_header($user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name'], true, $forum_id);

Replace this code with:

Code: Select all

page_header($forum_data['forum_name'], true, $forum_id);

Next, save viewforum.php, and open viewtopic.php. Find the following:

Code: Select all

page_header($user->lang['VIEW_TOPIC'] . ' - ' . $topic_data['topic_title'], true, $forum_id);

and change it to

Code: Select all

page_header($topic_data['topic_title'], true, $forum_id);


Finally, save viewtopic.php, and, for good measure, clear your board's cache using the "Purge Cache" button on the General tab (usually the homepage) of the ACP.



20100922 - updated for phpBB 3.0.7-PL1 - t_backoff

20140527 - changed "URL" to "titles" in opening paragraph - stevemaury