MyBB Hacks

Full Version: field AVERAGE value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is it possible to calculate the AVERAGE value of a custom field using XThreads?

i'm looking to create a site (based on myBB) about car's fuel consumption. Any user must input data about fuel consumption (like km or miles, the price of the refuel, the driving conditions etc). So the site calculates the car's consumption and helps to manage the vehicle's costs.

Do you have a plan about this?
Is it possible to do this using XThreads or it isn't?

thanks for the support
(11-23-2014 08:59 PM)tempo Wrote: [ -> ]is it possible to calculate the AVERAGE value of a custom field using XThreads?

i'm looking to create a site (based on myBB) about car's fuel consumption. Any user must input data about fuel consumption (like km or miles, the price of the refuel, the driving conditions etc). So the site calculates the car's consumption and helps to manage the vehicle's costs.

Do you have a plan about this?
Is it possible to do this using XThreads or it isn't?

thanks for the support

use php in template.
Maybe try this thread :  http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=1

It isnt exactly what you want, but it is very interesting.
thanks for the answers but the main question is: is it possible to calculate the AVERAGE value of a custom field using XThreads?
My whole post was about that. Calculating the average of a group of fields .....
Reference URL's