[Snippet] Add (clickable) banned users, post and topic 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

[Snippet] Add (clickable) banned users, post and topic stats

Post by doktornotor »

Clickable Banned Users:

1/ Install Welcome on Index mod (duh!)
2/ Install Ban List Mod and enable it.
3/ Add it!

Open: index_body.html

Find:

Code: Select all

{TOTAL_POSTS} &bull; {TOTAL_TOPICS}<br />{TOTAL_USERS}<br />{NEWEST_USER}
Inline Find:

Code: Select all

{TOTAL_USERS}
Inline Add After:

Code: Select all

<!-- IF TOTAL_BANNED_USERS --> &bull; {L_BANNED_USERS} <a href="{U_BANLIST}">{TOTAL_BANNED_USERS}</a><!-- ENDIF -->
Clickable Post Stats:

1/ Install Welcome on Index mod (duh!)
2/ Install Post Stats Page
3/ Add it!

Open: index_body.html

Find:

Code: Select all

{TOTAL_POSTS} &bull; {TOTAL_TOPICS}<br />{TOTAL_USERS}<br />{NEWEST_USER}
Inline Find:

Code: Select all

{TOTAL_POSTS}
Inline Add Before:

Code: Select all

<a href="{U_POSTSTATSPAGE}">
Inline Add After:

Code: Select all

</a>
Clickable Topic Stats:

1/ Install Welcome on Index mod (duh!)
2/ Install Topic Stats Page
3/ Add it!

Open: index_body.html

Find:

Code: Select all

{TOTAL_POSTS} &bull; {TOTAL_TOPICS}<br />{TOTAL_USERS}<br />{NEWEST_USER}
Inline Find:

Code: Select all

{TOTAL_TOPICS}
Inline Add Before:

Code: Select all

<a href="{U_TOPICSTATSPAGE}">
Inline Add After:

Code: Select all

</a>
Clickable Total Members:

1/ Install Welcome on Index mod (duh!)
2/ Add it!

Open: index_body.html

Find:

Code: Select all

{TOTAL_POSTS} &bull; {TOTAL_TOPICS}<br />{TOTAL_USERS}<br />{NEWEST_USER}
Inline Find:

Code: Select all

{TOTAL_USERS}
Inline Add Before:

Code: Select all

<a href="{U_MEMBERLIST}">
Inline Add After:

Code: Select all

</a>
Enjoy. :D
Last edited by doktornotor on 23 Nov 2011, 19:55, edited 5 times in total.

[Snippet] Add banned users

Post by Terr0r »

This state in the install.xml from the MOD Ban list MOD

So what is the difference what state in the install.xml from Ban list MOD and your edits ?

Greets Terr0r

Re: [Snippet] Add (clickable) banned users, post and topic s

Post by doktornotor »

Terr0r wrote: So what is the difference what state in the install.xml from Ban list MOD and your edits ?

Greets Terr0r
Eh? This is for Welcome on Index mod. The edits in Ban list MOD are for vanilla index_body.html. (And frankly those edits are so horribly generic that they will match whatever happens with {NEWEST_USER} there, so if you install Welcome on Index first and that mod after, you will get this added to Welcome on Index and not to the statistics at the bottom of the page where it is supposed to be; <find><![CDATA[{NEWEST_USER}]]></find> is way to generic if you ask me.

Edit: Post and topic stats from here added to first post.