The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'd be curious to know the average age of my member base.
Would it be possible to calculate this? I would think that it would also be a good idea to discard the top and bottom 5% of ages to take into account people who fill in bogus information. |
#2
|
||||
|
||||
![]()
Here's a query that will give you the average age of your users, however it doesn't do what you said in the last paragraph:
Code:
SELECT ROUND(YEAR(NOW())-AVG(YEAR(birthday)),2) AS avgage FROM user WHERE YEAR(birthday)<>0; Actually, I think there is already a hack for this... I think it's called User Ages in CP...? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|