Topic Types in Viewforum

Tips & Tricks to use on your phpBB3 Forum.
User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm
Your Forum/Website URL: http://
Location: UK
Contact:

Topic Types in Viewforum

Postby 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.
Image

Image

Disable adblock

This site is supported by ads and donations.
If you see this text you are blocking our ads.
Please consider to support the site.


Return to “PhpBB3 Tips & Tricks”



Who is online

Users browsing this forum: Exabot and 2 guests