The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Deleting columns "Topics" and "messages"

Go down

Tutorial Deleting columns "Topics" and "messages"

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

Deleting columns "Topics" and "messages"



Deleting columns "Topics" and "messages" 09615172706First and foremost, you must:
- Be the founder of the forum,
- Be on phpBB2,
- Have a basic knowledge of HTML, and templates.

Deleting columns "Topics" and "messages" 09615172706 Tutorial effects
Instead of having a traditional appearance of the forum:
Deleting columns "Topics" and "messages" Tuto110

Topics and messages will appear as follows:
Deleting columns "Topics" and "messages" Tuto_210

Deleting columns "Topics" and "messages" 09615172706 Changing templates

Administration Panel Deleting columns "Topics" and "messages" 16-arr10 DisplayDeleting columns "Topics" and "messages" 16-arr10 Templates Deleting columns "Topics" and "messages" 16-arr10 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 Deleting columns "Topics" and "messages" New_window
And if you're satisfied, publish.



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

Male Posts : 16217
Reputation : 1831
Language : French, English

Back to top Go down

Back to top

- Similar topics

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