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

Download and support for PhpBB3 Welcome On Index
Locked
User avatar
doktornotor
BBCoder IV
BBCoder IV
Posts: 167
Joined: 14 Sep 2011, 23:20
BBCodes: 30
Favourite MOD: Thanks for Posts
Contact:

[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, 21:55, edited 5 times in total.
Support requests via PM go straight to /dev/null!
User avatar
Terr0r
BBCoder V
BBCoder V
Posts: 339
Joined: 04 May 2011, 00:47
BBCodes: 100
Location: The Netherlands
Contact:

[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
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look here
User avatar
doktornotor
BBCoder IV
BBCoder IV
Posts: 167
Joined: 14 Sep 2011, 23:20
BBCodes: 30
Favourite MOD: Thanks for Posts
Contact:

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.
Support requests via PM go straight to /dev/null!
Locked