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)

Renee 11-02-2005 10:00 PM

Gender Stats on Forumhome Addon
 
This Hack based on the Gender Image In Postbit from tnguy3n but it can change to your Gender Options.
Instructions todo are in the gender_stats_language.txt.

Before install the plugin.xml read the gender_stats_language.txt!

For members which have 2 gender-options (like: Female + Male) take the 2_options.zip
Seen on the first picture.
For members which have 3 gender-options (like: Female + Male + Undisclosed) take the 3_options.zip.
Seen on the second picture.

For members which havn't a gender hack from first boardinstalltime get this query:
Replace fieldX with you fieldID fo gender.
Code:

UPDATE `userfield` SET `fieldX` = 'Male' WHERE `fieldX` = ''
On User Profile Field Manager the ProfileField "gender" must be "Set Default:" to Yes.

Boofo 11-03-2005 07:08 AM

Nice idea. ;)

SnowBot 11-03-2005 07:53 AM

Looks nice, will have a look later :)

DJ XtAzY 11-03-2005 08:56 AM

looks great XD

lairnoc 11-03-2005 09:01 AM

what do you mean with your fieldID in the install instructions?

Renee 11-03-2005 09:08 AM

If you going into your admincp ==> User Profile Field Manager

Replace all fieldX with the field where on my picture is field6

lairnoc 11-03-2005 09:13 AM

ah ok i think i get it first you install the original hack :)

Renee 11-03-2005 09:18 AM

No, that I link in first of the post the Original :)

Quote:

You need to have a Gender Profile field from Gender Image In Postbit.

Snake 11-03-2005 11:58 AM

Good idea! :)

GrendelKhan{TSU 11-03-2005 12:04 PM

fun!!

[high]* GrendelKhan{TSU clicks install. :)[/high]


All times are GMT. The time now is 11:06 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.01078 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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