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)
-   -   Gender Stats on Forumhome Addon (https://vborg.vbsupport.ru/showthread.php?t=99974)

cooltechie 11-14-2005 08:49 PM

Quote:

Originally Posted by Renee
The Gender profilefield must be set to default!
Goto AdminCP => User Profile Field Manager => Gender => Set Default: Yes

I set it to: Yes, but No First Blank Option
Female, Male, Undisclosed are all list on the main page, but test user not included for Undisclosed. If I choose male/female, it works, but not when I change it back to Undisclosed.


Quote:

Originally Posted by Renee
Set the code on FORUMHOME Template to this:

Code:

<div class="smallfont">$vbphrase[gender_on_board]&nbsp;
<img src="images/gender/Female.gif"> $allgirls_prozent % ($allgirls)&nbsp;
<img src="images/gender/Male.gif"> $allboys_prozent % ($allboys)&nbsp;
<img src="images/gender/Undisclosed.gif"> $allzwitter_prozent % ($allzwitter)</div>


That did it!! Thanks for your help.

funinthesun 11-17-2005 10:05 PM

Stats are showing up but it still says 0 for the undisclosed option? Any ideas?

Renee 11-18-2005 07:19 AM

Quote:

Originally Posted by funinthesun
Stats are showing up but it still says 0 for the undisclosed option? Any ideas?

How did you called the undisclosed option?
undisclosed or Undisclosed?

The Chief 11-21-2005 04:27 PM

nice hack!

WNxWakko 12-18-2005 05:44 AM

After install, it seems to show those who selected female and then it shows the count of my remaining members as males. Basically it is assuming of not selected if must be male????

interceptor 12-19-2005 09:33 PM

Great,I like it!!

bada_bing 03-23-2006 06:53 PM

Will this work on vb 3.5.4 ?

Harry72 03-25-2006 06:43 AM

<-- Klicked install. Thx a lot for this cool hack. :banana:

@ bada bing: It works without any error on 3.5.3. It should also work with 3.5.4.

Hornstar 03-25-2006 07:03 AM

cool, thats something interesting.

does this add many queries? if so how many, Thanks

Invalid ID 05-03-2006 04:51 PM

I created a Multiple-Selection Checkbox for male, female and Undisclosed.

Acted upon the steps given in the gender_stats_english, but still there's no result.

May I know why?

Thanks


All times are GMT. The time now is 11:11 AM.

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.01042 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
  • (1)bbcode_code_printable
  • (3)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