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 titles vb 3.5 (https://vborg.vbsupport.ru/showthread.php?t=99266)

Jurhum 10-25-2005 08:40 AM

User titles vb 3.5
 
Ok.. I know this is possible but not sure how to go about it.

Well, as many might know, titles in Arabic for males and females differ. What I want to achieve is if the user is a female and reached this amount of posts to be given a female title equivalent to that of a male who reach the same post count. And vise versa.. i hope this is understandable.

like let say, Male Admin title is Amir (prince)
Female admin will have to be Amira for princess
and the like...

if this has been done.. i apologise for taking away from your time.

Chris M 10-25-2005 01:09 PM

You can do this with the Rank System and a modification made by amykhar as opposed to hacking the usertitle system :)

You create 2 usergroups, Male & Female: By default, you select the "Registered" usergroup to be "Male" or "Female", and then create a profile field - You then use amykhar's hack to alter the user's usergroup on registration depending on what they choose, Male or Female...

For the profile field, you make it as follows:

Title: Gender
Description: Select your Gender; Male or Female
Options: Male
Female
Set Default: No
Display Order: *Leave as is or alter to your liking*
Field Required: Yes
Field Editable by User: Only at registration
Private Field: Yes/No (whatever you want)
Field Searchable on Members List: Yes/No (whatever you want)
Show on Members List: Yes/No (whatever you want)

Now Save it :)

Now goto the User Rank Manager, and add titles that correspond to postcounts for the Male and Female usergroups :)

Chris

Jurhum 10-27-2005 03:30 AM

thnx.. i'll try that


All times are GMT. The time now is 08:08 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.01590 seconds
  • Memory Usage 1,707KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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