vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Statistics Modifications - Age And Gender Demographics (https://vborg.vbsupport.ru/showthread.php?t=189175)

Hornstar 08-28-2008 04:21 AM

Thats pretty cool ^^ thanks for sharing.

What would an example of the profile filed for gender setting be?

abrecher 08-28-2008 05:24 AM

Very nice, thanks for your contribution!! It would be nice to have a link in stats in Admincp.

Jafo232 08-28-2008 05:31 AM

Quote:

Originally Posted by hornstar1337 (Post 1608734)
Thats pretty cool ^^ thanks for sharing.

What would an example of the profile filed for gender setting be?

Umm Gender? Male Female Undisclosed..

PGAmerica 08-28-2008 03:35 PM

This is working nicely, thank you.

Question. How do I add a link to "/forums/misc.php?do=demographics_report" to my navbar and only allow usergroups that have access in the ACP to see the link?

Jafo232 08-28-2008 03:59 PM

I think you need to search the is_memberof template function..

PGAmerica 08-28-2008 04:31 PM

I just want to add a link to my navbar and have it appear only to those usergroups that I have selected in the "SK Demographics" settings.

Also, it would be nice if the demographics it reports also have links that allow me to list the users that fall into each demographic.

Doctor Death 08-28-2008 10:52 PM

Got this series of error messages after I turned on the gender field....

Quote:

Database error in vBulletin 3.7.2:

Invalid SQL:
SELECT count(*) as count FROM vywhxxxh_userfield where fieldGender = 'Male';

MySQL Error : Unknown column 'fieldGender' in 'where clause'
Error Number : 1054
Request Date : Thursday, August 28th 2008 @ 07:50:34 PM
Error Date : Thursday, August 28th 2008 @ 07:50:34 PM
Script : http://www.xxxxx.com/forums/misc.php...raphics_report
Referrer : http://www.xxxxx.com/forums/
IP Address : 70.111.71.189
Username : xxxxxxxx
Classname : vb_database
MySQL Version : 4.1.22-standard

steven s 08-29-2008 12:37 AM

Quote:

Originally Posted by Jafo232 (Post 1607840)
How do you know you only have one member over 70 would be my first question..

I looked at all the records of user.birthday.

ThorstenA 08-30-2008 11:29 AM

Suggestions:
- try implementing it without additional files
- use build-in statistic functions to show graphs like on admincp>post statistics.

Doctor Death 08-30-2008 12:55 PM

Quote:

Originally Posted by Doctor Death (Post 1609437)
Got this series of error messages after I turned on the gender field....


MySQL Version : 4.1.22-standard

Any idea on how to solve this?


All times are GMT. The time now is 01:54 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.01144 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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