Deleting columns "Topics" and "messages"

Go down

Tutorial Deleting columns "Topics" and "messages"

Post by Shadow on November 23rd 2010, 11:36 am

Deleting columns "Topics" and "messages"



First and foremost, you must:
- Be the founder of the forum,
- Be on phpBB2,
- Have a basic knowledge of HTML, and templates.

Tutorial effects
Instead of having a traditional appearance of the forum:


Topics and messages will appear as follows:


Changing templates

Administration Panel Display Templates General
Edit template index_box

1. Locate:
Code:
 <th nowrap="nowrap" width="50">{L_TOPICS}</th>
 <th nowrap="nowrap" width="50">{L_POSTS}</th>
Delete it.

2. Locate:
Code:
 <td class="row3" align="center" valign="middle" height="50">
 <span class="gensmall">{catrow.forumrow.TOPICS}</span>
 </td>
 <td class="row2" align="center" valign="middle" height="50">
 <span class="gensmall">{catrow.forumrow.POSTS}</span>
 </td>
Delete it.

3. Locate:
Code:
<h{catrow.forumrow.LEVEL} class="hierarchy">
 <span class="forumlink">
 <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>

 </span>
 </h{catrow.forumrow.LEVEL}>

Replace with:
Code:
<table width="100%"><tbody><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
 <span class="forumlink">
 <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>

 </span>
 </h{catrow.forumrow.LEVEL}></td><td style="padding-left: 40px; text-align: right;" class="gensmall">{catrow.forumrow.POSTS} messages in {catrow.forumrow.TOPICS} topics.</td></tr></tbody></table>


Check by clicking Pending
And if you're satisfied, publish.



Last edited by Typlo on November 23rd 2010, 11:54 am; edited 1 time in total
avatar
Shadow
Administrator
Administrator

Male Posts : 16195
Reputation : 1791
Language : French, English

https://help.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum