WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Solved Stat and number for topic Sun Apr 15, 2012 12:01 am

KiD CaTz

KiD CaTz
Registered Member
Registered Member
i see in this post http://www.webartzforum.com/t2886-how-can-i-do-the-stats-like-this for Phpbb2.

how i can make it on PunBB?

2Solved Re: Stat and number for topic Wed Apr 18, 2012 8:39 pm

KiD CaTz

KiD CaTz
Registered Member
Registered Member
anyone? Smile

3Solved Re: Stat and number for topic Wed Apr 18, 2012 10:16 pm

ankillien

ankillien
Administrator
Administrator
Hi,
Sorry for late reply.

Here is what you need to do:

For index page, go to index_box template and find this part...

Code:
<th class="tcl">{L_FORUM}</th>
<th class="tc2">{L_TOPICS}</th>
<th class="tc3">{L_POSTS}</th>
<th class="tcr">{L_LASTPOST}</th>

They are the table headers, replace it with this...

Code:
<th class="tcl">{L_FORUM}</th>
<th class="tc2">Stats</th>
<th class="tcr">{L_LASTPOST}</th>

Now, look for this part...

Code:
<td class="tc2">{catrow.forumrow.TOPICS}</td>
<td class="tc3">{catrow.forumrow.POSTS}</td>

and replace it with this...

Code:
<td class="tc2">Topics: {catrow.forumrow.TOPICS}<br />
Posts: {catrow.forumrow.POSTS}</td>

Now for forum display (topic list):

Go to topic_list_box template and find this part...

Code:
<th class="tcl">{L_TOPICS}</th>
<th class="tc2">{topics_list_box.row.L_REPLIES}</th>
<th class="tc3">{topics_list_box.row.L_VIEWS}</th>
<th class="tcr">{topics_list_box.row.L_LASTPOST}</th>

replace it with this...

Code:
<th class="tcl">{L_TOPICS}</th>
<th class="tc2">Stats</th>
<th class="tcr">{topics_list_box.row.L_LASTPOST}</th>

Find this part...

Code:
<th class="tcl">{L_TOPICS}</th>
<th class="tc2">{topics_list_box.row.topic.table_sticky.L_REPLIES}</th>
<th class="tc3">{topics_list_box.row.topic.table_sticky.L_VIEWS}</th>
<th class="tcr">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>

and replace it with this...

Code:
<th class="tcl">{L_TOPICS}</th>
<th class="tc2">Stats</th>
<th class="tcr">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>

Now find this...

Code:
<td class="tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.REPLIES}</td>
<td class="tc3 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.VIEWS}</td>

replace it with this...

Code:
<td class="tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">Posts: {topics_list_box.row.REPLIES}<br />
Views: {topics_list_box.row.VIEWS}</td>

Save templates and publish them.

4Solved Re: Stat and number for topic Wed Apr 18, 2012 11:12 pm

KiD CaTz

KiD CaTz
Registered Member
Registered Member
as usual, you're rock anki... thanks Very Happy Very Happy

solved woohoo1

5Solved Re: Stat and number for topic Thu Apr 19, 2012 8:43 am

ankillien

ankillien
Administrator
Administrator
Glad I could help out Very Happy

Solved | Locked

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

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