The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
Yes it is possible
Where? Registration Page? |
#3
|
|||
|
|||
Yes the registration page.
|
#4
|
|||
|
|||
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 |
#5
|
|||
|
|||
Sorry I am completely new to this could you please give me some detailed instructions how and what to do.
Thank You so much |
#6
|
|||
|
|||
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. |
#7
|
|||
|
|||
Moved to requests.
|
#8
|
|||
|
|||
Anyone!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|