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

TopStats on external page

Post by Stoker »

Undo what martin told you.
Open the top stats and follow the instructions.
Do the index.php edits to your custom php file and the index_body edits to your custom html file.
Thats it.

TopStats on external page

Post by GROMOVNIK »

Done, i can see other boxes, but i got error 204 and 244 in /includes/functions_top_stats.php.

TopStats on external page

Post by Stoker »

You have to tell more about the error. I know the lines, but need to know the error.
Also, is your board without posts?

TopStats on external page

Post by GROMOVNIK »

Errors:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_top_stats.php on line 204: Division by zero
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_top_stats.php on line 244: Division by zero

No, my board have about 35000 post's.
poljoforum.rs/statistika.php

TopStats on external page

Post by Stoker »

We need some code from index.php
Open your custom page and find: $user->setup();
Add after $total_posts = $config['num_posts'];

TopStats on external page

Post by GROMOVNIK »

Done, working fine. Thank you very much. Just one more question, in table 5 most active forums, i got list, but number of posts is not matching with posts in forum, is there any error in counting or there is some other error? Thank's again.

TopStats on external page

Post by Stoker »

No, forum posts are fine. But doesnt count subforums. Only the actual forum.

Not able to reinstall

Post by prohex »

Hey guys,
I recently installed and removed Top Stats over Automod because it caused trouble

now i want to reinstall it again and it says:

Information

AutoMOD has detected this MOD is already installed and cannot proceed.

Well...

i went to prohex(dot)org/install_top_stats.php

and it says install!

I installed
and removed it again over this php file

and still i cant install it via automod

how can i fix that?

Not able to reinstall

Post by Stoker »

I dont use automod that much, but try to uninstall it completely in automod.
Running the installer only install the database changes.
Automod installs the filechanges

Not able to reinstall

Post by prohex »

i did that. that was the first thing i did.

The problem is... its not installed via automod but detected as installed