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)

Bounce 11-13-2005 06:26 PM

Pretty good, is there a hack that makes them fill in there gender in there usercp ??

StarBuG 11-13-2005 07:58 PM

Quote:

Originally Posted by hIBEES
Pretty good, is there a hack that makes them fill in there gender in there usercp ??

Hi

Thank you for this hack.

2 Things though

In your install instructions (both) you forgot class="smallfont" for the femail div tag.

And a question.

Would it be possible to make this hack fully phrased?
I use a multilanguage forum and I would like to have the gender option in the profile also phrased so I can offer a german description for my german users.

Would be nice

[high]* StarBuG clicks install[/high]

cooltechie 11-13-2005 08:59 PM

*clicks install*

I have an existing test user, but it doesn't include the stat. Does each user have to select it before it appears? Also, how can I put it all in one row instead of three rows? Thanks!!

Bounce 11-14-2005 03:54 PM

Quote:

Originally Posted by cooltechie
Does each user have to select it before it appears?

yes they do, althou they are now required at registration

Loki12 11-14-2005 05:46 PM

Quote:

Originally Posted by Loki12
How can I get the female percentage on the forumhome to show only 2 decimals? Currently it is showing 3, whilst the other two show 2 decimals.

Bump

Renee 11-14-2005 06:45 PM

Quote:

Originally Posted by StarBuG
In your install instructions (both) you forgot class="smallfont" for the femail div tag.

Changed :)

Quote:

Originally Posted by StarBuG
Would it be possible to make this hack fully phrased?
I use a multilanguage forum and I would like to have the gender option in the profile also phrased so I can offer a german description for my german users.

If you mean the "Female" "Male" Description, that can unfortunately just be in one language, have a multilingual board too :ermm:

Renee 11-14-2005 06:49 PM

Quote:

Originally Posted by cooltechie
I have an existing test user, but it doesn't include the stat. Does each user have to select it before it appears?

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

Quote:

Originally Posted by cooltechie
Also, how can I put it all in one row instead of three rows? Thanks!!

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>


Lea Verou 11-14-2005 07:30 PM

Quote:

Originally Posted by Renee
If you mean the "Female" "Male" Description, that can unfortunately just be in one language, have a multilingual board too :ermm:


Nope, that's not correct. Just add 3 phrases: gender_male, gender_female, gender_undisclosed. Then in the template put instead of the words $vphrase[gender_male], $vbphrase[gender_male], $vbphrase[gender_undisclosed] ;)

edit: Oh you mean in the profile fields? In that case you're right :(

Lea Verou 11-14-2005 07:32 PM

Quote:

Originally Posted by Michelle
Nope, that's not correct. Just add 3 phrases: gender_male, gender_female, gender_undisclosed. Then in the template put instead of the words $vphrase[gender_male], $vbphrase[gender_male], $vbphrase[gender_undisclosed] ;)

edit: Oh you mean in the profile fields? In that case you're right :(

BTW Renee I just saw your site!!!!!
I love it!!!!! w00t!!!
Those kitties are soooo cute!

Renee 11-14-2005 07:48 PM

Quote:

Originally Posted by Michelle
edit: Oh you mean in the profile fields? In that case you're right :(

Yes, this I mean.
But I seen now it gives a hack for that you can use phrases in profilefields:
https://vborg.vbsupport.ru/showthread.php?t=98904

Quote:

Originally Posted by Michelle
BTW Renee I just saw your site!!!!!
I love it!!!!! w00t!!!
Those kitties are soooo cute!

Thank you :) That's my babies :D

edit: You have a nice signature :D


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.01175 seconds
  • Memory Usage 1,748KB
  • 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
  • (11)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