Hi,
I have top stats at the bottom of index page.
How can I put it on top, after the mod Welcome?
Top stats on top
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Top stats on top
Sure, just take a look at the code in index_body.html and move the code per our wish.
Board rules! No PM support
- Nully
- Donator
- Posts: 258
- Joined: 15 Mar 2010, 00:03
- BBCodes: 10
- Favourite MOD: Radios
- Location: France > Bulgaria
- Contact:
Top stats on top
I don't know where and what to move (sorry).
On index_body.html I have
On index_body.html I have
Code: Select all
<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
<!-- INCLUDE forumlist_body.html -->
<!-- IF S_TSRAT_ENABLE -->
<!-- INCLUDE recent_active_body.html -->
<!-- ENDIF -->
<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and not S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
<!-- 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 -->
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Top stats on top
You want it to appear right after the welcome mod.
Then identify the code for the welcome mod. You can do this by reading the file.
Second step is to identify the top stats code. You do this by reading the file.
Its pretty obvious (search for top_stats)
When you find it you just cut it and paste it after the code you identified.
I have faith in you.
You can do it
Then identify the code for the welcome mod. You can do this by reading the file.
Second step is to identify the top stats code. You do this by reading the file.
Its pretty obvious (search for top_stats)
When you find it you just cut it and paste it after the code you identified.
I have faith in you.
You can do it
Board rules! No PM support
- Nully
- Donator
- Posts: 258
- Joined: 15 Mar 2010, 00:03
- BBCodes: 10
- Favourite MOD: Radios
- Location: France > Bulgaria
- Contact:
Top stats on top
For me it's not obvious
I'm testing locally on my computer :
There is a problem. All forums have disappeared !
Edit
Just moving INCLUDE forumlist_body.html, it seems ok.
I'll try online tomorrow.
I'm testing locally on my computer :
Code: Select all
<span class="corners-bottom"><span></span></span></div></div>
<!-- ENDIF -->
<!-- IF S_TSRAT_ENABLE -->
<!-- INCLUDE recent_active_body.html -->
<!-- ENDIF -->
<!-- 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 -->
<!-- IF U_MCP --><p>[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ENDIF -->
Edit
Just moving INCLUDE forumlist_body.html, it seems ok.
Code: Select all
<!-- INCLUDE top_stats_body.html -->
<!-- ENDIF -->
<!-- INCLUDE forumlist_body.html -->
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
- Nully
- Donator
- Posts: 258
- Joined: 15 Mar 2010, 00:03
- BBCodes: 10
- Favourite MOD: Radios
- Location: France > Bulgaria
- Contact:
Top stats on top
Hello,
it seems to work (I say it seems, because I'm never sure)
I made the test as administrator with mChat and as new user without mChat. Everybody can see Top Stats on top.
Thanks Stoker.
it seems to work (I say it seems, because I'm never sure)
Code: Select all
<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
<!-- IF S_TSRAT_ENABLE -->
<!-- INCLUDE recent_active_body.html -->
<!-- ENDIF -->
<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and not S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
<!-- 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 -->
<!-- INCLUDE forumlist_body.html -->
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
Thanks Stoker.
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Top stats on top
Board rules! No PM support