Top Stats

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Top Stats /Mchat conflict ?

Post by buio2005 »

martin123456 wrote:You only need one jquery most mods come with there own as the mod creator does not know if you have jquery installed or not so when installing a mod you need to remove the 2nd jquery that gets added.

..in fact both works on a jquery
never late to learn lol

thx again

Top Stats /Mchat conflict ?

Post by martin123456 »

You can have 500 mods installed you still only use 1 jquery.

Change the redirect from the first post to the last post

Post by fifahub »

Hi, when a user click on a topic in "recent active topics", he is redirected to the first post of that topic.

I want change this redirect from the first post to the last post of the the topic. Is it possible?

Thanks in advance for the help.

Change the redirect from the first post to the last post

Post by Stoker »

You have both option with Top Stats:
lp.png
You do not have the required permissions to view the files attached to this post.

Top stats on top

Post by Nully »

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

Post by Stoker »

Sure, just take a look at the code in index_body.html and move the code per our wish.

Top stats on top

Post by Nully »

I don't know where and what to move (sorry).
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 -->

Top stats on top

Post by Stoker »

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 ;)

Top stats on top

Post by Nully »

For me it's not obvious :?
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>[&nbsp;<a href="{U_MCP}">{L_MCP}</a>&nbsp;]</p><!-- ENDIF -->
There is a problem. All forums have disappeared !

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 -->
I'll try online tomorrow.

Top stats on top

Post by Stoker »

Let me know how it goes.