The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to populate the register.php username using a post form?
Hello,
I have a form that in which I use a POST method to transmit the $desired_username I would like to use this $desired_username value to populate the username field in register.php I have been stuck for hours and can't understand how it should be done Thanks in advance Ludo |
#2
|
||||
|
||||
Create a plugin and add your code under the register_form_complete hook.
Assign your desired name to the $username variable. |
#3
|
|||
|
|||
I simply edited register.php after finding the vbulletin input cleaner. I was not aware that the $_POST array was not available in VB.
Thanks |
#4
|
||||
|
||||
it's not a good idea to edit files like that since any changes will be over written when you or someone else updates to a new version. It's very hard to keep track of modifications that way too. This is one reason why we have hooks in the vbulletin files.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|