Topic Types in Viewforum

Tips & Tricks to use on your phpBB3 Forum.
Post Reply
User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm

Topic Types in Viewforum

Post by LDM » Fri Oct 24, 2008 2:18 pm

This tutorial explains how to show topic types in topics list in proSilver style, just like it is in phpBB 2. So if it is sticky, it will say 'sticky' before topic title in the topic list, and the same with announcements etc.

Open file viewforum_body.html for your template, find this:

Code: Select all

<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --> 
and before it add this:

Code: Select all

<!-- IF topicrow.TOPIC_TYPE --><strong><b>{topicrow.TOPIC_TYPE}</b></strong><!-- ENDIF -->
Refresh template files in admin after uploading file.

Post Reply