The forum of the forums
Welcome on the Forumotion Support Forum.

To take full advantage of everything offered by our forum, please log in if you are already a member or join our community if you're not yet....



Create a free forum like this one.
Deleting columns "Topics" and "messages" 5 5 1

Deleting columns "Topics" and "messages"

View previous topic View next topic Go down

Deleting columns "Topics" and "messages"

Post by Buttercup on November 23rd 2010, 10: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.

This tutorial was written by the Staff of the Forum Forum,
And in particular Toto456 and translated by MrMario.

No reproduction possible without our consent, in accordance with article L122-1 of the ICC.


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

----------------------------

General Rules | FAQ | Tips and Tricks
Please provide your forum URL for appearance problems



Buttercup
Administrator
Administrator

Female
Posts: 8456
Language: French, English
Points: 8600
Join date: 2007-09-04

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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