The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Maths Question
In forumhome_forumbit_level2_post
We have: <li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li> <li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li> Is it possible to create a Ratio score. Essentially if a forum has 50 threads and 400 posts then the post to thread ratio is 8 So could we echo: Threads: 50 Posts: 400 Ratio: 8 This is just a simplified version of what I want to do, but essentially x={vb:raw forum.replycount} / {vb:raw forum.threadcount} Any suggestions please, ? thanks |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|