Page 1 of 2

View topstats in other page? Thread page...

Posted: 20 Mar 2012, 06:23
by blablabla2
Hi its cind of emergancy...
I see that this site will shut down in 12 days.

Anyways i want topstats in the viewforum.php?f=2
Instead of board index.

Isnt there a code for that so i just can copy it ot overall_head.hmtl ?

Many thanks!

View topstats in other page? Thread page...

Posted: 20 Mar 2012, 07:52
by Stoker
Just do the index_body.html edit on viewforum_body.html instead.

View topstats in other page? Thread page...

Posted: 20 Mar 2012, 13:29
by blablabla2
Ok gonna try it later... Need to sleep now been up trying this for 10 hours...

Tack så mycket!!! Hoppas det kommer funka ( Hope it will work )

View topstats in other page? Thread page...

Posted: 21 Mar 2012, 02:40
by blablabla2
Ok, i didnt quit get you.
I copied this code from index_body.html

Code: Select all

<!-- IF S_TSRAT_ENABLE -->
<!-- INCLUDE recent_active_body.html -->
<!-- ENDIF -->
<!-- INCLUDE forumlist_body.html -->
<!-- IF S_TSMVT_ENABLE or S_TSMRT_ENABLE or S_TSMAU_ENABLE or S_TSMAF_ENABLE or S_TSLVB_ENABLE or S_TSLRU_ENABLE -->
<!-- INCLUDE top_stats_body.html -->
<!-- ENDIF -->
And put it viewforum_body.html some where random ( where i know i can put it ) But nothing happens.
:(

View topstats in other page? Thread page...

Posted: 21 Mar 2012, 02:51
by martin123456
Find:

Code: Select all

<!-- INCLUDE forumlist_body.html -->
Add before:

Code: Select all

<!-- IF S_TSRAT_ENABLE -->
<!-- INCLUDE recent_active_body.html -->
<!-- ENDIF -->
Add after <!-- INCLUDE forumlist_body.html -->

Code: Select all

<!-- IF S_TSMVT_ENABLE or S_TSMRT_ENABLE or S_TSMAU_ENABLE or S_TSMAF_ENABLE or S_TSLVB_ENABLE or S_TSLRU_ENABLE -->
<!-- INCLUDE top_stats_body.html -->
<!-- ENDIF -->

View topstats in other page? Thread page...

Posted: 21 Mar 2012, 03:36
by blablabla2
@ Bl4d3 x.

No doesnt work, so wierd...

View topstats in other page? Thread page...

Posted: 21 Mar 2012, 03:55
by martin123456
tested it too and its a no go.

View topstats in other page? Thread page...

Posted: 21 Mar 2012, 07:03
by Stoker
You will also have to move the index.php edit to viewforum.php

View topstats in other page? Thread page...

Posted: 21 Mar 2012, 13:58
by blablabla2
Stoker can u be moer exact what to change?

View topstats in other page? Thread page...

Posted: 21 Mar 2012, 15:29
by martin123456
Find:

Code: Select all

<!-- INCLUDE forumlist_body.html -->
Add before:

Code: Select all

<!-- IF S_TSRAT_ENABLE -->
<!-- INCLUDE recent_active_body.html -->
<!-- ENDIF -->
Add after <!-- INCLUDE forumlist_body.html -->

Code: Select all

<!-- IF S_TSMVT_ENABLE or S_TSMRT_ENABLE or S_TSMAU_ENABLE or S_TSMAF_ENABLE or S_TSLVB_ENABLE or S_TSLRU_ENABLE -->
<!-- INCLUDE top_stats_body.html -->
<!-- ENDIF -->
Open viewforum.php
Find:

Code: Select all

WAIT ONE IT GIVES DEBUG ERROR
Add after:

Code: Select all

//-- mod: Top Stats ---------------------------------------------------------//
	include($phpbb_root_path . 'includes/functions_top_stats.' . $phpEx);
//-- end: Top Stats ---------------------------------------------------------//