vForums Support > Programming & Coding :: Database of Codes/Hacks/Mods :: > Simple 'Total Posts Per Member'

Simple 'Total Posts Per Member' - Posted By Michael (wrighty) on 27th Apr 08 at 1:09pm
This code will create a NUMBER that shows how many posts there are per Member.

So if you have 10 posts, and 5 Member. This would show: 2.

<script>document.write(parseInt({total_posts} / {total_members}));</script>

To use do the following:
Image => Info Center Template

Past where you want the number to show. eg:

Total Posts Per Member: <script>document.write(parseInt({total_posts} / {total_members}));</script>

Re: Simple 'Total Posts Per Member' - Posted By ashkir (ashkir) on 29th Jul 08 at 12:39am
Tip: In use of the info center template change the & gt; to > or the info center template will break. :]