vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   user title per gender (https://vborg.vbsupport.ru/showthread.php?t=148142)

almightyone 05-26-2007 12:56 AM

user title per gender
 
guess it would need to be built off a gender hack but could a hack be done to allow user titles based on gender or does this exist and I do not see it anywhere My members kinda requested this so the females can have titles that fit them more for basic titles (i do not like to allow all my members to use custom titles)

kellogs 07-19-2007 08:40 AM

I am looking for the same hack too ...

G0F0RBR0KE 07-19-2007 09:25 AM

How to create it.

Go to ACP and find, "User Profile Fields." Click on "Add New User Profield Field" and click leave it as "Single-Line Text Box ." Hit "Continue"

Title: Gender
Description: Indiciate if user is a male or female.

Than click save

Now, edit the template

Go to Default Style>Edit Template>Postbit Template>Postbit_Legacy and Postbit

Find

Code:

<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
Below, Add
Code:

$post[fieldx]
replace the "x" with the field number.

kellogs 07-20-2007 04:22 AM

Hi EvilAkuma,

I am afraid you have understood it wrongly. I have the postbit setup to show the Gender M or F.

Now I would like to show a set of user title based on their gender. example Female user's user title based on more feminine title whereas Male user's title based on something else

deezelpope 07-20-2007 08:20 AM

Create two different usergroups with usertitles.:)

kellogs 07-21-2007 11:13 AM

How do i automatically assigned the signed up users to the correct user group?

Right now the gender has been setup Male or Female

Thanks
Kellogs


All times are GMT. The time now is 09:46 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.00939 seconds
  • Memory Usage 1,716KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete