The forum of the forums
Welcome to the Official Support Forum of Forumotion!

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've not yet.



Create a free forum like this one.

Deleting columns "Topics" and "messages"

View previous topic View next topic Go down

Deleting columns "Topics" and "messages"

Post by Leviosa 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


No help without your forum url
No support via private message



Leviosa
Administrator
Administrator

Female Posts : 15382
Reputation : 1563
Language : French, English

http://help.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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