vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Username (https://vborg.vbsupport.ru/showthread.php?t=109594)

sybarites 03-06-2006 06:46 AM

Username
 
Is it possible to have a username where the user enters their first name into a box then their second name and it then Merges the two together to make a username and auto capitalizes it.

Thanks

merk 03-06-2006 08:18 AM

Yes it is possible :p

Where? Registration Page?

sybarites 03-06-2006 10:29 AM

Yes the registration page.

merk 03-06-2006 10:41 AM

My advice would be to split the username field into 2 fields (in the templates), naming them appropriately like username_firstname, username_lastname - then in the initial registration hook for processing the submission, do your processing on the fields, then set $vbulletin->GPC['username'] to the processed result. (so it appears to have come from user input, but is processed)

I do this for thread titles, relying on other inputs (other fields), i then set the $vbulletin->GPC['subject'] to the title i want, overriding what they wrote in the title field (if need be)

I hope i made sense :)

sybarites 03-06-2006 10:42 AM

Sorry I am completely new to this could you please give me some detailed instructions how and what to do.

Thank You so much

merk 03-06-2006 11:16 AM

Sorry mate, I dont have time to look into it any furthur than that. Hopefully someone else can guide you.

Alternatively, you could ask in the requests forum, maybe someone can make it for you.

Marco van Herwaarden 03-07-2006 08:00 AM

Moved to requests.

sybarites 05-24-2006 09:51 AM

Anyone!


All times are GMT. The time now is 07:18 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.01047 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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