vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Average age in forumhome (https://vborg.vbsupport.ru/showthread.php?t=99283)

Lea Verou 02-19-2006 07:53 PM

did you solve the problem?

El Barto 02-19-2006 08:16 PM

Yes, i did at first place "Average Age: $avg_age" above if.

alfaowner 02-19-2006 09:58 PM

works well, thanks

yowen 02-23-2006 01:03 AM

It's not displaying anything for me...

this is what I see: "Average Age: "

I upgraded from 3.0.0 RC4 and my forumhome template does show up (in admincp home) as one of the templates that has been updated. But I cant find anything in there that would cause this code not to work, I just put it in the code right after the member count

btw. This is on a password protected test forum, not the one listed in my profile.

PJSkiboy 02-23-2006 09:35 AM

Excellent little addition.

I have one forum member (oldest guy on the forums) always saying everyone is so young, yada yada yada....

Now he can eat some humble pie. :D

Thanks a ton.

Lea Verou 02-23-2006 02:29 PM

Is the plugin enabled yowen?

yowen 02-25-2006 04:55 PM

yes it is.

Pagandream 04-02-2006 07:51 AM

Hi,

thx for this hack? But one question, how does it calculate the age? In my forum 50 % doesn't have fill out her age, coz it not necessary for getting registered. Does it only use those with an age in the profile or does it use all member?

For example you have 4 Members, all are 20 years old but only 3 have fill out their age, so will it calculate 60:3 = 20 or 60:4=15

Sorry for my bad english

Lea Verou 04-02-2006 07:53 AM

I calculates from all members that have entered a date :)

dutchbb 04-30-2006 06:31 PM

Quote:

Originally Posted by Julie
Hm, funny little thing this :D Thanks!

*installs*

Unfortunatly a funny little thing that adds 1 query, and imho, that's not really worth it.


All times are GMT. The time now is 11:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01072 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete