vForums Support Banner Image



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: View Topic - Simple 'Total Posts Per Member'
Printable View
Wrighty
Very Senior Member
*****

[Avatar]

Posts: 3,269
Status: Offline
Gender: Male
Joined: 16th Dec 2007
Reputation: 16%  



Simple 'Total Posts Per Member' (27th Apr 08 at 2: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>
Back to Top - Link to Post - Last edit: 29th Jul 08 at 8:40am by Wrighty

Image
Ash.
Full Member
***

[Avatar]

Posts: 477
Status: Offline
Joined: 5th Jan 2008
Reputation: 11%  



Re: Simple 'Total Posts Per Member' (29th Jul 08 at 1:39am)
Tip: In use of the info center template change the & gt; to > or the info center template will break. :]
Back to Top - Link to Post - Last edit: 29th Jul 08 at 1:40am by Ash.

Image

Free Quality Avatars! Hotlinking Allowed!
Printable View

All times are GMT+1 :: The current time is 6:49pm
Page generated in 1.4019 seconds
with 15 Database Queries and 5 cache files
This Forum is Powered By vForums
Create a Forum for Free